Skip to content

Commit

Permalink
chore: better buckets for method latency (#178)
Browse files Browse the repository at this point in the history
Our method executions aren't sub 1s, so we need to adjust
  • Loading branch information
Lazar955 committed Jan 16, 2025
1 parent 22a7d06 commit 9d020c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## Unreleased

### Improvements

* [#178](https://github.com/babylonlabs-io/vigilante/pull/178) chore: better bucket range

## v0.19.4

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion metrics/btcstaking_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func newUnbondingWatcherMetrics(registry *prometheus.Registry) *UnbondingWatcher
Namespace: "vigilante",
Name: "unbonding_watcher_method_latency_seconds",
Help: "Latency in seconds",
Buckets: []float64{.001, .002, .005, .01, .025, .05, .1},
Buckets: []float64{0.3, 1, 2, 5, 10, 30, 60, 120, 180, 300},
}, []string{"method"}),
NumberOfActivationInProgress: registerer.NewGauge(prometheus.GaugeOpts{
Namespace: "vigilante",
Expand Down

0 comments on commit 9d020c0

Please sign in to comment.