-
Notifications
You must be signed in to change notification settings - Fork 770
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
Remove meters from storage list when removed and handle NoRecordedValue flag when removing meters #5997
base: main
Are you sure you want to change the base?
Remove meters from storage list when removed and handle NoRecordedValue flag when removing meters #5997
Conversation
Hi @stonkie, thanks for the contribution. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5997 +/- ##
==========================================
- Coverage 84.14% 83.95% -0.20%
==========================================
Files 275 275
Lines 12560 12603 +43
==========================================
+ Hits 10569 10581 +12
- Misses 1991 2022 +31
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@Kielek : I'm going through the motions to get this done at my company and there are more hoops than I expected. EasyCLA will probably wait until Monday. |
Discussions during SIG meeting led to asking to feature flag the NoRecordedValue DataPoint to avoid changing working behavior. I'll add that and adjust the tests asap. |
…RDED_VALUE to only emil no recorded value data points as a opt-in feature
…om/stonkie/opentelemetry-dotnet into user/kcoulombe/HandleMeterDisposal
I'm not exactly sure how to format the changelog entry. Should I create an entry without version number or release date? |
Please put it under unreleased section. ## Unreleased
* Your description goes here.
And here if it is long enough.
([#5997](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5997))
``` |
…om/stonkie/opentelemetry-dotnet into user/kcoulombe/HandleMeterDisposal
@Kielek Thanks, it's done. |
Fixes #5950
Design discussion issue #
Changes
This allows clean Dispose of Meter objects which will send NoRecordedValue data points to close the series (e.g. send a staleness marker to prometheus). It also fixes the internal storage leak which would prevent frequent rotation of the metrics.
Merge requirement checklist
CHANGELOG.md
files updated for non-trivial changes