【发布时间】:2020-09-27 11:24:06
【问题描述】:
我使用channelz调试我的gRpc服务,但我总是发现GetTopChannels返回空。
环境
- Linux 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29) x86_64 GNU/Linux
- Python gRpc 1.27.2
- Python 3.7.3
我已经尝试过https://github.com/grpc/grpc/blob/master/examples/python/debug/debug_server.py 中的官方演示,并使用evans 进行gRpc 调用。在响应中,只有{“end”: true} 返回。但其他方法是有效的,例如GetServerSockets。
【问题讨论】:
-
我将 gRpc 升级到 1.29.0,但它也不起作用。我的使用有什么问题吗?
标签: python python-3.x grpc grpc-python