|
5 | 5 | ### Various fixes & improvements
|
6 | 6 |
|
7 | 7 | - Officially support Python 3.11 (#2300) by @sentrivana
|
8 |
| -- Allow to use OTel for performance instrumentation (experimental) (#2272) by @sentrivana |
9 | 8 | - Context manager monitor (#2290) by @szokeasaurusrex
|
10 | 9 | - Set response status code in transaction `response` context. (#2312) by @antonpirker
|
11 | 10 | - Add missing context kwarg to `_sentry_task_factory` (#2267) by @JohnnyDeuss
|
12 | 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 | + |
13 | 38 | - Enable backpressure handling by default (#2298) by @sl0thentr0py
|
14 | 39 | - Stop recording spans for internal web requests to Sentry (#2297) by @szokeasaurusrex
|
15 | 40 | - Add test for `ThreadPoolExecutor` (#2259) by @gggritso
|
|
0 commit comments