opentelemetry_semantic_conventions::attribute

Constant RPC_GRPC_RESPONSE_METADATA

source
pub const RPC_GRPC_RESPONSE_METADATA: &str = "rpc.grpc.response.metadata";
Expand description

gRPC response metadata, <key> being the normalized gRPC Metadata key (lowercase), the value being the metadata values.

§Notes

Instrumentations SHOULD require an explicit configuration of which metadata values are to be captured. Including all response metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information.

§Examples

  • "rpc.grpc.response.metadata.my-custom-metadata-attribute=[\"attribute_value\"]"