Skip to content

Commit

Permalink
Fix build_info collector metric
Browse files Browse the repository at this point in the history
Signed-off-by: Saswata Mukherjee <[email protected]>
  • Loading branch information
saswatamcode committed Oct 16, 2023
1 parent 81c6df5 commit 13ff836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collectors/metrics/cmd/metrics-collector/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func (o *Options) Run() error {

metricsReg := prometheus.NewRegistry()
metricsReg.MustRegister(
version.NewCollector("metrics-collector"),
version.NewCollector("metrics_collector"),
collectors.NewGoCollector(
collectors.WithGoCollectorRuntimeMetrics(collectors.GoRuntimeMetricsRule{Matcher: regexp.MustCompile("/.*")}),
),
Expand Down

0 comments on commit 13ff836

Please sign in to comment.