From 413e1a8155dfe887296fea3f086010ac0347e039 Mon Sep 17 00:00:00 2001 From: nathanhopp Date: Tue, 29 Nov 2022 22:04:55 -0700 Subject: [PATCH] Revert build info change --- cmd/utils/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index be5b65a566..33cc72bb27 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -1937,7 +1937,7 @@ type SetupMetricsOption func() func EnableBuildInfo(gitCommit, gitDate string) SetupMetricsOption { return func() { // register build info into metrics - metrics.NewRegisteredLabel("build_info", nil).Mark(map[string]interface{}{ + metrics.NewRegisteredLabel("build-info", nil).Mark(map[string]interface{}{ "version": params.VersionWithMeta, "git-commit": gitCommit, "git-commit-date": gitDate,