Skip to content

Add Starlette/FastAPI template tag for adding sentry tracing information#2225

Merged
antonpirker merged 23 commits into
masterfrom
antonpirker/fastapi-template-helper-tracing-meta
Jul 6, 2023
Merged

Add Starlette/FastAPI template tag for adding sentry tracing information#2225
antonpirker merged 23 commits into
masterfrom
antonpirker/fastapi-template-helper-tracing-meta

Conversation

@antonpirker

Copy link
Copy Markdown
Contributor

Adding sentry_trace_meta to template context so meta tags including Sentry trace information can be rendered using {{ sentry_trace_meta }} in the Jinja templates in Starlette and FastAPI.

@antonpirker
antonpirker marked this pull request as ready for review July 6, 2023 10:33

@sentrivana sentrivana left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm, left a comment to consider

Comment thread sentry_sdk/integrations/starlette.py Outdated
@antonpirker
antonpirker merged commit f07a08c into master Jul 6, 2023
@antonpirker
antonpirker deleted the antonpirker/fastapi-template-helper-tracing-meta branch July 6, 2023 12:34
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