Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add aggregation temporality conversion algorithm (#2380)
* Implement temporality conversion Fixes #2329 * Add aggregation temporality conversion algorithm Fixes #2329 * Fix start_time_unix_nano * Update opentelemetry-sdk/src/opentelemetry/sdk/_metrics/aggregation.py Co-authored-by: Srikanth Chekuri <[email protected]> * Add warning test * Update opentelemetry-sdk/src/opentelemetry/sdk/_metrics/aggregation.py Co-authored-by: Aaron Abbott <[email protected]> * Add comments to algorigthm These comments intend to identify the conditional blocks of the algorithm with the sections defined in the design document. * Add check for previous point cumulative aggregation temporality * Added named arguments for gauge * Change to gauge * Fix lint * Remove numbers from comment * Update opentelemetry-sdk/src/opentelemetry/sdk/_metrics/aggregation.py Co-authored-by: Srikanth Chekuri <[email protected]> * Revert "Update opentelemetry-sdk/src/opentelemetry/sdk/_metrics/aggregation.py" This reverts commit 8bdbe49. Co-authored-by: Srikanth Chekuri <[email protected]> Co-authored-by: Aaron Abbott <[email protected]> Co-authored-by: Alex Boten <[email protected]>
- Loading branch information