From e2b5b5465ae07a07abdb8343af1e2a588c7c4a7d Mon Sep 17 00:00:00 2001 From: fengzixu Date: Thu, 16 Dec 2021 21:36:38 +0900 Subject: [PATCH] improve metrics comment --- pkg/kubelet/metrics/collectors/volume_stats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/metrics/collectors/volume_stats.go b/pkg/kubelet/metrics/collectors/volume_stats.go index 191c92f7c9e..5c96fcc54c1 100644 --- a/pkg/kubelet/metrics/collectors/volume_stats.go +++ b/pkg/kubelet/metrics/collectors/volume_stats.go @@ -64,7 +64,7 @@ var ( volumeStatsHealthAbnormalDesc = metrics.NewDesc( metrics.BuildFQName("", kubeletmetrics.KubeletSubsystem, kubeletmetrics.VolumeStatsHealthStatusKey), - "Volume health status. The count is either 1 or 0. 1 indicates the volume is unhealthy and 0 indicates volume is healthy", + "Volume health status. The count is either 1 or 0. When volume_health_status is abnormal, 1 indicates the volume is unhealthy, 0 indicates volume is healthy", []string{"namespace", "persistentvolumeclaim", "volume_health_status"}, nil, metrics.ALPHA, "") )