Skip to content

Commit

Permalink
Merge branch 'main' into fix/auto-instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hartungstenio committed Nov 19, 2023
2 parents ca60ee0 + 9afaf26 commit ce54b9c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- `opentelemetry-instrumentation-urllib`/`opentelemetry-instrumentation-urllib3` Fix metric descriptions to match semantic conventions
([#1959]((https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1959))
- `opentelemetry-bootstrap` updated to generate dependencies for both `opentelemetry-instrumentation-aiohttp-client`
and `opentelemetry-instrumentation-aiohttp-server`

and `opentelemetry-instrumentation-aiohttp-server` ([#2059](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2059))
## Version 1.21.0/0.42b0 (2023-11-01)

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,17 +307,17 @@ def _create_client_histograms(meter) -> Dict[str, Histogram]:
MetricInstruments.HTTP_CLIENT_DURATION: meter.create_histogram(
name=MetricInstruments.HTTP_CLIENT_DURATION,
unit="ms",
description="measures the duration outbound HTTP requests",
description="Measures the duration of outbound HTTP requests.",
),
MetricInstruments.HTTP_CLIENT_REQUEST_SIZE: meter.create_histogram(
name=MetricInstruments.HTTP_CLIENT_REQUEST_SIZE,
unit="By",
description="measures the size of HTTP request messages (compressed)",
description="Measures the size of HTTP request messages.",
),
MetricInstruments.HTTP_CLIENT_RESPONSE_SIZE: meter.create_histogram(
name=MetricInstruments.HTTP_CLIENT_RESPONSE_SIZE,
unit="By",
description="measures the size of HTTP response messages (compressed)",
description="Measures the size of HTTP response messages.",
),
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,17 +183,17 @@ def _instrument(self, **kwargs):
duration_histogram = meter.create_histogram(
name=MetricInstruments.HTTP_CLIENT_DURATION,
unit="ms",
description="measures the duration outbound HTTP requests",
description="Measures the duration of outbound HTTP requests.",
)
request_size_histogram = meter.create_histogram(
name=MetricInstruments.HTTP_CLIENT_REQUEST_SIZE,
unit="By",
description="measures the size of HTTP request messages (compressed)",
description="Measures the size of HTTP request messages.",
)
response_size_histogram = meter.create_histogram(
name=MetricInstruments.HTTP_CLIENT_RESPONSE_SIZE,
unit="By",
description="measures the size of HTTP response messages (compressed)",
description="Measures the size of HTTP response messages.",
)

_instrument(
Expand Down

0 comments on commit ce54b9c

Please sign in to comment.