Grpc status codes in telemetry


Question on grpc status codes - particular within the telemetry as stored in prometheus.

Currently the outer http2 connection is always a 200 even if the “inside” grpc call is failing. i.e. The response code for grpc protocol seems to always be 200 in telemetry.

Is it possible to somehow get the true grpc status code in telemetry somewhere?


Yes. See: response.grpc_status and response.grpc_message (