You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use prometheus client directly for metrics + remove go-metrics dependency
Remove use of cosmossdk.io/telemetry package which relies on go-metrics and
replace it with direct use of prometheus/client_golang. This aligns with
how CometBFT handles metrics and brings several benefits: eliminates race
conditions from go-metrics, avoids questionable maintenance of upstream
repo, removes problematic metric retention, and significantly simplifies
the metrics codebase. All beacon-kit services now use prometheus client
directly through a unified metrics.Factory interface.
Additionally, replace cosmossdk.io/store/metrics imports with a custom
storage.NoOpStoreMetrics implementation to avoid pulling in the telemetry
wrapper. While go-metrics remains as a transitive dependency
through cosmossdk.io/store/types, it is no longer used at runtime.
0 commit comments