RPC_CONNECT_RPC_REQUEST_METADATA

Constant RPC_CONNECT_RPC_REQUEST_METADATA 

pub const RPC_CONNECT_RPC_REQUEST_METADATA: &'static str;
Available on crate features opentelemetry and semconv_experimental only.
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.

For example, a property my-custom-key with value ["1.2.3.4", "1.2.3.5"] SHOULD be recorded as the rpc.connect_rpc.request.metadata.my-custom-key attribute with value ["1.2.3.4", "1.2.3.5"]

§Examples

  • [ "1.2.3.4", "1.2.3.5", ]