Class NetworkAttributes

java.lang.Object
io.opentelemetry.semconv.NetworkAttributes

public final class NetworkAttributes extends Object
  • Field Details

    • NETWORK_LOCAL_ADDRESS

      public static final io.opentelemetry.api.common.AttributeKey<String> NETWORK_LOCAL_ADDRESS
      Local address of the network connection - IP address or Unix domain socket name.
    • NETWORK_LOCAL_PORT

      public static final io.opentelemetry.api.common.AttributeKey<Long> NETWORK_LOCAL_PORT
      Local port number of the network connection.
    • NETWORK_PEER_ADDRESS

      public static final io.opentelemetry.api.common.AttributeKey<String> NETWORK_PEER_ADDRESS
      Peer address of the network connection - IP address or Unix domain socket name.
    • NETWORK_PEER_PORT

      public static final io.opentelemetry.api.common.AttributeKey<Long> NETWORK_PEER_PORT
      Peer port number of the network connection.
    • NETWORK_PROTOCOL_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> NETWORK_PROTOCOL_NAME
      OSI application layer or non-OSI equivalent.

      Notes:

      The value SHOULD be normalized to lowercase.

    • NETWORK_PROTOCOL_VERSION

      public static final io.opentelemetry.api.common.AttributeKey<String> NETWORK_PROTOCOL_VERSION
      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.

    • NETWORK_TRANSPORT

      public static final io.opentelemetry.api.common.AttributeKey<String> NETWORK_TRANSPORT
      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.

    • NETWORK_TYPE

      public static final io.opentelemetry.api.common.AttributeKey<String> NETWORK_TYPE
      OSI network layer or non-OSI equivalent.

      Notes:

      The value SHOULD be normalized to lowercase.