mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-29 06:55:27 +08:00
[skip ci] Add desc comments for GetSystemInfoMetrics (#9339)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
e03b6be678
commit
5f309f64ee
@ -86,6 +86,7 @@ func (manager *MetricsCacheManager) IsSystemInfoMetricsValid() bool {
|
||||
(time.Since(manager.systemInfoMetricsLastUpdatedTime) < retention)
|
||||
}
|
||||
|
||||
// GetSystemInfoMetrics returns the cached system information metrics.
|
||||
func (manager *MetricsCacheManager) GetSystemInfoMetrics() (*milvuspb.GetMetricsResponse, error) {
|
||||
retention := manager.GetRetention()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user