opentelemetry-rust
opentelemetry-rust copied to clipboard
fix: ObservableCounter and ObservableUpDownCounter remove stale attribute combinations that are no longer observed
Fixes #3213
Changes
ObservableCounter and ObservableUpDownCounter now correctly report only data points from the current measurement cycle, removing stale attribute combinations that are no longer observed.
Merge requirement checklist
- [x] CONTRIBUTING guidelines followed
- [x] Unit tests added/updated (if applicable)
- [x] Appropriate
CHANGELOG.mdfiles updated for non-trivial, user-facing changes - [ ] Changes in public API reviewed (if applicable)
The committers listed above are authorized under a signed CLA.
- :white_check_mark: login: taisho6339 / name: Hiroki Sakamoto (e98c4fd5bf4b7060d3acdce13f455d714ef0d3fe)
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 80.7%. Comparing base (65969fd) to head (e98c4fd).
Additional details and impacted files
@@ Coverage Diff @@
## main #3248 +/- ##
=======================================
- Coverage 80.7% 80.7% -0.1%
=======================================
Files 129 129
Lines 23210 23203 -7
=======================================
- Hits 18748 18741 -7
Misses 4462 4462
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Sorry for the delay. I'll review soon.