| 1 |
gRPC Python Admin Interface Package |
| 2 |
=================================== |
| 3 |
|
| 4 |
Debugging gRPC library can be a complex task. There are many configurations and |
| 5 |
internal states, which will affect the behavior of the library. This Python |
| 6 |
package will be the collection of admin services that are exposing debug |
| 7 |
information. Currently, it includes: |
| 8 |
|
| 9 |
* Channel tracing metrics (grpcio-channelz) |
| 10 |
* Client Status Discovery Service (grpcio-csds) |
| 11 |
|
| 12 |
Here is a snippet to create an admin server on "localhost:50051": |
| 13 |
|
| 14 |
server = grpc.server(ThreadPoolExecutor()) |
| 15 |
port = server.add_insecure_port('localhost:50051') |
| 16 |
grpc_admin.add_admin_servicers(self._server) |
| 17 |
server.start() |
| 18 |
|
| 19 |
Welcome to explore the admin services with CLI tool "grpcdebug": |
| 20 |
https://github.com/grpc-ecosystem/grpcdebug. |
| 21 |
|
| 22 |
For any issues or suggestions, please send to |
| 23 |
https://github.com/grpc/grpc/issues. |