mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
[skip ci] Refine comments in metrics (#10511)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
This commit is contained in:
parent
5d9e4c8d3d
commit
ad667beb9a
@ -160,7 +160,7 @@ var (
|
|||||||
////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////
|
||||||
// for time tick
|
// 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(
|
RootCoordInsertChannelTimeTick = prometheus.NewGaugeVec(
|
||||||
prometheus.GaugeOpts{
|
prometheus.GaugeOpts{
|
||||||
Namespace: milvusNamespace,
|
Namespace: milvusNamespace,
|
||||||
@ -169,7 +169,7 @@ var (
|
|||||||
Help: "Time tick of insert Channel in 24H",
|
Help: "Time tick of insert Channel in 24H",
|
||||||
}, []string{"vchannel"})
|
}, []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(
|
RootCoordDDChannelTimeTick = prometheus.NewGauge(
|
||||||
prometheus.GaugeOpts{
|
prometheus.GaugeOpts{
|
||||||
Namespace: milvusNamespace,
|
Namespace: milvusNamespace,
|
||||||
@ -179,7 +179,7 @@ var (
|
|||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
//RegisterRootCoord register RootCoord metrics
|
//RegisterRootCoord registers RootCoord metrics
|
||||||
func RegisterRootCoord() {
|
func RegisterRootCoord() {
|
||||||
prometheus.MustRegister(RootCoordProxyLister)
|
prometheus.MustRegister(RootCoordProxyLister)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user