-
Notifications
You must be signed in to change notification settings - Fork 511
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 breadcrumbs in HTTP clients #3683
Fix breadcrumbs in HTTP clients #3683
Conversation
❌ 2513 Tests Failed:
View the top 3 failed tests by shortest run time
To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice!
@@ -258,12 +264,23 @@ async def on_request_start(session, trace_config_ctx, params): | |||
params.headers[key] = value | |||
|
|||
trace_config_ctx.span = span | |||
trace_config_ctx.span_data = data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: maybe let's call it something like request_data
instead of span_data
since it's also used for breadcrumbs? (Also in the other integrations)
This moves the creation of breadcrumbs for outgoing HTTP requests from the
maybe_create_breadcrumbs_from_span
into the integrations.