opentelemetry_semantic_conventions::attribute

Constant NETWORK_PROTOCOL_VERSION

source
pub const NETWORK_PROTOCOL_VERSION: &str = "network.protocol.version";
Expand description

The actual version of the protocol used for network communication.

§Notes

If protocol version is subject to negotiation (for example using ALPN), this attribute SHOULD be set to the negotiated version. If the actual protocol version is not known, this attribute SHOULD NOT be set.

§Examples

  • "1.1"
  • "2"