Grpc status codes in telemetry


#1

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?


#2

Yes. See: response.grpc_status and response.grpc_message (https://preliminary.istio.io/docs/reference/config/policy-and-telemetry/attribute-vocabulary/)