Skip to content

Commit

Permalink
add metric labels
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoBrigitte committed Jun 21, 2024
1 parent 6ad2ca6 commit a6288b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit a6288b7

Please sign in to comment.