Skip to content

[memorylimiter] Add disable_gc configuration option#15092

Open
vyagh wants to merge 2 commits intoopen-telemetry:mainfrom
vyagh:feat/memorylimiter-disable-gc
Open

[memorylimiter] Add disable_gc configuration option#15092
vyagh wants to merge 2 commits intoopen-telemetry:mainfrom
vyagh:feat/memorylimiter-disable-gc

Conversation

@vyagh
Copy link
Copy Markdown

@vyagh vyagh commented Apr 10, 2026

Adds a disable_gc configuration option to the memory_limiter processor. This allows users to opt out of forced garbage collection while maintaining logic for data refusal when memory limits are exceeded, supporting scenarios where multiple memory limiters are composed across pipelines.

Fixes #15081

@vyagh vyagh requested a review from a team as a code owner April 10, 2026 11:08
@vyagh vyagh requested a review from bogdandrutu April 10, 2026 11:08
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.22%. Comparing base (76ede07) to head (dcd2191).
⚠️ Report is 22 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15092      +/-   ##
==========================================
- Coverage   91.24%   91.22%   -0.02%     
==========================================
  Files         697      699       +2     
  Lines       44647    44759     +112     
==========================================
+ Hits        40738    40832      +94     
- Misses       2769     2781      +12     
- Partials     1140     1146       +6     

☔ 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.

@evan-bradley evan-bradley added the ready-to-merge Code review completed; ready to merge by maintainers label Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

processor/memorylimiter ready-to-merge Code review completed; ready to merge by maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[process/memorylimiter] Allow disabling GC

4 participants