Commit e78675e
authored
Fix
* Refactor __init__
* Refactor aggregate
* Handle case for DELTA DELTA
* Checkpoint before removing old code
* Remove old code
* Fix some test cases
* Relocate method
* Debugging test_aggregate_collect
* Fix empty previous bucket handling
* Fix max and min setting
* Fix explicit bucket aggregation to make it consistent
* Rearrange __init__s
* Set scale in aggregate
* Use right values in exponential point
* Set scale right
* Start scale as None
* Make test_collect_results_cumulative pass
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.
* Actually use random values
* Add integration test for exponential histogram
* Handle all cases for current and previous buckets and scale
* Rename test module
* Use random values
* Fix bucket setting
* WIP integration test
* WIP
* Finish integration tests
* Rename variables
* Explain analogy with ExplicitBucket
* Add changelog and fix lint
* Fix equality tests
* Fix location of returns
* Fix another issue and add test case
* Added comments to integration test case
* Fix lint
* Add documentation for test caseExponentialBucketHistogramAggregation (#3978)1 parent b1e99c1 commit e78675e
File tree
6 files changed
+933
-439
lines changed- opentelemetry-sdk
- src/opentelemetry/sdk/metrics/_internal
- exponential_histogram
- tests/metrics
- exponential_histogram
- integration_test
6 files changed
+933
-439
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
0 commit comments