|
4 | 4 |
|
5 | 5 | ### Various fixes & improvements
|
6 | 6 |
|
7 |
| -- feat(loguru): Sentry logs for Loguru (#4445) by @sentrivana |
| 7 | +- **New beta feature:** Sentry logs for Loguru (#4445) by @sentrivana |
| 8 | + |
| 9 | + We can now capture Loguru logs and send them to Sentry. |
| 10 | + |
| 11 | +```python |
| 12 | +import sentry_sdk |
| 13 | +from sentry_sdk.integrations.loguru import LoguruIntegration |
| 14 | + |
| 15 | +# Setup Sentry SDK to send Loguru log messages with a level of "error" or higher to Sentry |
| 16 | +sentry_sdk.init( |
| 17 | + _experiments={ |
| 18 | + "enable_logs": True, |
| 19 | + }, |
| 20 | + integrations=[ |
| 21 | + LoguruIntegration(sentry_logs_level=logging.ERROR), |
| 22 | + ] |
| 23 | +) |
| 24 | +``` |
| 25 | + |
8 | 26 | - fix(logs): Don't gate user behind `send_default_pii` (#4453) by @AbhiPrasad
|
9 | 27 | - fix(logging): Strip log `record.name` for more robust matching (#4411) by @romaingd-spi
|
10 | 28 | - Migrate to modern threading interface (#4452) by @emmanuel-ferdman
|
11 | 29 | - ref: Remove `_capture_experimental_log` `scope` parameter (#4424) by @szokeasaurusrex
|
12 | 30 | - feat(logs): Add user attributes to logs (#4423) by @szokeasaurusrex
|
13 |
| -- tests: Regenerate tox.ini & fix CI (#4435) by @sentrivana |
14 | 31 | - fix: fix ARQ integration error (#4427) (#4428) by @ninoseki
|
15 |
| -- Fix CI, adapt to new redis-py release (#4431) by @sentrivana |
16 | 32 | - fix(grpc): Fix AttributeError when instrumenting with OTel (#4405) by @sentrivana
|
17 | 33 | - fix(redis): Use `command_queue` instead of `command_stack` if available (#4404) by @sentrivana
|
18 |
| -- tests: Regenerate toxgen (#4403) by @sentrivana |
19 | 34 | - fix: Handle invalid `SENTRY_DEBUG` values properly (#4400) by @szokeasaurusrex
|
20 |
| -- build(deps): bump codecov/codecov-action from 5.4.2 to 5.4.3 (#4397) by @dependabot |
21 | 35 | - Increase test coverage (#4393) by @mgaligniana
|
22 | 36 | - tests(logs): avoid failures when running with integrations enabled (#4388) by @rominf
|
| 37 | +- Fix CI, adapt to new redis-py release (#4431) by @sentrivana |
| 38 | +- tests: Regenerate toxgen (#4403) by @sentrivana |
| 39 | +- tests: Regenerate tox.ini & fix CI (#4435) by @sentrivana |
| 40 | +- build(deps): bump codecov/codecov-action from 5.4.2 to 5.4.3 (#4397) by @dependabot |
23 | 41 |
|
24 | 42 | ## 2.29.1
|
25 | 43 |
|
|
0 commit comments