Skip to content
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

Introduce an abstract super class for aggregators. #898

Merged
merged 2 commits into from
Feb 21, 2020

Conversation

jkwatson
Copy link
Contributor

This is to hold the boilerplate logic and get it out of the specific implementations.

This is to hold the boilerplate logic and get it out of the specific implementations.
@codecov-io
Copy link

codecov-io commented Feb 20, 2020

Codecov Report

Merging #898 into master will increase coverage by 0.07%.
The diff coverage is 55.55%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #898      +/-   ##
============================================
+ Coverage     82.64%   82.71%   +0.07%     
- Complexity      834      836       +2     
============================================
  Files           111      112       +1     
  Lines          2938     2939       +1     
  Branches        251      251              
============================================
+ Hits           2428     2431       +3     
+ Misses          397      396       -1     
+ Partials        113      112       -1
Impacted Files Coverage Δ Complexity Δ
...ry/sdk/metrics/aggregator/DoubleSumAggregator.java 100% <100%> (+20%) 6 <1> (ø) ⬇️
...etry/sdk/metrics/aggregator/LongSumAggregator.java 100% <100%> (+20%) 6 <1> (ø) ⬇️
...try/sdk/metrics/aggregator/AbstractAggregator.java 42.85% <42.85%> (ø) 2 <2> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d31441a...a1d4a04. Read the comment docs.

@bogdandrutu bogdandrutu merged commit e9200e6 into master Feb 21, 2020
@bogdandrutu bogdandrutu deleted the abstract_batch_recorder branch February 21, 2020 01:14
DotSpy pushed a commit to DotSpy/opentelemetry-java that referenced this pull request Feb 21, 2020
* Introduce an abstract super class for aggregators.
This is to hold the boilerplate logic and get it out of the specific implementations.

* tighten up the access modifiers and flip the assignable logic to be correct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants