getsentry / getsentry/sentry-python
AsyncIOIntegration cause misbehavior in transactions created from auto-integrations
- Linguagem predominante
- Python
- Estrelas
- 2.2k
- Forks
- 669
- Merge médio
- 1d 40min
- PRs com merge (30d)
- 212
Descrição
### How do you use Sentry?
Self-hosted
### Version
2.38.0
### Steps to Reproduce
When using AsyncIO Integrations with auto-integrations found in dependency file, such as FastAPI dependency, tags explicitly set on automatically created traces from the auto-integrations, (eg: API transactions) do not show up. However, tags do show up on manually created transactions.
For reference, the Sentry SDK is initialized asynchronously alongside the FastAPI app using asyncio
### Expected Result
Tags should show up on all transactions whether they are automatically created from auto-integrations or manually created using the Sentry SDK.
### Actual Result
Transactions created from auto-integrations do not have the created tags on them
Guia de contribuição
Direção de pesquisa
Reproduce the issue using AsyncIOIntegration with a FastAPI dependency and asynchronous Sentry SDK initialization. Compare tags on transactions created by auto-integrations with tags on manually created transactions. Done means explicitly set tags appear on both kinds of transactions.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- fastapi, python
- Domínio
- backend, observability-sre
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 42/100