OpenTelemetry PHP

NetworkAttributes

Semantic attributes and corresponding values for network.

Tags
see
https://opentelemetry.io/docs/specs/semconv/registry/attributes/network/

Table of Contents

Constants

NETWORK_LOCAL_ADDRESS  = 'network.local.address'
Local address of the network connection - IP address or Unix domain socket name.
NETWORK_LOCAL_PORT  = 'network.local.port'
Local port number of the network connection.
NETWORK_PEER_ADDRESS  = 'network.peer.address'
Peer address of the network connection - IP address or Unix domain socket name.
NETWORK_PEER_PORT  = 'network.peer.port'
Peer port number of the network connection.
NETWORK_PROTOCOL_NAME  = 'network.protocol.name'
[OSI application layer](https://wikipedia.org/wiki/Application_layer) or non-OSI equivalent.
NETWORK_PROTOCOL_VERSION  = 'network.protocol.version'
The actual version of the protocol used for network communication.
NETWORK_TRANSPORT  = 'network.transport'
[OSI transport layer](https://wikipedia.org/wiki/Transport_layer) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication).
NETWORK_TRANSPORT_VALUE_PIPE  = 'pipe'
Named or anonymous pipe.
NETWORK_TRANSPORT_VALUE_QUIC  = 'quic'
QUIC
NETWORK_TRANSPORT_VALUE_TCP  = 'tcp'
TCP
NETWORK_TRANSPORT_VALUE_UDP  = 'udp'
UDP
NETWORK_TRANSPORT_VALUE_UNIX  = 'unix'
Unix domain socket
NETWORK_TYPE  = 'network.type'
[OSI network layer](https://wikipedia.org/wiki/Network_layer) or non-OSI equivalent.
NETWORK_TYPE_VALUE_IPV4  = 'ipv4'
IPv4
NETWORK_TYPE_VALUE_IPV6  = 'ipv6'
IPv6

Constants

NETWORK_LOCAL_ADDRESS

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

public mixed NETWORK_LOCAL_ADDRESS = 'network.local.address'
Tags
stable

NETWORK_LOCAL_PORT

Local port number of the network connection.

public mixed NETWORK_LOCAL_PORT = 'network.local.port'
Tags
stable

NETWORK_PEER_ADDRESS

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

public mixed NETWORK_PEER_ADDRESS = 'network.peer.address'
Tags
stable

NETWORK_PEER_PORT

Peer port number of the network connection.

public mixed NETWORK_PEER_PORT = 'network.peer.port'
Tags
stable

NETWORK_PROTOCOL_NAME

[OSI application layer](https://wikipedia.org/wiki/Application_layer) or non-OSI equivalent.

public mixed NETWORK_PROTOCOL_NAME = 'network.protocol.name'

The value SHOULD be normalized to lowercase.

Tags
stable

NETWORK_PROTOCOL_VERSION

The actual version of the protocol used for network communication.

public mixed NETWORK_PROTOCOL_VERSION = 'network.protocol.version'

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.

Tags
stable

NETWORK_TRANSPORT

[OSI transport layer](https://wikipedia.org/wiki/Transport_layer) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication).

public mixed NETWORK_TRANSPORT = 'network.transport'

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.

Tags
stable

NETWORK_TRANSPORT_VALUE_PIPE

Named or anonymous pipe.

public mixed NETWORK_TRANSPORT_VALUE_PIPE = 'pipe'
Tags
stable

NETWORK_TRANSPORT_VALUE_QUIC

QUIC

public mixed NETWORK_TRANSPORT_VALUE_QUIC = 'quic'
Tags
stable

NETWORK_TRANSPORT_VALUE_TCP

TCP

public mixed NETWORK_TRANSPORT_VALUE_TCP = 'tcp'
Tags
stable

NETWORK_TRANSPORT_VALUE_UDP

UDP

public mixed NETWORK_TRANSPORT_VALUE_UDP = 'udp'
Tags
stable

NETWORK_TRANSPORT_VALUE_UNIX

Unix domain socket

public mixed NETWORK_TRANSPORT_VALUE_UNIX = 'unix'
Tags
stable

NETWORK_TYPE

[OSI network layer](https://wikipedia.org/wiki/Network_layer) or non-OSI equivalent.

public mixed NETWORK_TYPE = 'network.type'

The value SHOULD be normalized to lowercase.

Tags
stable

NETWORK_TYPE_VALUE_IPV4

IPv4

public mixed NETWORK_TYPE_VALUE_IPV4 = 'ipv4'
Tags
stable

NETWORK_TYPE_VALUE_IPV6

IPv6

public mixed NETWORK_TYPE_VALUE_IPV6 = 'ipv6'
Tags
stable

        
On this page

Search results