[skip e2e] Add comment for getSystemInfoMetrics (#15019)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/15029/head
bigsheeper 2022-01-07 17:45:56 +08:00 committed by GitHub
parent 36b9c498ab
commit a7ad3f2a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ import (
"github.com/milvus-io/milvus/internal/util/typeutil"
)
// getSystemInfoMetrics returns metrics info of QueryNode
func getSystemInfoMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest, node *QueryNode) (*milvuspb.GetMetricsResponse, error) {
usedMem := metricsinfo.GetUsedMemoryCount()
totalMem := metricsinfo.GetMemoryCount()