Module: OpenTelemetry::SemConv::Incubating::NETWORK

Defined in:
lib/opentelemetry/semconv/incubating/network/attributes.rb

Attribute Names collapse

NETWORK_CARRIER_ICC =
Note:

Stability Level: development

The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network.

Examples:

Sample Values

DE
'network.carrier.icc'
NETWORK_CARRIER_MCC =
Note:

Stability Level: development

The mobile carrier country code.

Examples:

Sample Values

310
'network.carrier.mcc'
NETWORK_CARRIER_MNC =
Note:

Stability Level: development

The mobile carrier network code.

Examples:

Sample Values

001
'network.carrier.mnc'
NETWORK_CARRIER_NAME =
Note:

Stability Level: development

The name of the mobile carrier.

Examples:

Sample Values

sprint
'network.carrier.name'
NETWORK_CONNECTION_STATE =
Note:

Stability Level: development

The state of network connection

Connection states are defined as part of the rfc9293

Examples:

Sample Values

close_wait
'network.connection.state'
NETWORK_CONNECTION_SUBTYPE =
Note:

Stability Level: development

This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection.

Examples:

Sample Values

LTE
'network.connection.subtype'
NETWORK_CONNECTION_TYPE =
Note:

Stability Level: development

The internet connection type.

Examples:

Sample Values

wifi
'network.connection.type'
NETWORK_INTERFACE_NAME =
Note:

Stability Level: development

The network interface name.

Examples:

Sample Values

lo
eth0
'network.interface.name'
NETWORK_IO_DIRECTION =
Note:

Stability Level: development

The network IO operation direction.

Examples:

Sample Values

transmit
'network.io.direction'
NETWORK_LOCAL_ADDRESS =
Deprecated.

Now available in the stable namespace at NETWORK::NETWORK_LOCAL_ADDRESS.

Note:

Stability Level: stable

Local address of the network connection - IP address or Unix domain socket name.

Examples:

Sample Values

10.1.2.80
/tmp/my.sock
'network.local.address'
NETWORK_LOCAL_PORT =
Deprecated.

Now available in the stable namespace at NETWORK::NETWORK_LOCAL_PORT.

Note:

Stability Level: stable

Local port number of the network connection.

Examples:

Sample Values

65123
'network.local.port'
NETWORK_PEER_ADDRESS =
Deprecated.

Now available in the stable namespace at NETWORK::NETWORK_PEER_ADDRESS.

Note:

Stability Level: stable

Peer address of the network connection - IP address or Unix domain socket name.

Examples:

Sample Values

10.1.2.80
/tmp/my.sock
'network.peer.address'
NETWORK_PEER_PORT =
Deprecated.

Now available in the stable namespace at NETWORK::NETWORK_PEER_PORT.

Note:

Stability Level: stable

Peer port number of the network connection.

Examples:

Sample Values

65123
'network.peer.port'
NETWORK_PROTOCOL_NAME =
Deprecated.

Now available in the stable namespace at NETWORK::NETWORK_PROTOCOL_NAME.

Note:

Stability Level: stable

OSI application layer or non-OSI equivalent.

The value SHOULD be normalized to lowercase.

Examples:

Sample Values

amqp
http
mqtt
'network.protocol.name'
NETWORK_PROTOCOL_VERSION =
Deprecated.

Now available in the stable namespace at NETWORK::NETWORK_PROTOCOL_VERSION.

Note:

Stability Level: stable

The actual version of the protocol used for network communication.

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:

Sample Values

1.1
2
'network.protocol.version'
NETWORK_TRANSPORT =
Deprecated.

Now available in the stable namespace at NETWORK::NETWORK_TRANSPORT.

Note:

Stability Level: stable

OSI transport layer or inter-process communication method.

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:

Sample Values

tcp
udp
'network.transport'
NETWORK_TYPE =
Deprecated.

Now available in the stable namespace at NETWORK::NETWORK_TYPE.

Note:

Stability Level: stable

OSI network layer or non-OSI equivalent.

The value SHOULD be normalized to lowercase.

Examples:

Sample Values

ipv4
ipv6
'network.type'