File tree 2 files changed +34
-0
lines changed
opentelemetry-semantic-conventions/src/opentelemetry/semconv/metrics
2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
([ #2947 ] ( https://github.com/open-telemetry/opentelemetry-python/pull/2947 ) )
12
12
- ` exporter-otlp-proto-http ` : add user agent string
13
13
([ #2959 ] ( https://github.com/open-telemetry/opentelemetry-python/pull/2959 ) )
14
+ - Add http-metric instrument names to semantic conventions
15
+ ([ #2976 ] ( https://github.com/open-telemetry/opentelemetry-python/pull/2976 ) )
14
16
15
17
## [ 1.13.0-0.34b0] ( https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.13.0 ) - 2022-09-26
16
18
Original file line number Diff line number Diff line change
1
+ # Copyright The OpenTelemetry Authors
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # pylint: disable=too-many-lines
16
+
17
+
18
+ class MetricInstruments :
19
+
20
+ HTTP_SERVER_DURATION = "http.server.duration"
21
+
22
+ HTTP_SERVER_REQUEST_SIZE = "http.server.request.size"
23
+
24
+ HTTP_SERVER_RESPONSE_SIZE = "http.server.response.size"
25
+
26
+ HTTP_SERVER_ACTIVE_REQUESTS = "http.server.active_requests"
27
+
28
+ HTTP_CLIENT_DURATION = "http.client.duration"
29
+
30
+ HTTP_CLIENT_REQUEST_SIZE = "http.client.request.size"
31
+
32
+ HTTP_CLIENT_RESPONSE_SIZE = "http.client.response.size"
You can’t perform that action at this time.
0 commit comments