Anton Pirker
Anton Pirker
Cool @vetyy , thanks for linking!
Hey @AltafHussain4748 ! With version `2.17.0` of the SDK we released a fix for async openai (and anthropic) requests. Could you try the newest version of the SDK and see...
Sentry sdk serializes stack frames before determining whether the error was already handled earlier.
Hey @jvineet, you are right with your assumption. The serialization of the stack traces is done before the `before_send` hook. So there is no easy clean solution unfortunately. The only...
Internally this is called "tracing without performance" or TwP. So trace ids are present no matter if performance is enabled or not. This is implemented in most SDKs. (I know...
Example traces for both scenarios: 1) Sentry: https://sentry-sdks.sentry.io/performance/trace/468c8e612cf04fff85a6d7a08643dac9/?node=ag-bee52f45864e1065&node=txn-d1a91910d62640f3af1a7f9098bf42f7&project=6618415&query=http.method%3AGET&referrer=performance-transaction-summary&showTransactions=recent&source=performance_transaction_summary&statsPeriod=1h×tamp=1719555666&transaction=%2Fapi%2Fshows%2F%7Bshow_id%7D&unselectedSeries=p100%28%29&unselectedSeries=avg%28%29 2) Sentry using OTel: https://sentry-sdks.sentry.io/performance/trace/a159065d04eeb490536d391007264ed1/?node=txn-b691b33f2c0e45c686331b138915ed0b&project=6618415&query=http.method%3AGET&referrer=performance-transaction-summary&showTransactions=recent&source=performance_transaction_summary&statsPeriod=1h×tamp=1719555842&transaction=%2Fapi%2Fshows%2F%7Bshow_id%7D&unselectedSeries=p100%28%29&unselectedSeries=avg%28%29
1. Sentry:  [Trace in Sentry.io](https://sentry-sdks.sentry.io/performance/trace/468c8e612cf04fff85a6d7a08643dac9/?node=ag-bee52f45864e1065&node=txn-d1a91910d62640f3af1a7f9098bf42f7&project=6618415&query=http.method%3AGET&referrer=performance-transaction-summary&showTransactions=recent&source=performance_transaction_summary&statsPeriod=1h×tamp=1719555666&transaction=%2Fapi%2Fshows%2F%7Bshow_id%7D&unselectedSeries=p100%28%29&unselectedSeries=avg%28%29)
2. Sentry using OpenTelemetry  [Trace in Sentry.io](https://sentry-sdks.sentry.io/performance/trace/a159065d04eeb490536d391007264ed1/?node=txn-b691b33f2c0e45c686331b138915ed0b&project=6618415&query=http.method%3AGET&referrer=performance-transaction-summary&showTransactions=recent&source=performance_transaction_summary&statsPeriod=1h×tamp=1719555842&transaction=%2Fapi%2Fshows%2F%7Bshow_id%7D&unselectedSeries=p100%28%29&unselectedSeries=avg%28%29)
Things I noticed: - `db` connect is missing in Sentry instrumentation - OTel does not instrument middleware - None of the above show that a [FastAPI background task](https://fastapi.tiangolo.com/tutorial/background-tasks/) has been...
OTel db spans also include information about the http server: 