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 default botocore handler #1765

Merged
merged 3 commits into from
Mar 1, 2023
Merged

Fix default botocore handler #1765

merged 3 commits into from
Mar 1, 2023

Conversation

basepi
Copy link
Contributor

@basepi basepi commented Feb 28, 2023

What does this pull request do?

The handle_default handler was not correctly nesting its destination context, which resulted in spans with an incorrect service.name. This meant users would see empty services in their service list (and service map) for each AWS service type, but with no transactions attached to those services.

Related issues

Ref #1054
Closes #1764

Copy link
Contributor

@beniwohli beniwohli left a comment

Choose a reason for hiding this comment

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

good catch!

@beniwohli
Copy link
Contributor

@basepi heads up, looks like you made this PR from your local main branch, so there's probably some cleaning up necessary on your side.

@basepi basepi merged commit 713eaea into elastic:main Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

botocore instrumentation creating empty services
2 participants