-
Notifications
You must be signed in to change notification settings - Fork 514
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
Inject tracing HTML meta
tags in rendered HTML
#2186
Comments
duplicate |
Thanks for linking the other issue @sl0thentr0py |
why remove? just change it internally if need be, this is on the hub so technically public api |
Was just thinking this, keeping it and just change the internals. |
Use new top level api in trace_propagation_meta and also move the functions into the Hub, so they can be used in the Hub. (following the pattern of other top level API) Refs #2186
This is done, closing the issue |
Problem Statement
We have a function
trace_propagation_meta()
(https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/hub.py#L723) but it is never used anywhere.Solution Brainstorm
trace_propagation_meta()
to use the newget_traceparent()
andget_baggage()
apis (https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/api.py#L252): Use new top level api intrace_propagation_meta
#2202This will make it WAAY easier for users to setup distributed tracing for use cases when the server is the head of trace and renders HTML and the JS in the frontend then picks up the trace.
The text was updated successfully, but these errors were encountered: