-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Document net and network stable attributes
resolves #21
- Loading branch information
1 parent
024957f
commit 2d6b29b
Showing
25 changed files
with
264 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"key": "net.host.ip", | ||
"brief": "Local address of the network connection - IP address or Unix domain socket name.", | ||
"type": "string", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "192.168.0.1", | ||
"deprecation": { | ||
"replacement": "network.local.address" | ||
}, | ||
"alias": ["network.local.address"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"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": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "example.com", | ||
"deprecation": { | ||
"replacement": "server.address" | ||
}, | ||
"alias": ["server.address"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"key": "net.peer.ip", | ||
"brief": "Peer address of the network connection - IP address or Unix domain socket name.", | ||
"type": "string", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "192.168.0.1", | ||
"deprecation": { | ||
"replacement": "network.peer.address" | ||
}, | ||
"alias": ["network.peer.address"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"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": "false" | ||
}, | ||
"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." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"key": "net.peer.port", | ||
"brief": "Peer port number.", | ||
"type": "integer", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": 1337, | ||
"deprecation": { | ||
"replacement": "server.port", | ||
"reason": "Deprecated, use server.port on client spans and client.port on server spans." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"key": "net.protocol.name", | ||
"brief": "OSI application layer or non-OSI equivalent.", | ||
"type": "string", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "http", | ||
"deprecation": { | ||
"replacement": "network.protocol.name" | ||
}, | ||
"alias": ["network.protocol.name"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"key": "net.protocol.version", | ||
"brief": "The actual version of the protocol used for network communication.", | ||
"type": "string", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "1.1", | ||
"deprecation": { | ||
"replacement": "network.protocol.version" | ||
}, | ||
"alias": ["network.protocol.version"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"key": "net.protocol.name", | ||
"brief": "OSI transport and network layer", | ||
"type": "string", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "inet", | ||
"deprecation": { | ||
"replacement": "network.transport", | ||
"reason": "Deprecated, use network.transport and network.type." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"key": "net.sock.host.addr", | ||
"brief": "Local address of the network connection mapping to Unix domain socket name.", | ||
"type": "string", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "/var/my.sock", | ||
"deprecation": { | ||
"replacement": "network.local.address" | ||
}, | ||
"alias": ["network.local.address"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"key": "net.sock.host.port", | ||
"brief": "Local port number of the network connection.", | ||
"type": "integer", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": 8080, | ||
"deprecation": { | ||
"replacement": "network.local.port" | ||
}, | ||
"alias": ["network.local.port"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"key": "net.sock.peer.addr", | ||
"brief": "Peer address of the network connection - IP address", | ||
"type": "string", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "192.168.0.1", | ||
"deprecation": { | ||
"replacement": "network.peer.address" | ||
}, | ||
"alias": ["network.peer.address"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"key": "net.sock.peer.port", | ||
"brief": "Peer port number of the network connection.", | ||
"type": "integer", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": 8080, | ||
"deprecation": { | ||
"replacement": "network.peer.port" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"key": "net.sock.peer.name", | ||
"brief": "Peer address of the network connection - Unix domain socket name", | ||
"type": "string", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "/var/my.sock", | ||
"deprecation": { | ||
"replacement": "", | ||
"reason": "Deprecated, no replacement at this time" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"key": "net.transport", | ||
"brief": "OSI transport layer or inter-process communication method.", | ||
"type": "string", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "tcp", | ||
"deprecation": { | ||
"replacement": "network.transport" | ||
}, | ||
"alias": ["network.transport"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"key": "network.local.address", | ||
"brief": "Local address of the network connection - IP address or Unix domain socket name.", | ||
"type": "string", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "10.1.2.80", | ||
"alias": ["net.host.ip", "net.sock.host.addr"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"key": "network.local.port", | ||
"brief": "Local port number of the network connection.", | ||
"type": "integer", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": 65400, | ||
"alias": ["net.sock.host.port"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"key": "network.peer.address", | ||
"brief": "Peer address of the network connection - IP address or Unix domain socket name.", | ||
"type": "string", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "10.1.2.80" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"key": "network.peer.port", | ||
"brief": "Peer port number of the network connection.", | ||
"type": "integer", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": 65400 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,5 +6,6 @@ | |
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "http" | ||
"example": "http", | ||
"alias": ["net.protocol.name"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"key": "network.transport", | ||
"brief": "OSI transport layer or inter-process communication method.", | ||
"type": "string", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "tcp", | ||
"alias": ["net.transport"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"key": "network.type", | ||
"brief": "OSI network layer or non-OSI equivalent.", | ||
"type": "string", | ||
"pii": { | ||
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": "ipv4" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,5 @@ | |
"key": "false" | ||
}, | ||
"is_in_otel": true, | ||
"example": 1337, | ||
"alias": ["net.host.port"] | ||
"example": 1337 | ||
} |