diff --git a/bridge-history-api/internal/controller/metrics.go b/bridge-history-api/internal/controller/metrics.go index 6846be60a1..9036c5a8ac 100644 --- a/bridge-history-api/internal/controller/metrics.go +++ b/bridge-history-api/internal/controller/metrics.go @@ -22,14 +22,14 @@ func initCacheMetrics() *cacheMetrics { cm = &cacheMetrics{ cacheHits: promauto.NewCounterVec( prometheus.CounterOpts{ - Name: "cache_hits_total", + Name: "bridge_history_api_cache_hits_total", Help: "The total number of cache hits", }, []string{"api"}, ), cacheMisses: promauto.NewCounterVec( prometheus.CounterOpts{ - Name: "cache_misses_total", + Name: "bridge_history_api_cache_misses_total", Help: "The total number of cache misses", }, []string{"api"}, diff --git a/bridge-history-api/internal/route/route.go b/bridge-history-api/internal/route/route.go index f9fc8fe8c6..e8dae24175 100644 --- a/bridge-history-api/internal/route/route.go +++ b/bridge-history-api/internal/route/route.go @@ -22,7 +22,7 @@ func Route(router *gin.Engine, conf *config.Config, reg prometheus.Registerer) { MaxAge: 12 * time.Hour, })) - observability.Use(router, "bridge_history", reg) + observability.Use(router, "bridge_history_api", reg) r := router.Group("api/") r.POST("/txsbyhashes", controller.HistoryCtrler.PostQueryTxsByHash) diff --git a/common/version/version.go b/common/version/version.go index e976743a1e..34d01c722f 100644 --- a/common/version/version.go +++ b/common/version/version.go @@ -5,7 +5,7 @@ import ( "runtime/debug" ) -var tag = "v4.3.24" +var tag = "v4.3.25" var commit = func() string { if info, ok := debug.ReadBuildInfo(); ok {