From 80982109f070d6c54f2a43b72a03bfe9f98ff125 Mon Sep 17 00:00:00 2001 From: Lazar Date: Mon, 18 Nov 2024 18:51:15 +0100 Subject: [PATCH] change name prom --- metrics/btcstaking_tracker.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/metrics/btcstaking_tracker.go b/metrics/btcstaking_tracker.go index da1a79a..cf32a64 100644 --- a/metrics/btcstaking_tracker.go +++ b/metrics/btcstaking_tracker.go @@ -68,9 +68,9 @@ func newUnbondingWatcherMetrics(registry *prometheus.Registry) *UnbondingWatcher Help: "The total number of unbonding transactions successfully reported to Babylon node", }), MethodExecutionLatency: registerer.NewHistogramVec(prometheus.HistogramOpts{ - Namespace: "unbonding_watcher_method_latency_seconds", - Help: "Latency in seconds", - Buckets: []float64{.001, .002, .005, .01, .025, .05, .1}, + Name: "unbonding_watcher_method_latency_seconds", + Help: "Latency in seconds", + Buckets: []float64{.001, .002, .005, .01, .025, .05, .1}, }, []string{"method"}), }