Package io.opentelemetry.semconv
Class NetworkAttributes
java.lang.Object
io.opentelemetry.semconv.NetworkAttributes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classValues forNETWORK_TRANSPORT.static final classValues forNETWORK_TYPE. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.opentelemetry.api.common.AttributeKey<String>Local address of the network connection - IP address or Unix domain socket name.static final io.opentelemetry.api.common.AttributeKey<Long>Local port number of the network connection.static final io.opentelemetry.api.common.AttributeKey<String>Peer address of the network connection - IP address or Unix domain socket name.static final io.opentelemetry.api.common.AttributeKey<Long>Peer port number of the network connection.static final io.opentelemetry.api.common.AttributeKey<String>OSI application layer or non-OSI equivalent.static final io.opentelemetry.api.common.AttributeKey<String>The actual version of the protocol used for network communication.static final io.opentelemetry.api.common.AttributeKey<String>static final io.opentelemetry.api.common.AttributeKey<String>OSI network layer or non-OSI equivalent. -
Method Summary
-
Field Details
-
NETWORK_LOCAL_ADDRESS
Local address of the network connection - IP address or Unix domain socket name. -
NETWORK_LOCAL_PORT
Local port number of the network connection. -
NETWORK_PEER_ADDRESS
Peer address of the network connection - IP address or Unix domain socket name. -
NETWORK_PEER_PORT
Peer port number of the network connection. -
NETWORK_PROTOCOL_NAME
-
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
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
-