forked from open-telemetry/weaver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexpected-attribute-catalog.json
More file actions
70 lines (70 loc) · 2.21 KB
/
expected-attribute-catalog.json
File metadata and controls
70 lines (70 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[
{
"name": "network.protocol.name",
"type": "string",
"brief": "[OSI application layer](https://osi-model.com/application-layer/) or non-OSI equivalent.",
"examples": [
"amqp",
"http",
"mqtt"
],
"requirement_level": "recommended",
"note": "The value SHOULD be normalized to lowercase.",
"stability": "stable"
},
{
"name": "network.protocol.name",
"type": "string",
"brief": "[OSI application layer](https://osi-model.com/application-layer/) or non-OSI equivalent.",
"examples": [
"http",
"spdy"
],
"requirement_level": {
"conditionally_required": "If not `http` and `network.protocol.version` is set."
},
"note": "The value SHOULD be normalized to lowercase.",
"stability": "stable"
},
{
"name": "server.port",
"type": "int",
"brief": "Port of the local HTTP server that received the request.\n",
"examples": [
80,
8080,
443
],
"requirement_level": "opt_in",
"note": "See [Setting `server.address` and `server.port` attributes](/docs/http/http-spans.md#setting-serveraddress-and-serverport-attributes).\n> **Warning**\n> Since this attribute is based on HTTP headers, opting in to it may allow an attacker\n> to trigger cardinality limits, degrading the usefulness of the metric.\n",
"stability": "stable"
},
{
"name": "server.port",
"type": "int",
"brief": "Port of the local HTTP server that received the request.\n",
"examples": [
80,
8080,
443
],
"requirement_level": {
"conditionally_required": "If `server.address` is set."
},
"note": "See [Setting `server.address` and `server.port` attributes](/docs/http/http-spans.md#setting-serveraddress-and-serverport-attributes).\n",
"stability": "stable"
},
{
"name": "server.port",
"type": "int",
"brief": "Server port number.",
"examples": [
80,
8080,
443
],
"requirement_level": "recommended",
"note": "When observed from the client side, and when communicating through an intermediary, `server.port` SHOULD represent the server port behind any intermediaries, for example proxies, if it's available.\n",
"stability": "stable"
}
]