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

[Metrics SDK] - Add monotonicity property to Sum Aggregation #1674

Closed
lalitb opened this issue Oct 12, 2022 · 0 comments · Fixed by #1675
Closed

[Metrics SDK] - Add monotonicity property to Sum Aggregation #1674

lalitb opened this issue Oct 12, 2022 · 0 comments · Fixed by #1675
Assignees
Labels
bug Something isn't working

Comments

@lalitb
Copy link
Member

lalitb commented Oct 12, 2022

Describe your environment

As Sum Aggregation is default mapping for both Counter, and UpDownCounter, it is important to maintain the monotonic property for this aggregation to differentiate the type of value stored. This is required to

  • validate the measurement value being recorded.
  • Select the correct metric family at the exporter. Eg Prometheus exporter should use gauge for UpDownCounter, and counter for Counter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant