[skip ci] Refine comments in metrics (#10511)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
This commit is contained in:
edward.zeng 2021-10-23 18:15:12 +08:00 committed by GitHub
parent 5d9e4c8d3d
commit ad667beb9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)