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

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

Merged
merged 23 commits into from
Jul 6, 2023

Conversation

antonpirker
Copy link
Member

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
Copy link
Contributor

@sentrivana sentrivana left a comment

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

sentry_sdk/integrations/starlette.py Outdated Show resolved Hide resolved
@antonpirker antonpirker merged commit f07a08c into master Jul 6, 2023
244 checks passed
@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.

None yet

2 participants