Memory mode: Adding support for synchronous instruments - Counter#6182
Merged
jack-berg merged 2 commits intoopen-telemetry:mainfrom Jan 31, 2024
Merged
Conversation
This was referenced Jan 30, 2024
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #6182 +/- ##
============================================
- Coverage 90.97% 90.94% -0.03%
- Complexity 5670 5672 +2
============================================
Files 620 620
Lines 16535 16555 +20
Branches 1682 1695 +13
============================================
+ Hits 15042 15056 +14
+ Misses 1023 1009 -14
- Partials 470 490 +20 ☔ View full report in Codecov by Sentry. |
jack-berg
approved these changes
Jan 30, 2024
Member
jack-berg
left a comment
There was a problem hiding this comment.
Couple minor comments, but looks good. Thanks!
Contributor
Author
|
@jack-berg pushed all fixes |
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Epic
This is one of many PRs that implement #5105. See the complete plan here.
Specifically, this PR adds the implementation of
MemoryModefor the synchronous instrument: counter.What was done here?
This PR, relative to Exponential and Explicit Histogram PR, is rather trivial. It contains:
doAggregateThenMaybeResetfor bothLongSumAggregator.HandleandDoubleSumAggregator.Handle.LongSumAggregatorandDoubleSumAggregator