opentelemetry-cpp icon indicating copy to clipboard operation
opentelemetry-cpp copied to clipboard

[Metrics SDK] Handle gaps and resets for Asynchronous Instruments

Open lalitb opened this issue 3 years ago • 4 comments

specs - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/supplementary-guidelines.md#asynchronous-example-attribute-removal-in-a-view

Any reset in the monotonically increasing value for the observable counter (refer to the example in the above link) would result in negative metrics generated for delta temporality. The SDK should be able to detect any such reset and generate metrics properly.

lalitb avatar Sep 30 '22 19:09 lalitb

Moving to post GA, as it doesn't affect public facing API.

lalitb avatar Oct 23 '22 05:10 lalitb

This issue was marked as stale due to lack of activity.

github-actions[bot] avatar Dec 23 '22 01:12 github-actions[bot]

This issue was marked as stale due to lack of activity.

github-actions[bot] avatar Mar 01 '23 02:03 github-actions[bot]

This issue was marked as stale due to lack of activity.

github-actions[bot] avatar May 02 '23 01:05 github-actions[bot]