[skip ci] Refine metrics comment (#9443)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
This commit is contained in:
edward.zeng 2021-10-08 13:17:14 +08:00 committed by GitHub
parent f45d96f7e9
commit bff4b801c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,19 +19,19 @@ const (
)
var (
// RootCoordProxyLister used to count the num of registered proxy nodes
// RootCoordProxyLister counts the num of registered proxy nodes
RootCoordProxyLister = prometheus.NewGaugeVec(
prometheus.GaugeOpts{
Namespace: milvusNamespace,
Subsystem: subSystemRootCoord,
Name: "list_of_proxy",
Help: "List of proxy nodes which has register with etcd",
Help: "List of proxy nodes which have registered with etcd",
}, []string{"client_id"})
////////////////////////////////////////////////////////////////////////////
// for grpc
// RootCoordCreateCollectionCounter used to count the num of calls of CreateCollection
// RootCoordCreateCollectionCounter counts the num of calls of CreateCollection
RootCoordCreateCollectionCounter = prometheus.NewCounterVec(
prometheus.CounterOpts{
Namespace: milvusNamespace,