Skip to content

Conversation

@lucix-aws
Copy link
Contributor

@lucix-aws lucix-aws commented Nov 11, 2025

Relates aws/aws-sdk-go-v2#3197

This removes the outer "Initialize" and "BuildRequest" trace spans from operations. As implemented, these trace spans are instantiated by inserting 4 additional middlewares, which is expensive considering the traces add literally no useful information (they have no novel attributes etc.).

This cuts out another ~5m allocations in 1m calls.

I'd like to revisit having more explicit spans but in a better way - #614

@lucix-aws lucix-aws merged commit 798bf4f into main Nov 11, 2025
15 checks passed
@lucix-aws lucix-aws deleted the pointlesstracespans branch November 11, 2025 17:20
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.

2 participants