Skip to content

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
Contributor

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.

2 participants