Skip to content
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

[exporterhelper]: reduce default queue size to 1000 #7592

Merged
merged 1 commit into from
May 4, 2023

Conversation

swiatekm
Copy link
Contributor

@swiatekm swiatekm commented May 2, 2023

Description:
Reduce the default queue size to 1000. Combined with the defaults on batchprocessor, the current default of 5000 is too much and will lead to an OOMKill in most environments if actually filled.

1000 is probably too high still, but we don't want to make too drastic of a change here at once. See linked issue for specifics.

Link to tracking Issue: #7359

Documentation: Updated the relevant README

@swiatekm swiatekm force-pushed the fix/default-queue-size branch 2 times, most recently from 5781c05 to 6e8b292 Compare May 2, 2023 16:54
@codecov
Copy link

codecov bot commented May 2, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.01 ⚠️

Comparison is base (2c132fa) 91.23% compared to head (324e1ed) 91.23%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7592      +/-   ##
==========================================
- Coverage   91.23%   91.23%   -0.01%     
==========================================
  Files         296      296              
  Lines       14472    14471       -1     
==========================================
- Hits        13203    13202       -1     
  Misses       1004     1004              
  Partials      265      265              
Impacted Files Coverage Δ
exporter/exporterhelper/queued_retry.go 95.25% <100.00%> (-0.02%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@swiatekm swiatekm marked this pull request as ready for review May 4, 2023 09:58
@swiatekm swiatekm requested review from a team, codeboten and bogdandrutu May 4, 2023 09:58
@dmitryax dmitryax merged commit 4266b88 into open-telemetry:main May 4, 2023
@github-actions github-actions bot added this to the next release milestone May 4, 2023
@swiatekm swiatekm deleted the fix/default-queue-size branch May 5, 2023 08:59
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.

3 participants