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

Increment the zero bucket using the increment multiplier #238

Merged
merged 1 commit into from
Aug 4, 2022
Merged

Conversation

jmacd
Copy link
Member

@jmacd jmacd commented Aug 4, 2022

Description: The UpdateByIncr() method increments the zero count bucket by 1 instead of incr.

Link to tracking Issue: Discovered while testing the OTC statsd receiver based on this code.

Testing: One new test added.

@codecov-commenter
Copy link

Codecov Report

Merging #238 (8c1a825) into main (bf59cc8) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #238   +/-   ##
=======================================
  Coverage   94.41%   94.41%           
=======================================
  Files          66       66           
  Lines        3491     3491           
=======================================
  Hits         3296     3296           
  Misses        149      149           
  Partials       46       46           
Impacted Files Coverage Δ
...tric/aggregator/histogram/structure/exponential.go 96.55% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@jmacd jmacd merged commit 2308a19 into main Aug 4, 2022
@jmacd jmacd deleted the jmacd/zfix branch August 4, 2022 13:15
jmacd added a commit to jmacd/opentelemetry-go that referenced this pull request Aug 4, 2022
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