Skip to content

Commit

Permalink
fix: export ExponentialBucketHistogramAggregation from opentelemetry.…
Browse files Browse the repository at this point in the history
…sdk.metrics.view (#3240)

* fix: export ExponentialBucketHistogramAggregation from opentelemetry.sdk.metrics.view

Without this PR if one wants to use exponential histrograms, which were added in realease 1.17.0 (https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md#version-1170038b0-2023-03-22), one needs to import it from the private package opentelemetry.sdk.metrics._internal.aggregation.

This PR fixes #3239.
  • Loading branch information
sk- authored Mar 29, 2023
1 parent c11d551 commit 6b38349
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
- Fix exporting of ExponentialBucketHistogramAggregation from opentelemetry.sdk.metrics.view
([#3240](https://github.com/open-telemetry/opentelemetry-python/pull/3240))

- Fix headers types mismatch for OTLP Exporters
([#3226](https://github.com/open-telemetry/opentelemetry-python/pull/3226))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
DefaultAggregation,
DropAggregation,
ExplicitBucketHistogramAggregation,
ExponentialBucketHistogramAggregation,
LastValueAggregation,
SumAggregation,
)
Expand All @@ -27,6 +28,7 @@
"DefaultAggregation",
"DropAggregation",
"ExplicitBucketHistogramAggregation",
"ExponentialBucketHistogramAggregation",
"LastValueAggregation",
"SumAggregation",
"View",
Expand Down

0 comments on commit 6b38349

Please sign in to comment.