Update pkg/metrics/recorder.go

Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Ying Liu <ying.liu.lying@gmail.com>
This commit is contained in:
ying
2022-03-25 23:10:03 +08:00
committed by Ying Liu
co-authored by Stefan Prodan
parent 5547533197
commit 13483321ac
+2 -2
View File
@@ -71,8 +71,8 @@ func NewRecorder(controller string, register bool) Recorder {
analysis := prometheus.NewGaugeVec(prometheus.GaugeOpts{
Subsystem: controller,
Name: "canary_metric_analysis",
Help: "Last canary metric analysis result per different metric template",
}, []string{"name", "namespace", "metricTemplate"})
Help: "Last canary analysis result per metric",
}, []string{"name", "namespace", "metric"})
if register {
prometheus.MustRegister(info)