Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: export ExponentialBucketHistogramAggregation from opentelemetry.sdk.metrics.view #3240

Merged
merged 6 commits into from
Mar 29, 2023

Conversation

sk-
Copy link
Contributor

@sk- sk- commented Mar 25, 2023

Description

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.

Fixes #3239

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A

Does This PR Require a Contrib Repo Change?

Answer the following question based on these examples of changes that would require a Contrib Repo Change:

  • The OTel specification has changed which prompted this PR to update the method interfaces of opentelemetry-api/ or opentelemetry-sdk/

  • The method interfaces of test/util have changed

  • Scripts in scripts/ that were copied over to the Contrib repo have changed

  • Configuration files that were copied over to the Contrib repo have changed (when consistency between repositories is applicable) such as in

    • pyproject.toml
    • isort.cfg
    • .flake8
  • When a new .github/CODEOWNER is added

  • Major changes to project information, such as in:

    • README.md
    • CONTRIBUTING.md
  • Yes. - Link to PR:

  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

…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 open-telemetry#3239.
@sk- sk- requested a review from a team March 25, 2023 21:15
@ocelotl ocelotl enabled auto-merge (squash) March 28, 2023 17:57
@ocelotl
Copy link
Contributor

ocelotl commented Mar 28, 2023

@sk this is a bugfix that users can see, please add a changelog entry.

auto-merge was automatically disabled March 29, 2023 00:35

Head branch was pushed to by a user without write access

@sk-
Copy link
Contributor Author

sk- commented Mar 29, 2023

@sk this is a bugfix that users can see, please add a changelog entry.

@ocelotl done, checks are waiting approval from a maintainer

@ocelotl ocelotl enabled auto-merge (squash) March 29, 2023 16:16
@ocelotl ocelotl disabled auto-merge March 29, 2023 16:16
@ocelotl
Copy link
Contributor

ocelotl commented Mar 29, 2023

Tests seem to be stuck on "Expected — Waiting for status to be reported" for some reason, investigating...

@ocelotl
Copy link
Contributor

ocelotl commented Mar 29, 2023

@sk- can you try rebasing your branch against main and pushing again, please? I am not able to do that myself.

@srikanthccv srikanthccv reopened this Mar 29, 2023
@srikanthccv srikanthccv enabled auto-merge (squash) March 29, 2023 18:28
@srikanthccv srikanthccv merged commit 6b38349 into open-telemetry:main Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export ExponentialBucketHistogramAggregation in opentelemetry.sdk.metrics.view
4 participants