Fix const nameing in node/metrics

This commit is contained in:
zhengjiajin
2017-06-05 16:36:09 +08:00
parent 2510dc0ddd
commit 8c8089478e
2 changed files with 11 additions and 11 deletions

View File

@@ -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"},
)