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 WSGI frameworks by default #3528

Closed
antonpirker opened this issue Sep 12, 2024 · 0 comments · Fixed by #3531
Closed

Don't trace OPTIONS and HEAD in WSGI frameworks by default #3528

antonpirker opened this issue Sep 12, 2024 · 0 comments · Fixed by #3531
Assignees

Comments

@antonpirker
Copy link
Member

antonpirker commented Sep 12, 2024

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

For Django and Flask 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#11348

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