mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add desc comments for MetricsCacheManager (#9065)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/9067/head
parent
12164248eb
commit
2e47e38b9d
|
@ -22,6 +22,7 @@ import (
|
|||
const DefaultMetricsRetention = time.Second * 5
|
||||
|
||||
// TODO(dragondriver): we can use a map to manage the metrics if there are too many kind metrics
|
||||
// MetricsCacheManager manage the cache of metrics information.
|
||||
type MetricsCacheManager struct {
|
||||
systemInfoMetrics *milvuspb.GetMetricsResponse
|
||||
systemInfoMetricsInvalid bool
|
||||
|
|
Loading…
Reference in New Issue