What is channelz and how does it help with debugging gRPC?

Last updated 8 July 2026

  • Channelz is a built-in gRPC service exposing live internal state: channels, subchannels, sockets, and servers with connectivity states, addresses, and call success/failure counts.

  • You register it on the server and query it with tools like grpcurl or grpcdebug.

  • It answers questions like "is the connection up?" or "which subchannel is failing?" and reveals load-balancing spread, connection churn, and per-socket details (flow-control windows, keepalive) that logs miss.

  • https://grpc.io/blog/a-short-introduction-to-channelz/
  • https://apis.io/apis/grpc/grpc-channelz-api/
  • https://android.googlesource.com/platform/external/grpc-grpc-java/+/HEAD/examples/example-debug
  • https://grpc.github.io/grpc/python/grpc_channelz.html
  • https://github.com/grpc/grpc-node/blob/master/packages/grpc-js/src/subchannel.ts
  • https://gitlab.uni-hannover.de/tci-gateway-module/grpc/-/tree/d2f96d6d64bebcc7e42c4492847732910a28618f/examples/python/debug
  • https://www.httpdebugger.com/debug/grpc-calls
  • https://github.com/grpc/grpc-go/issues/5075
All gRPC interview questions