mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Add todo comments in milvus getMetrics (#9437)
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
This commit is contained in:
parent
8c5f435c2d
commit
a6d72c5880
@ -15,6 +15,7 @@ class MilvusSys:
|
||||
if self.client is None:
|
||||
raise Exception(f"Connection {alias} is disconnected or nonexistent")
|
||||
|
||||
# TODO: for now it only support non_orm style API for getMetricsRequest
|
||||
with self.client._connection() as handler:
|
||||
req = milvus_types.GetMetricsRequest(request=sys_info_req)
|
||||
self.sys_info = handler._stub.GetMetrics(req, wait_for_ready=True, timeout=None)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user