Skip to content

Commit

Permalink
fix metric names by removing numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
taylanisikdemir committed Nov 4, 2024
1 parent 0a51581 commit 35cc125
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/metrics/defs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2947,9 +2947,9 @@ var MetricDefs = map[ServiceIdx]map[int]metricDefinition{
GlobalRatelimiterRemovedLimits: {metricName: "global_ratelimiter_removed_limits", metricType: Histogram, buckets: GlobalRatelimiterUsageHistogram},
GlobalRatelimiterRemovedHostLimits: {metricName: "global_ratelimiter_removed_host_limits", metricType: Histogram, buckets: GlobalRatelimiterUsageHistogram},

P2PPeersCount: {metricName: "p2p_peers_count", metricType: Gauge},
P2PPeerAdded: {metricName: "p2p_peer_added", metricType: Counter},
P2PPeerRemoved: {metricName: "p2p_peer_removed", metricType: Counter},
P2PPeersCount: {metricName: "peers_count", metricType: Gauge},
P2PPeerAdded: {metricName: "peer_added", metricType: Counter},
P2PPeerRemoved: {metricName: "peer_removed", metricType: Counter},
},
History: {
TaskRequests: {metricName: "task_requests", metricType: Counter},
Expand Down

0 comments on commit 35cc125

Please sign in to comment.