Expand description

Channelz provides channel level debug information. In short, There are four types of top level entities: channel, subchannel, socket and server. All entities are identified by an positive unique integer, which is allocated in order. For more explanation, see https://github.com/grpc/proposal/blob/master/A14-channelz.md.

A full support requires a service that allow remote querying. But for now it’s too complicated to add full support. Because gRPC C core exposes the information using JSON format, and there is no protobuf library that supports parsing json format in Rust. So this module only provides safe APIs to access the informations.

Functions

Returns a single Channel, or else an empty string.

Returns a single Server, or else an empty string.

Gets all server sockets that exist in the server.

Gets all servers that exist in the process.

Returns a single Socket, or else an empty string.

Returns a single Subchannel, or else an empty string.

Gets all root channels (i.e. channels the application has directly created). This does not include subchannels nor non-top level channels.