Functions | Variables
grpc_channelz.v1.channelz Namespace Reference

Functions

def add_channelz_servicer (server)
 

Variables

list __all__
 
 __doc__
 
string _add_channelz_servicer_doc
 

Function Documentation

◆ add_channelz_servicer()

def grpc_channelz.v1.channelz.add_channelz_servicer (   server)

Definition at line 45 of file channelz.py.

Variable Documentation

◆ __all__

list grpc_channelz.v1.channelz.__all__
private
Initial value:
1 = [
2  "aio",
3  "add_channelz_servicer",
4  "ChannelzServicer",
5  ]

Definition at line 56 of file channelz.py.

◆ __doc__

grpc_channelz.v1.channelz.__doc__
private

Definition at line 54 of file channelz.py.

◆ _add_channelz_servicer_doc

string grpc_channelz.v1.channelz._add_channelz_servicer_doc
private
Initial value:
1 = """Add Channelz servicer to a server.
2 
3 Channelz servicer is in charge of
4 pulling information from C-Core for entire process. It will allow the
5 server to response to Channelz queries.
6 
7 The Channelz statistic is enabled by default inside C-Core. Whether the
8 statistic is enabled or not is isolated from adding Channelz servicer.
9 That means you can query Channelz info with a Channelz-disabled channel,
10 and you can add Channelz servicer to a Channelz-disabled server.
11 
12 The Channelz statistic can be enabled or disabled by channel option
13 'grpc.enable_channelz'. Set to 1 to enable, set to 0 to disable.
14 
15 This is an EXPERIMENTAL API.
16 
17 Args:
18  server: A gRPC server to which Channelz service will be added.
19 """

Definition at line 22 of file channelz.py.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:34