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

Ignore aws sdk v2 presign requests #9275

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Aug 22, 2023

Resolves #9238
Presign requests don't make an actual request to aws. They run only a subset of interceptor methods which cause a scope leak.

@laurit laurit requested a review from a team as a code owner August 22, 2023 10:04

// Ignore presign request. These requests don't run all interceptor methods and the span created
// here would never be ended and scope closed.
if (executionAttributes.getAttribute(AwsSignerExecutionAttribute.SERVICE_SIGNING_NAME)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@laurit laurit marked this pull request as draft August 22, 2023 10:07
@laurit laurit marked this pull request as ready for review August 22, 2023 10:22
@trask trask merged commit a9d5acc into open-telemetry:main Aug 22, 2023
46 checks passed
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.

DefaultS3Presigner from AWS SDK v2 leaks context.
3 participants