未验证 提交 ad667beb 编写于 作者: E edward.zeng 提交者: GitHub

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

Signed-off-by: NEdward Zeng <jie.zeng@zilliz.com>
上级 5d9e4c8d
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册