gRPC Admin

What is gRPC Admin?

It’s a convenient API to improve the usability of creating a gRPC server with admin services to expose states in the gRPC library.

Design DocumentgRPC Admin Interface

Module Contents

gRPC Python’s Admin interface.

grpc_admin.add_admin_servicers(server)[source]

Register admin servicers to a server.

gRPC provides some predefined admin services to make debugging easier byexposing gRPC’s internal states. Each existing admin service is packaged asa separate library, and the documentation of the predefined admin servicesis usually scattered. It can be time consuming to get the dependencymanagement, module initialization, and library import right for each one ofthem.

This API provides a convenient way to create a gRPC server to expose adminservices. With this, any new admin services that you may add in the futureare automatically available via the admin interface just by upgrading yourgRPC version.

Parameters:

server – A gRPC server to which all admin services will be added.