-
Notifications
You must be signed in to change notification settings - Fork 635
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 ExponentialBucketHistogramAggregation
#3978
Conversation
4d83990
to
e8a9bc5
Compare
@euroelessar @rbtz-openai please take a look. This mainly fixes issues with |
opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/aggregation.py
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/aggregation.py
Show resolved
Hide resolved
Note to reviewers: I recommend to check out this PR branch and compare it to |
4fdb18f
to
df23d88
Compare
I have moved all variable renaming here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Took a look at this but I fail to recognize the actual code change that fixes something 😓
I added a So, this PR fixes the issue with the wrong |
8a5b1a4
to
7332465
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but please wait for an ack from someone more clueful on histograms 😓
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some comments related to the tests that I had forgotten to publish
opentelemetry-sdk/tests/metrics/integration_test/test_exponential_bucket_histogram.py
Show resolved
Hide resolved
opentelemetry-sdk/tests/metrics/integration_test/test_exponential_bucket_histogram.py
Show resolved
Hide resolved
opentelemetry-sdk/tests/metrics/integration_test/test_exponential_bucket_histogram.py
Show resolved
Hide resolved
bce6df1
to
4530d55
Compare
I am not sure these changes are right, I just wanted to find what would be the value that would make this test case pass.
opentelemetry-sdk/tests/metrics/integration_test/test_exponential_bucket_histogram.py
Show resolved
Hide resolved
Agreed to merge this in the SIG, since this is urgent and needed for the release. |
Feel free to make additional comments/approve the changes separately. |
Fixes #3977
Fixes #3974
Fixes #4037
This PR is analogous to #3429 and #4009