Skip to content

Conversation

@taisho6339
Copy link

@taisho6339 taisho6339 commented Nov 16, 2025

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

  • CONTRIBUTING guidelines followed
  • Unit tests added/updated (if applicable)
  • Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
  • Changes in public API reviewed (if applicable)

@taisho6339 taisho6339 requested a review from a team as a code owner November 16, 2025 00:18
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 16, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: taisho6339 / name: Hiroki Sakamoto (b140f49)

@taisho6339 taisho6339 changed the title Remove stale attribute combinations that are no longer observed in ObservableCounter and ObservableUpDownCounter ObservableCounter and ObservableUpDownCounter remove stale attribute combinations that are no longer observed Nov 16, 2025
@codecov
Copy link

codecov bot commented Nov 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.8%. Comparing base (95af815) to head (b140f49).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #3248   +/-   ##
=====================================
  Coverage   80.8%   80.8%           
=====================================
  Files        129     129           
  Lines      23199   23192    -7     
=====================================
- Hits       18745   18742    -3     
+ Misses      4454    4450    -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@taisho6339 taisho6339 changed the title ObservableCounter and ObservableUpDownCounter remove stale attribute combinations that are no longer observed fix: ObservableCounter and ObservableUpDownCounter remove stale attribute combinations that are no longer observed Nov 16, 2025
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.

[Bug]: observable counters and up-down counters always report all historical label set

1 participant