8
8
extends : attributes.http.server
9
9
attributes :
10
10
# todo (lmolkova) build tools don't populate grandparent attributes
11
- - ref : http.method
12
- - ref : http.status_code
11
+ - ref : http.request. method
12
+ - ref : http.response. status_code
13
13
- ref : network.protocol.name
14
14
- ref : network.protocol.version
15
15
@@ -20,8 +20,10 @@ groups:
20
20
instrument : updowncounter
21
21
unit : " {request}"
22
22
attributes :
23
- - ref : http.method
24
- - ref : http.scheme
23
+ - ref : http.request.method
24
+ - ref : url.scheme
25
+ requirement_level : required
26
+ examples : ["http", "https"]
25
27
- ref : server.address
26
28
requirement_level : required
27
29
brief : >
@@ -60,8 +62,8 @@ groups:
60
62
# TODO (trask) below attributes are identical to above in metric.http.server.duration
61
63
attributes :
62
64
# todo (lmolkova) build tools don't populate grandparent attributes
63
- - ref : http.method
64
- - ref : http.status_code
65
+ - ref : http.request. method
66
+ - ref : http.response. status_code
65
67
- ref : network.protocol.name
66
68
- ref : network.protocol.version
67
69
@@ -74,8 +76,8 @@ groups:
74
76
extends : attributes.http.server
75
77
# TODO (trask) below attributes are identical to above in metric.http.server.duration
76
78
attributes :
77
- - ref : http.method
78
- - ref : http.status_code
79
+ - ref : http.request. method
80
+ - ref : http.response. status_code
79
81
- ref : network.protocol.name
80
82
- ref : network.protocol.version
81
83
@@ -87,12 +89,11 @@ groups:
87
89
unit : " s"
88
90
extends : attributes.http.client
89
91
attributes :
90
- - ref : http.method
91
- - ref : http.status_code
92
+ - ref : http.request. method
93
+ - ref : http.response. status_code
92
94
- ref : network.protocol.name
93
95
- ref : network.protocol.version
94
96
- ref : server.socket.address
95
-
96
97
- id : metric.http.client.request.size
97
98
type : metric
98
99
metric_name : http.client.request.size
@@ -102,8 +103,8 @@ groups:
102
103
extends : attributes.http.client
103
104
# TODO (trask) below attributes are identical to above in metric.http.client.duration
104
105
attributes :
105
- - ref : http.method
106
- - ref : http.status_code
106
+ - ref : http.request. method
107
+ - ref : http.response. status_code
107
108
- ref : network.protocol.name
108
109
- ref : network.protocol.version
109
110
- ref : server.socket.address
@@ -117,8 +118,8 @@ groups:
117
118
extends : attributes.http.client
118
119
# TODO (trask) below attributes are identical to above in metric.http.client.duration
119
120
attributes :
120
- - ref : http.method
121
- - ref : http.status_code
121
+ - ref : http.request. method
122
+ - ref : http.response. status_code
122
123
- ref : network.protocol.name
123
124
- ref : network.protocol.version
124
125
- ref : server.socket.address
0 commit comments