These attributes are deprecated and will be removed in a future version. Please use the recommended replacements.
Local address of the network connection - IP address or Unix domain socket name.
| Property | Value |
|---|---|
| Type | string |
| Has PII | maybe |
| Exists in OpenTelemetry | Yes |
| Example | 192.168.0.1 |
| Deprecated | Yes, use network.local.address instead |
| Aliases | network.local.address, net.sock.host.addr |
Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
| Property | Value |
|---|---|
| Type | string |
| Has PII | maybe |
| Exists in OpenTelemetry | Yes |
| Example | example.com |
| Deprecated | Yes, use server.address instead |
| Aliases | server.address, http.server_name, http.host |
Server port number.
| Property | Value |
|---|---|
| Type | integer |
| Has PII | false |
| Exists in OpenTelemetry | Yes |
| Example | 1337 |
| Deprecated | Yes, use server.port instead |
| Aliases | server.port |
Peer address of the network connection - IP address or Unix domain socket name.
| Property | Value |
|---|---|
| Type | string |
| Has PII | maybe |
| Exists in OpenTelemetry | Yes |
| Example | 192.168.0.1 |
| Deprecated | Yes, use network.peer.address instead |
| Aliases | network.peer.address, net.sock.peer.addr |
Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
| Property | Value |
|---|---|
| Type | string |
| Has PII | maybe |
| Exists in OpenTelemetry | Yes |
| Example | example.com |
| Deprecated | Yes, use server.address instead |
| Deprecation Reason | Deprecated, use server.address on client spans and client.address on server spans. |
Peer port number.
| Property | Value |
|---|---|
| Type | integer |
| Has PII | false |
| Exists in OpenTelemetry | Yes |
| Example | 1337 |
| Deprecated | Yes, use server.port instead |
| Deprecation Reason | Deprecated, use server.port on client spans and client.port on server spans. |
OSI application layer or non-OSI equivalent.
| Property | Value |
|---|---|
| Type | string |
| Has PII | maybe |
| Exists in OpenTelemetry | Yes |
| Example | http |
| Deprecated | Yes, use network.protocol.name instead |
| Aliases | network.protocol.name |
The actual version of the protocol used for network communication.
| Property | Value |
|---|---|
| Type | string |
| Has PII | maybe |
| Exists in OpenTelemetry | Yes |
| Example | 1.1 |
| Deprecated | Yes, use network.protocol.version instead |
| Aliases | network.protocol.version, http.flavor |
OSI transport and network layer
| Property | Value |
|---|---|
| Type | string |
| Has PII | maybe |
| Exists in OpenTelemetry | Yes |
| Example | inet |
| Deprecated | Yes, use network.transport instead |
| Deprecation Reason | Deprecated, use network.transport and network.type. |
Local address of the network connection mapping to Unix domain socket name.
| Property | Value |
|---|---|
| Type | string |
| Has PII | maybe |
| Exists in OpenTelemetry | Yes |
| Example | /var/my.sock |
| Deprecated | Yes, use network.local.address instead |
| Aliases | network.local.address, net.host.ip |
Local port number of the network connection.
| Property | Value |
|---|---|
| Type | integer |
| Has PII | false |
| Exists in OpenTelemetry | Yes |
| Example | 8080 |
| Deprecated | Yes, use network.local.port instead |
| Aliases | network.local.port |
Peer address of the network connection - IP address
| Property | Value |
|---|---|
| Type | string |
| Has PII | maybe |
| Exists in OpenTelemetry | Yes |
| Example | 192.168.0.1 |
| Deprecated | Yes, use network.peer.address instead |
| Aliases | network.peer.address, net.peer.ip |
Peer address of the network connection - Unix domain socket name
| Property | Value |
|---|---|
| Type | string |
| Has PII | maybe |
| Exists in OpenTelemetry | Yes |
| Example | /var/my.sock |
| Deprecated | Yes, no replacement at this time |
| Deprecation Reason | Deprecated from OTEL, no replacement at this time |
Peer port number of the network connection.
| Property | Value |
|---|---|
| Type | integer |
| Has PII | false |
| Exists in OpenTelemetry | Yes |
| Example | 8080 |
| Deprecated | Yes, use network.peer.port instead |
OSI transport layer or inter-process communication method.
| Property | Value |
|---|---|
| Type | string |
| Has PII | maybe |
| Exists in OpenTelemetry | Yes |
| Example | tcp |
| Deprecated | Yes, use network.transport instead |
| Aliases | network.transport |