rama::telemetry::opentelemetry::semantic_conventions::attribute

Constant NETWORK_TRANSPORT

pub const NETWORK_TRANSPORT: &'static str;
Expand description

OSI transport layer or inter-process communication method.

§Notes

The value SHOULD be normalized to lowercase.

Consider always setting the transport when setting a port number, since a port number is ambiguous without knowing the transport. For example different processes could be listening on TCP port 12345 and UDP port 12345.

§Examples

  • "tcp"
  • "udp"