|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## 1.30.0 |
| 4 | + |
| 5 | +### Various fixes & improvements |
| 6 | + |
| 7 | +- Officially support Python 3.11 (#2300) by @sentrivana |
| 8 | +- Context manager monitor (#2290) by @szokeasaurusrex |
| 9 | +- Set response status code in transaction `response` context. (#2312) by @antonpirker |
| 10 | +- Add missing context kwarg to `_sentry_task_factory` (#2267) by @JohnnyDeuss |
| 11 | +- In Postgres take the connection params from the connection (#2308) by @antonpirker |
| 12 | +- Experimental: Allow using OTel for performance instrumentation (#2272) by @sentrivana |
| 13 | + |
| 14 | + This release includes experimental support for replacing Sentry's default |
| 15 | + performance monitoring solution with one powered by OpenTelemetry without having |
| 16 | + to do any manual setup. |
| 17 | + |
| 18 | + Try it out by installing `pip install sentry-sdk[opentelemetry-experimental]` and |
| 19 | + then initializing the SDK with: |
| 20 | + |
| 21 | + ```python |
| 22 | + sentry_sdk.init( |
| 23 | + # ...your usual options... |
| 24 | + _experiments={"otel_powered_performance": True}, |
| 25 | + ) |
| 26 | + ``` |
| 27 | + |
| 28 | + This enables OpenTelemetry performance monitoring support for some of the most |
| 29 | + popular frameworks and libraries (Flask, Django, FastAPI, request...). |
| 30 | + |
| 31 | + We're looking forward to your feedback! Please let us know about your experience |
| 32 | + in this discussion: https://github.com/getsentry/sentry/discussions/55023 |
| 33 | + |
| 34 | + **Important note:** Please note that this feature is experimental and in a |
| 35 | + proof-of-concept stage and is not meant for production use. It may be changed or |
| 36 | + removed at any point. |
| 37 | + |
| 38 | +- Enable backpressure handling by default (#2298) by @sl0thentr0py |
| 39 | + |
| 40 | + The SDK now dynamically downsamples transactions to reduce backpressure in high |
| 41 | + throughput systems. It starts a new `Monitor` thread to perform some health checks |
| 42 | + which decide to downsample (halved each time) in 10 second intervals till the system |
| 43 | + is healthy again. |
| 44 | + |
| 45 | + To disable this behavior, use: |
| 46 | + |
| 47 | + ```python |
| 48 | + sentry_sdk.init( |
| 49 | + # ...your usual options... |
| 50 | + enable_backpressure_handling=False, |
| 51 | + ) |
| 52 | + ``` |
| 53 | + |
| 54 | + If your system serves heavy load, please let us know how this feature works for you! |
| 55 | + |
| 56 | +- Stop recording spans for internal web requests to Sentry (#2297) by @szokeasaurusrex |
| 57 | +- Add test for `ThreadPoolExecutor` (#2259) by @gggritso |
| 58 | +- Add docstrings for `Scope.update_from_*` (#2311) by @sentrivana |
| 59 | +- Moved `is_sentry_url`` to utils (#2304) by @szokeasaurusrex |
| 60 | +- Fix: arq attribute error on settings, support worker args (#2260) by @rossmacarthur |
| 61 | +- Fix: Exceptions include detail property for their value (#2193) by @nicolassanmar |
| 62 | +- build(deps): bump mypy from 1.4.1 to 1.5.1 (#2319) by @dependabot |
| 63 | +- build(deps): bump sphinx from 7.1.2 to 7.2.4 (#2322) by @dependabot |
| 64 | +- build(deps): bump sphinx from 7.0.1 to 7.1.2 (#2296) by @dependabot |
| 65 | +- build(deps): bump checkouts/data-schemas from `1b85152` to `ebc77d3` (#2254) by @dependabot |
| 66 | + |
3 | 67 | ## 1.29.2
|
4 | 68 |
|
5 | 69 | ### Various fixes & improvements
|
|
0 commit comments