From f6869b2bc1950fd6e9def1f565d498e2b4c1fb3a Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Sat, 8 Feb 2025 11:46:14 +0800 Subject: [PATCH] fix typo Signed-off-by: Ryan Leung --- client/metrics/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/metrics/metrics.go b/client/metrics/metrics.go index da7637b19be..4948fe01203 100644 --- a/client/metrics/metrics.go +++ b/client/metrics/metrics.go @@ -178,7 +178,7 @@ func initMetrics(constLabels prometheus.Labels) { Name: "circuit_breaker_count", Help: "Circuit breaker counters", ConstLabels: constLabels, - }, []string{"name", "success"}) + }, []string{"name", "event"}) } // CmdDurationXXX and CmdFailedDurationXXX are the durations of the client commands.