From ad667beb9a73620c6f23b25e8fcca04ac3ff82ee Mon Sep 17 00:00:00 2001 From: "edward.zeng" Date: Sat, 23 Oct 2021 18:15:12 +0800 Subject: [PATCH] [skip ci] Refine comments in metrics (#10511) Signed-off-by: Edward Zeng --- internal/metrics/metrics.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/metrics/metrics.go b/internal/metrics/metrics.go index bc699b0779..31832484ff 100644 --- a/internal/metrics/metrics.go +++ b/internal/metrics/metrics.go @@ -160,7 +160,7 @@ var ( //////////////////////////////////////////////////////////////////////////// // for time tick - // RootCoordInsertChannelTimeTick used to count the time tick num of insert channel in 24H + // RootCoordInsertChannelTimeTick counts the time tick num of insert channel in 24H RootCoordInsertChannelTimeTick = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Namespace: milvusNamespace, @@ -169,7 +169,7 @@ var ( Help: "Time tick of insert Channel in 24H", }, []string{"vchannel"}) - // RootCoordDDChannelTimeTick used to count the time tick num of dd channel in 24H + // RootCoordDDChannelTimeTick counts the time tick num of dd channel in 24H RootCoordDDChannelTimeTick = prometheus.NewGauge( prometheus.GaugeOpts{ Namespace: milvusNamespace, @@ -179,7 +179,7 @@ var ( }) ) -//RegisterRootCoord register RootCoord metrics +//RegisterRootCoord registers RootCoord metrics func RegisterRootCoord() { prometheus.MustRegister(RootCoordProxyLister)