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

Don't trace OPTIONS and HEAD in ASGI frameworks by default #3529

Open
antonpirker opened this issue Sep 12, 2024 · 0 comments · May be fixed by #3533
Open

Don't trace OPTIONS and HEAD in ASGI frameworks by default #3529

antonpirker opened this issue Sep 12, 2024 · 0 comments · May be fixed by #3533
Assignees

Comments

@antonpirker
Copy link
Member

antonpirker commented Sep 12, 2024

Make sure that frameworks based on ASGI do not create transactions for the HTTP methods OPTIONS and HEAD by default.

For FastAPI and Starlette also add a config option to the integrations to specify which HTTP methods to create transactions for.

(For other smaller frameworks we keep the default of not creating OPTIONS and HEAD transaction, but will add an option to specify for wich HTTP methods to create transactions on request)

Docs PR:
getsentry/sentry-docs#11349

@antonpirker antonpirker changed the title Don't trace OPTIONS and HEAD in [FastAPI] requests by default Don't trace OPTIONS and HEAD in ASGI frameworks by default Sep 13, 2024
@antonpirker antonpirker self-assigned this Sep 13, 2024
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 a pull request may close this issue.

1 participant