You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tracing): Skip child span creation in streaming path when no current span (databases)
When span streaming is enabled and there is no current span,
database integrations should not create new root segments for
child-span operations. This adds a guard check using
`sentry_sdk.traces.get_current_span()` before creating spans
in the streaming path.
Affected integrations: aiomysql, asyncpg, clickhouse_driver,
pymongo, redis.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments