mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-29 21:29:24 +00:00
Include Go version, platform, and other build info in version string
Additionally update MatchesServerVersion to only check GitVersion, GitCommit, and GitTreeState.
This commit is contained in:
@@ -46,7 +46,7 @@ var CommonMetrics = map[string][]string{
|
||||
"http_response_size_bytes": {"handler", "quantile"},
|
||||
"http_response_size_bytes_count": {"handler"},
|
||||
"http_response_size_bytes_sum": {"handler"},
|
||||
"kubernetes_build_info": {"major", "minor", "gitCommit", "gitTreeState", "gitVersion"},
|
||||
"kubernetes_build_info": {"major", "minor", "gitCommit", "gitTreeState", "gitVersion", "buildDate", "goVersion", "compiler", "platform"},
|
||||
"process_cpu_seconds_total": {},
|
||||
"process_max_fds": {},
|
||||
"process_open_fds": {},
|
||||
|
||||
Reference in New Issue
Block a user