open-telemetry / open-telemetry/opentelemetry-cpp

[Metrics SDK] Handle gaps and resets for Asynchronous Instruments

Open
#1,642 4 comments 0 reactions 1 assignee View on GitHub

@lalitb is already working on this.

Since Oct 5, 2022.

bug do-not-stale
Dominant language
C++
Stars
1.4k
Forks
632
Avg merge
1d 13h
Merged PRs (30d)
75

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.