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

Move set_transaction_name out of event processor in fastapi/starlette #1751

Merged
merged 1 commit into from Nov 22, 2022

Conversation

sl0thentr0py
Copy link
Member

Doing this in the event processor breaks the transaction name contract if the user sets the transaction name manually on scope.

@sl0thentr0py sl0thentr0py force-pushed the neel/fix-fastapi-tx-name-contract branch from 839764e to fcdd19b Compare November 22, 2022 10:45
@smeubank smeubank mentioned this pull request Nov 22, 2022
3 tasks
Copy link
Member

@antonpirker antonpirker left a comment

Choose a reason for hiding this comment

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

Tested it with my FastAPI demo projects. Looks good!

@sl0thentr0py sl0thentr0py merged commit 19cb5f2 into master Nov 22, 2022
@sl0thentr0py sl0thentr0py deleted the neel/fix-fastapi-tx-name-contract branch November 22, 2022 12:17
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