sentry-python
sentry-python copied to clipboard
[FastAPI] Background Tasks
Problem Statement
Similar to other frameworks FastAPI can run background task, which should be included in contextual data
Solution Brainstorm
It would be beneficial to add distributed tracing support to background task
any update on this?
No update, sorry
Same holds true for Quart, it also offers https://quart.palletsprojects.com/en/latest/how_to_guides/background_tasks.html
any news on this? 🤔
There's an integration to fix it:
from sentry_sdk.integrations.asyncio import AsyncioIntegration
sentry_sdk.init(
dsn=...,
environment=...,
integrations=[AsyncioIntegration()],
)
This issue 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 remove the label Waiting for: Community, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀