Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
freeznet committed Sep 18, 2023
1 parent b7af239 commit 86cb05c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/monitoring/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ var (
// RegisterMetrics will register metrics with the global prometheus registry
func RegisterMetrics() {
// use new go collector
metrics.Registry.Unregister(prometheus.NewGoCollector())
metrics.Registry.MustRegister(collectors.NewGoCollector(collectors.WithGoCollections(collectors.GoRuntimeMetricsCollection)))
metrics.Registry.MustRegister(FunctionMeshControllerReconcileCount)
metrics.Registry.MustRegister(FunctionMeshControllerReconcileLatency)
Expand Down

0 comments on commit 86cb05c

Please sign in to comment.