Ivana Kellyer
Ivana Kellyer
WIP
### Problem Statement Replace `start_transaction`s with `start_span`. (But leave `start_transaction` itself as is, just deprecated.) ### Solution Brainstorm Do it.
### How do you use Sentry? Sentry Saas (sentry.io) ### Version 1.21.1 ### Steps to Reproduce 1. Create a virtual env, activate it, and install `sentry_sdk`. 2. Create a minimal...
We started supporting `failed_request_status_code` for Starlette/FastAPI in https://github.com/getsentry/sentry-python/pull/3008. We should add the option to other web frameworks as well. - [ ] Django - [ ] Flask - [x] FastAPI...
### Problem Statement The ClickHouse integration doesn't create spans if used in Django via `django-clickhouse-backend`. This first surfaced in https://github.com/getsentry/sentry-python/issues/3088 where the whole integration would error out because `_sentry_span` was...
There's an [experimental build of Python 3.13](https://docs.python.org/3.13/whatsnew/3.13.html#free-threaded-cpython) with the GIL disabled. We should investigate how the SDK behaves on it, and ideally also run the tests against it in CI.
Run more integrations tests on Python 3.13 as soon as the related libraries start supporting 3.13. This includes at least: - [ ] gevent - [ ] anthropic - [...
* update `Propagator` (see [JS](https://github.com/getsentry/sentry-javascript/blob/develop/packages/opentelemetry/src/propagator.ts) for inspiration) * implement propagation APIs on POTelSpans: * `continue_from_headers`, `continue_from_environ`, `from_traceparent`, `iter_headers`, `to_baggage`, etc. * figure out if we still need the `Baggage` class
## Problem Before POTel, you could do: ```python span = start_span(...) sentry_sdk.get_current_scope().span = span # forgot this initially, in case you're confused by the comments # do stuff span.finish() ```...
If `keep_alive` is set to `True`, we currently set [a bunch of TCP socket options](https://github.com/getsentry/sentry-python/blob/e6ca5a28dd139097ad7c8cb468e0b9232185b728/sentry_sdk/transport.py#L41-L52). There are also respective HTTP [headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Connection_management_in_HTTP_1.x#persistent_connections) ([`Connection`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection) and [`Keep-Alive`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive)) that we don't set. Apparently HTTP/1.1...