|
4 | 4 |
|
5 | 5 | ### Various fixes & improvements
|
6 | 6 |
|
7 |
| -- Removed code coverage target (#1862) by @antonpirker |
8 |
| -- feat(profiling): Add profile context to transaction (#1860) by @Zylphrex |
9 |
| -- Always remove Django session related cookies. (#1842) by @antonpirker |
10 |
| -- Make sure to noop when there is no DSN (#1852) by @antonpirker |
11 |
| -- feat(profiling): Use co_qualname in python 3.11 (#1831) by @Zylphrex |
12 |
| -- Fix middleware being patched multiple times when using FastAPI (#1841) by @JohnnyDeuss |
13 |
| -- fix(opentelemetry): Use dict for sentry-trace context instead of tuple (#1847) by @AbhiPrasad |
14 |
| -- fix extra dependency (#1825) by @bernardotorres |
15 |
| -- Avoid import of pkg_resource with Starlette integration (#1836) by @mgu |
16 | 7 | - Add `before_send_transaction` (#1840) by @antonpirker
|
17 |
| -- feat(profiling): Enable profiling for ASGI frameworks (#1824) by @Zylphrex |
18 |
| -- feat(profiling): Better gevent support (#1822) by @Zylphrex |
19 |
| -- fix(otel): NoOpSpan updates scope (#1834) by @Zylphrex |
| 8 | + |
| 9 | + Adds a hook (similar to `before_send`) that is called for all transaction events (performance releated data). |
| 10 | + |
| 11 | + Usage: |
| 12 | + |
| 13 | + ```python |
| 14 | + import sentry_sdk |
| 15 | + |
| 16 | + def strip_sensitive_data(event, hint): |
| 17 | + # modify event here (or return `None` if you want to drop the event entirely) |
| 18 | + return event |
| 19 | + |
| 20 | + sentry_sdk.init( |
| 21 | + # ... |
| 22 | + before_send_transaction=strip_sensitive_data, |
| 23 | + ) |
| 24 | + ``` |
| 25 | + |
| 26 | + See also: https://docs.sentry.io/platforms/python/configuration/filtering/#using-platformidentifier-namebefore-send-transaction- |
| 27 | + |
| 28 | +- Django: Always remove values of Django session related cookies. (#1842) by @antonpirker |
| 29 | +- Profiling: Enable profiling for ASGI frameworks (#1824) by @Zylphrex |
| 30 | +- Profiling: Better gevent support (#1822) by @Zylphrex |
| 31 | +- Profiling: Add profile context to transaction (#1860) by @Zylphrex |
| 32 | +- Profiling: Use co_qualname in python 3.11 (#1831) by @Zylphrex |
| 33 | +- OpenTelemetry: fix Use dict for sentry-trace context instead of tuple (#1847) by @AbhiPrasad |
| 34 | +- OpenTelemetry: fix extra dependency (#1825) by @bernardotorres |
| 35 | +- OpenTelemetry: fix NoOpSpan updates scope (#1834) by @Zylphrex |
| 36 | +- OpenTelemetry: Make sure to noop when there is no DSN (#1852) by @antonpirker |
| 37 | +- FastAPI: Fix middleware being patched multiple times (#1841) by @JohnnyDeuss |
| 38 | +- Starlette: Avoid import of pkg_resource with Starlette integration (#1836) by @mgu |
| 39 | +- Removed code coverage target (#1862) by @antonpirker |
20 | 40 |
|
21 | 41 | ## 1.13.0
|
22 | 42 |
|
|
0 commit comments