opentelemetry_semantic_conventions::attribute

Constant RPC_CONNECT_RPC_REQUEST_METADATA

Source
pub const RPC_CONNECT_RPC_REQUEST_METADATA: &str = "rpc.connect_rpc.request.metadata";
Expand description

Connect request metadata, <key> being the normalized Connect 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.request.metadata.my-custom-metadata-attribute=[\"1.2.3.4\", \"1.2.3.5\"]"