mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
update metric kubernetes_build_info labels from camelCase to snake_case.
This commit is contained in:
parent
2dc408abb3
commit
1bc5ed4515
@ -29,7 +29,7 @@ var (
|
||||
Help: "A metric with a constant '1' value labeled by major, minor, git version, git commit, git tree state, build date, Go version, and compiler from which Kubernetes was built, and platform on which it is running.",
|
||||
StabilityLevel: metrics.ALPHA,
|
||||
},
|
||||
[]string{"major", "minor", "gitVersion", "gitCommit", "gitTreeState", "buildDate", "goVersion", "compiler", "platform"},
|
||||
[]string{"major", "minor", "git_version", "git_commit", "git_tree_state", "build_date", "go_version", "compiler", "platform"},
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -47,12 +47,8 @@ var exceptionMetrics = []string{
|
||||
"authentication_attempts",
|
||||
"get_token_count",
|
||||
"get_token_fail_count",
|
||||
"kubernetes_build_info",
|
||||
"node_collector_evictions_number",
|
||||
|
||||
// kube-proxy
|
||||
"kubernetes_build_info",
|
||||
|
||||
// kubelet-resource-v1alpha1
|
||||
"container_cpu_usage_seconds_total",
|
||||
"node_cpu_usage_seconds_total",
|
||||
|
@ -25,7 +25,7 @@ var (
|
||||
Help: "A metric with a constant '1' value labeled by major, minor, git version, git commit, git tree state, build date, Go version, and compiler from which Kubernetes was built, and platform on which it is running.",
|
||||
StabilityLevel: ALPHA,
|
||||
},
|
||||
[]string{"major", "minor", "gitVersion", "gitCommit", "gitTreeState", "buildDate", "goVersion", "compiler", "platform"},
|
||||
[]string{"major", "minor", "git_version", "git_commit", "git_tree_state", "build_date", "go_version", "compiler", "platform"},
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user