File tree 3 files changed +11
-6
lines changed
opentelemetry-instrumentation-urllib/src/opentelemetry/instrumentation/urllib
opentelemetry-instrumentation-urllib3/src/opentelemetry/instrumentation/urllib3
3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
12
- ` opentelemetry-instrumentation ` Added Otel semantic convention opt-in mechanism
13
13
([ #1987 ] ( https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1987 ) )
14
14
15
+ ### Fixed
16
+
17
+ - ` opentelemetry-instrumentation-urllib ` /` opentelemetry-instrumentation-urllib3 ` Fix metric descriptions to match semantic conventions
18
+ ([ #1959 ] ( (https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1959) )
19
+
15
20
## Version 1.21.0/0.42b0 (2023-11-01)
16
21
17
22
### Added
Original file line number Diff line number Diff line change @@ -307,17 +307,17 @@ def _create_client_histograms(meter) -> Dict[str, Histogram]:
307
307
MetricInstruments .HTTP_CLIENT_DURATION : meter .create_histogram (
308
308
name = MetricInstruments .HTTP_CLIENT_DURATION ,
309
309
unit = "ms" ,
310
- description = "measures the duration outbound HTTP requests" ,
310
+ description = "Measures the duration of outbound HTTP requests. " ,
311
311
),
312
312
MetricInstruments .HTTP_CLIENT_REQUEST_SIZE : meter .create_histogram (
313
313
name = MetricInstruments .HTTP_CLIENT_REQUEST_SIZE ,
314
314
unit = "By" ,
315
- description = "measures the size of HTTP request messages (compressed) " ,
315
+ description = "Measures the size of HTTP request messages. " ,
316
316
),
317
317
MetricInstruments .HTTP_CLIENT_RESPONSE_SIZE : meter .create_histogram (
318
318
name = MetricInstruments .HTTP_CLIENT_RESPONSE_SIZE ,
319
319
unit = "By" ,
320
- description = "measures the size of HTTP response messages (compressed) " ,
320
+ description = "Measures the size of HTTP response messages. " ,
321
321
),
322
322
}
323
323
Original file line number Diff line number Diff line change @@ -183,17 +183,17 @@ def _instrument(self, **kwargs):
183
183
duration_histogram = meter .create_histogram (
184
184
name = MetricInstruments .HTTP_CLIENT_DURATION ,
185
185
unit = "ms" ,
186
- description = "measures the duration outbound HTTP requests" ,
186
+ description = "Measures the duration of outbound HTTP requests. " ,
187
187
)
188
188
request_size_histogram = meter .create_histogram (
189
189
name = MetricInstruments .HTTP_CLIENT_REQUEST_SIZE ,
190
190
unit = "By" ,
191
- description = "measures the size of HTTP request messages (compressed) " ,
191
+ description = "Measures the size of HTTP request messages. " ,
192
192
)
193
193
response_size_histogram = meter .create_histogram (
194
194
name = MetricInstruments .HTTP_CLIENT_RESPONSE_SIZE ,
195
195
unit = "By" ,
196
- description = "measures the size of HTTP response messages (compressed) " ,
196
+ description = "Measures the size of HTTP response messages. " ,
197
197
)
198
198
199
199
_instrument (
You can’t perform that action at this time.
0 commit comments