add useful comment for volume stats metrics

This commit is contained in:
fengzixu 2021-11-29 17:55:47 +09:00
parent b885deffe3
commit 4a72f08a28

View File

@ -64,7 +64,7 @@ var (
volumeStatsHealthAbnormalDesc = metrics.NewDesc(
metrics.BuildFQName("", kubeletmetrics.KubeletSubsystem, kubeletmetrics.VolumeStatsHealthStatusKey),
"Volume health status. The count is either 1 or 0",
"Volume health status. The value 1 of this metrics indicates volume is unhealthy, 0 indicates the unhealthy volume",
[]string{"namespace", "persistentvolumeclaim", "volume_health_status"}, nil,
metrics.ALPHA, "")
)