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 support for setting transaction name to path in FastAPI #1349

Merged
merged 4 commits into from Mar 17, 2022
Merged

✨ Add support for setting transaction name to path in FastAPI #1349

merged 4 commits into from Mar 17, 2022

Conversation

tiangolo
Copy link
Contributor

✨ Add support for setting transaction name to path in FastAPI

This is related to #829 and #1165

This would work with FastAPI 0.74.1 that I just released 5 minutes ago.

Most of the functionality is already tested by the Starlette tests. I added a FastAPI test only to test the new transaction_style="url". But I'm not sure if that's desired. If it is, FastAPI would have to be added to the testing dependencies here, but I'm not even sure where, I suspect somewhere in the Tox configs, but I don't really know much about Tox 😬 , so I'll wait for feedback first.

@github-actions
Copy link

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@sl0thentr0py
Copy link
Member

thx for the contribution @tiangolo!

@sl0thentr0py sl0thentr0py merged commit 84015f9 into getsentry:master Mar 17, 2022
@tiangolo tiangolo deleted the fastapi-transaction-name branch June 16, 2022 14:38
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