You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Rationale: avoid collision with Prometheus external_labels like cluster and standardize on the metric label name used to denote a Karmada member cluster across all metrics.
50
+
// Migration: use member_cluster instead across all queries and dashboards.
51
+
clusterNameLabel="cluster_name"
44
52
)
45
53
46
54
var (
47
55
// clusterReadyGauge reports if the cluster is ready.
Help: "State of the cluster(1 if ready, 0 otherwise).",
51
-
}, []string{"cluster_name"})
58
+
Help: "State of the cluster(1 if ready, 0 otherwise). [Label deprecation: cluster_name deprecated in 1.16; use member_cluster. Removal planned 1.18.]",
Help: "Duration in seconds for syncing the status of the cluster once.",
105
-
}, []string{"cluster_name"})
112
+
Help: "Duration in seconds for syncing the status of the cluster once. [Label deprecation: cluster_name deprecated in 1.16; use member_cluster. Removal planned 1.18.]",
Help: "Number of resources in the eviction queue by resource kind",
115
-
}, []string{"member_cluster", "resource_kind"})
122
+
Help: "Number of resources in the eviction queue by resource kind [Label deprecation: cluster_name deprecated in 1.16; use member_cluster. Removal planned 1.18.]",
# HELP cluster_ready_state State of the cluster(1 if ready, 0 otherwise).
56
+
# HELP cluster_ready_state State of the cluster(1 if ready, 0 otherwise). [Label deprecation: cluster_name deprecated in 1.16; use member_cluster. Removal planned 1.18.]
# HELP cluster_ready_state State of the cluster(1 if ready, 0 otherwise).
77
+
# HELP cluster_ready_state State of the cluster(1 if ready, 0 otherwise). [Label deprecation: cluster_name deprecated in 1.16; use member_cluster. Removal planned 1.18.]
# HELP cluster_node_number Number of nodes in the cluster.
113
+
# HELP cluster_node_number Number of nodes in the cluster. [Label deprecation: cluster_name deprecated in 1.16; use member_cluster. Removal planned 1.18.]
# HELP cluster_ready_node_number Number of ready nodes in the cluster.
146
+
# HELP cluster_ready_node_number Number of ready nodes in the cluster. [Label deprecation: cluster_name deprecated in 1.16; use member_cluster. Removal planned 1.18.]
# HELP cluster_memory_allocatable_bytes Allocatable cluster memory resource in bytes.
180
+
# HELP cluster_memory_allocatable_bytes Allocatable cluster memory resource in bytes. [Label deprecation: cluster_name deprecated in 1.16; use member_cluster. Removal planned 1.18.]
# HELP cluster_cpu_allocatable_number Number of allocatable CPU in the cluster.
214
+
# HELP cluster_cpu_allocatable_number Number of allocatable CPU in the cluster. [Label deprecation: cluster_name deprecated in 1.16; use member_cluster. Removal planned 1.18.]
# HELP cluster_pod_allocatable_number Number of allocatable pods in the cluster.
248
+
# HELP cluster_pod_allocatable_number Number of allocatable pods in the cluster. [Label deprecation: cluster_name deprecated in 1.16; use member_cluster. Removal planned 1.18.]
# HELP cluster_memory_allocated_bytes Allocated cluster memory resource in bytes.
282
+
# HELP cluster_memory_allocated_bytes Allocated cluster memory resource in bytes. [Label deprecation: cluster_name deprecated in 1.16; use member_cluster. Removal planned 1.18.]
# HELP cluster_cpu_allocated_number Number of allocated CPU in the cluster.
316
+
# HELP cluster_cpu_allocated_number Number of allocated CPU in the cluster. [Label deprecation: cluster_name deprecated in 1.16; use member_cluster. Removal planned 1.18.]
# HELP cluster_pod_allocated_number Number of allocated pods in the cluster.
350
+
# HELP cluster_pod_allocated_number Number of allocated pods in the cluster. [Label deprecation: cluster_name deprecated in 1.16; use member_cluster. Removal planned 1.18.]
0 commit comments