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

Fix Monotonicity of Histogram aggregated by Sum #3101

Closed
wants to merge 2 commits into from

Conversation

jmacd
Copy link
Contributor

@jmacd jmacd commented Aug 19, 2022

When #2423 removed the MinMaxSumCount aggregation, histogram instruments with the "inexpensive" behavior began emitting Sum data points. Unfortunately, these Sum data points have been marked as non-monotonic, which is not a correct default.

@jmacd
Copy link
Contributor Author

jmacd commented Aug 19, 2022

This is a tiny fix in the legacy metrics SDK. I'm not sure we're accepting those today, but if possible, I'd like this fixed.

@codecov
Copy link

codecov bot commented Aug 19, 2022

Codecov Report

Merging #3101 (0639c34) into main (b9adb17) will increase coverage by 0.0%.
The diff coverage is 0.0%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #3101   +/-   ##
=====================================
  Coverage   76.2%   76.2%           
=====================================
  Files        179     179           
  Lines      11942   11942           
=====================================
+ Hits        9108    9110    +2     
+ Misses      2594    2592    -2     
  Partials     240     240           
Impacted Files Coverage Δ
sdk/metric/sdkapi/instrumentkind.go 66.6% <0.0%> (ø)
sdk/trace/batch_span_processor.go 81.9% <0.0%> (+0.8%) ⬆️

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.

None yet

1 participant