-
Notifications
You must be signed in to change notification settings - Fork 589
Closed
Description
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
- Refactor
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#2202 - Flask: Update template helper: Update Flask html meta helper #2203
- Django: Add template helper: Add Django template tag for adding sentry tracing information #2222
- Starlette/FastAPI (Jinja) Add template helper: Add Starlette/FastAPI template tag for adding sentry tracing information #2225
- Update docs to include template helper for Flask/Django/Starlette/FastAPI: [Python] Add template meta helper docs for Django/Fastapi/Starlette/Flask. sentry-docs#7325
This 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels