Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
ExponentialBucketHistogramAggregation
(#3978)
* 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 case
- Loading branch information