These attributes are deprecated and should not be used in new code.
See each attribute for migration guidance.
string PII: Maybe OTel: True
Local address of the network connection - IP address or Unix domain socket name.
Example 192.168.0.1
Aliases network.local.addressnet.sock.host.addr
Use network.local.address instead.
Raw JSON
Copy {
"key": "net.host.ip",
"brief": "Local address of the network connection - IP address or Unix domain socket name.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "192.168.0.1",
"deprecation": {
"replacement": "network.local.address",
"_status": null
},
"alias": [
"network.local.address",
"net.sock.host.addr"
]
} string PII: Maybe OTel: True
Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
Example example.com
Aliases server.addresshttp.server_namehttp.host
Use server.address instead.
Raw JSON
Copy {
"key": "net.host.name",
"brief": "Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "example.com",
"deprecation": {
"replacement": "server.address",
"_status": null
},
"alias": [
"server.address",
"http.server_name",
"http.host"
]
} integer PII: Maybe OTel: True
Server port number.
Example 1337
Aliases server.port
Raw JSON
Copy {
"key": "net.host.port",
"brief": "Server port number.",
"type": "integer",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": 1337,
"deprecation": {
"replacement": "server.port",
"_status": null
},
"alias": [
"server.port"
]
} string PII: Maybe OTel: True
Peer address of the network connection - IP address or Unix domain socket name.
Example 192.168.0.1
Aliases network.peer.addressnet.sock.peer.addr
Use network.peer.address instead.
Raw JSON
Copy {
"key": "net.peer.ip",
"brief": "Peer address of the network connection - IP address or Unix domain socket name.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "192.168.0.1",
"deprecation": {
"replacement": "network.peer.address",
"_status": null
},
"alias": [
"network.peer.address",
"net.sock.peer.addr"
]
} string PII: Maybe OTel: True
Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
Example example.com
Use server.address instead.
Deprecated, use server.address on client spans and client.address on server spans.
Raw JSON
Copy {
"key": "net.peer.name",
"brief": "Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "example.com",
"deprecation": {
"replacement": "server.address",
"reason": "Deprecated, use server.address on client spans and client.address on server spans.",
"_status": null
}
} integer PII: Maybe OTel: True
Peer port number.
Example 1337
Use server.port instead.
Deprecated, use server.port on client spans and client.port on server spans.
Raw JSON
Copy {
"key": "net.peer.port",
"brief": "Peer port number.",
"type": "integer",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": 1337,
"deprecation": {
"replacement": "server.port",
"reason": "Deprecated, use server.port on client spans and client.port on server spans.",
"_status": null
}
} string PII: Maybe OTel: True
OSI application layer or non-OSI equivalent.
Example http
Aliases network.protocol.name
Use network.protocol.name instead.
Raw JSON
Copy {
"key": "net.protocol.name",
"brief": "OSI application layer or non-OSI equivalent.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "http",
"deprecation": {
"replacement": "network.protocol.name",
"_status": null
},
"alias": [
"network.protocol.name"
]
} string PII: Maybe OTel: True
The actual version of the protocol used for network communication.
Example 1.1
Aliases network.protocol.versionhttp.flavor
Use network.protocol.version instead.
Raw JSON
Copy {
"key": "net.protocol.version",
"brief": "The actual version of the protocol used for network communication.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "1.1",
"deprecation": {
"replacement": "network.protocol.version",
"_status": null
},
"alias": [
"network.protocol.version",
"http.flavor"
]
} string PII: Maybe OTel: True
OSI transport and network layer
Example inet
Use network.transport instead.
Deprecated, use network.transport and network.type.
Raw JSON
Copy {
"key": "net.sock.family",
"brief": "OSI transport and network layer",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "inet",
"deprecation": {
"replacement": "network.transport",
"reason": "Deprecated, use network.transport and network.type.",
"_status": null
}
} string PII: Maybe OTel: True
Local address of the network connection mapping to Unix domain socket name.
Example /var/my.sock
Aliases network.local.addressnet.host.ip
Use network.local.address instead.
Raw JSON
Copy {
"key": "net.sock.host.addr",
"brief": "Local address of the network connection mapping to Unix domain socket name.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "/var/my.sock",
"deprecation": {
"replacement": "network.local.address",
"_status": null
},
"alias": [
"network.local.address",
"net.host.ip"
]
} integer PII: Maybe OTel: True
Local port number of the network connection.
Example 8080
Aliases network.local.port
Use network.local.port instead.
Raw JSON
Copy {
"key": "net.sock.host.port",
"brief": "Local port number of the network connection.",
"type": "integer",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": 8080,
"deprecation": {
"replacement": "network.local.port",
"_status": null
},
"alias": [
"network.local.port"
]
} string PII: Maybe OTel: True
Peer address of the network connection - IP address
Example 192.168.0.1
Aliases network.peer.addressnet.peer.ip
Use network.peer.address instead.
Raw JSON
Copy {
"key": "net.sock.peer.addr",
"brief": "Peer address of the network connection - IP address",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "192.168.0.1",
"deprecation": {
"replacement": "network.peer.address",
"_status": null
},
"alias": [
"network.peer.address",
"net.peer.ip"
]
} string PII: Maybe OTel: True
Peer address of the network connection - Unix domain socket name
Example /var/my.sock
No replacement available at this time.
Deprecated from OTEL, no replacement at this time
Raw JSON
Copy {
"key": "net.sock.peer.name",
"brief": "Peer address of the network connection - Unix domain socket name",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "/var/my.sock",
"deprecation": {
"reason": "Deprecated from OTEL, no replacement at this time",
"_status": null
}
} integer PII: Maybe OTel: True
Peer port number of the network connection.
Example 8080
Use network.peer.port instead.
Raw JSON
Copy {
"key": "net.sock.peer.port",
"brief": "Peer port number of the network connection.",
"type": "integer",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": 8080,
"deprecation": {
"replacement": "network.peer.port",
"_status": null
}
} string PII: Maybe OTel: True
OSI transport layer or inter-process communication method.
Example tcp
Aliases network.transport
Use network.transport instead.
Raw JSON
Copy {
"key": "net.transport",
"brief": "OSI transport layer or inter-process communication method.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "tcp",
"deprecation": {
"replacement": "network.transport",
"_status": null
},
"alias": [
"network.transport"
]
}