未验证 提交 a6d72c58 编写于 作者: Y yanliang567 提交者: GitHub

[skip ci]Add todo comments in milvus getMetrics (#9437)

Signed-off-by: Nyanliang567 <yanliang.qiao@zilliz.com>
上级 8c5f435c
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册