mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Fix const nameing in node/metrics
This commit is contained in:
@@ -26,7 +26,7 @@ const (
|
||||
NodeControllerSubsystem = "node_collector"
|
||||
ZoneHealthStatisticKey = "zone_health"
|
||||
ZoneSizeKey = "zone_size"
|
||||
ZoneNoUnhealthyNodesKey = "unhealty_nodes_in_zone"
|
||||
ZoneNoUnhealthyNodesKey = "unhealthy_nodes_in_zone"
|
||||
EvictionsNumberKey = "evictions_number"
|
||||
)
|
||||
|
||||
@@ -35,7 +35,7 @@ var (
|
||||
prometheus.GaugeOpts{
|
||||
Subsystem: NodeControllerSubsystem,
|
||||
Name: ZoneHealthStatisticKey,
|
||||
Help: "Gauge measuring percentage of healty nodes per zone.",
|
||||
Help: "Gauge measuring percentage of healthy nodes per zone.",
|
||||
},
|
||||
[]string{"zone"},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user