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

fix: Remove maximum queue size from BatchSpanProcessor #213

Merged
merged 2 commits into from
Jul 9, 2021

Conversation

t2t2
Copy link
Contributor

@t2t2 t2t2 commented Jul 9, 2021

Currently (at default values) if there's more than 40 spans within the 5s batching interval then all of the new ones are dropped, which is pretty low and internal usage hit this limit with ease.

Removing this value, which causes it to use the default value of 2048. For really spammy span generators the exporter's 100 per 30s per component limit still applies.

falling back to default value of 2048
@t2t2 t2t2 requested a review from a team as a code owner July 9, 2021 07:13
@t2t2 t2t2 requested a review from a team July 9, 2021 07:13
@t2t2 t2t2 temporarily deployed to integration July 9, 2021 07:13 Inactive
@t2t2 t2t2 temporarily deployed to integration July 9, 2021 07:13 Inactive
@t2t2 t2t2 temporarily deployed to integration July 9, 2021 07:13 Inactive
@t2t2 t2t2 temporarily deployed to integration July 9, 2021 07:13 Inactive
Copy link
Contributor

@mhennoch mhennoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could also make it configurable but /shrug

@t2t2 t2t2 temporarily deployed to integration July 9, 2021 09:07 Inactive
@t2t2 t2t2 temporarily deployed to integration July 9, 2021 09:07 Inactive
@t2t2 t2t2 temporarily deployed to integration July 9, 2021 09:07 Inactive
@t2t2 t2t2 temporarily deployed to integration July 9, 2021 09:07 Inactive
@t2t2 t2t2 temporarily deployed to integration July 9, 2021 09:17 Inactive
@t2t2 t2t2 temporarily deployed to integration July 9, 2021 09:17 Inactive
@t2t2 t2t2 temporarily deployed to integration July 9, 2021 09:17 Inactive
@t2t2 t2t2 temporarily deployed to integration July 9, 2021 09:17 Inactive
@t2t2 t2t2 merged commit da75a61 into main Jul 9, 2021
@t2t2 t2t2 deleted the remove-max-queue-size branch July 9, 2021 09:34
sfishel-splunk pushed a commit to sfishel-splunk/splunk-otel-js-web that referenced this pull request Jun 22, 2022
falling back to default value of 2048
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