From a6288b7208c17ad7197a61948cb4e3fe15f9bf66 Mon Sep 17 00:00:00 2001 From: Theo Brigitte Date: Fri, 21 Jun 2024 10:49:12 +0200 Subject: [PATCH] add metric labels --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 7b4f8dbb..45bf0735 100644 --- a/main.go +++ b/main.go @@ -226,7 +226,7 @@ func main() { } // Debug - metrics.ReconcileError.WithLabelValues().Add(42) + metrics.ReconcileError.WithLabelValues("cluster", "error").Add(42) setupLog.Info("starting manager") if err := mgr.Start(ctrl.SetupSignalHandler()); err != nil { setupLog.Error(err, "problem running manager")