We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 542a2be commit 458e0ddCopy full SHA for 458e0dd
store/cache/metrics.go
@@ -20,7 +20,7 @@ type metrics struct {
20
}
21
22
func newMetrics(bc *AccessorCache) (*metrics, error) {
23
- metricsPrefix := fmt.Sprintf("eds_cache_%p_", bc)
+ metricsPrefix := fmt.Sprintf("eds_cache_%s_", bc.name)
24
25
evictedCounter, err := meter.Int64Counter(metricsPrefix+"evicted_counter",
26
metric.WithDescription("eds cache evicted event counter"))
0 commit comments