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

Add admission control to traces sdk #743

Closed
wants to merge 5 commits into from

Conversation

moh-osman3
Copy link
Contributor

Description:

This PR adds in admission control for the traces sdk pipeline. This is to address high memory usage for some services using our traces SDK. This PR avoids unnecessary allocations by rejecting requests before they are converted to pdata if the approximated request size is larger than the configured limit.

The traces sdk has a concurrentbatchprocessor in its collector pipeline which might be ineffective at dropping requests in the case that requests are batched quicker than the requests themselves are entering the sdk. The concurrentbatchprocessor also does not have a waiter limit.

@moh-osman3 moh-osman3 requested a review from a team August 12, 2024 13:56
@moh-osman3 moh-osman3 marked this pull request as ready for review August 12, 2024 18:30
@moh-osman3
Copy link
Contributor Author

Not needed.

@moh-osman3 moh-osman3 closed this Aug 15, 2024
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.

1 participant