opentelemetry_semantic_conventions::attribute

Constant RPC_GRPC_REQUEST_METADATA

source
pub const RPC_GRPC_REQUEST_METADATA: &str = "rpc.grpc.request.metadata";
Expand description

gRPC request 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 request metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information.

§Examples

  • "rpc.grpc.request.metadata.my-custom-metadata-attribute=[\"1.2.3.4\", \"1.2.3.5\"]"