Skip to content

Commit 1aa5788

Browse files
committed
Updated changelog again
1 parent 8fe5f30 commit 1aa5788

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

CHANGELOG.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,34 @@
44

55
### Various fixes & improvements
66

7-
- Add `db.system` to redis and SQLAlchemy db spans (#2037, #2038, #2039) (#2037) by @AbhiPrasad
87
- Better handling of redis span/breadcrumb data (#2033) by @antonpirker
8+
9+
_Note:_ With this release we will limit the description of redis db spans and the data in breadcrumbs represting redis db operations to 1024 characters.
10+
11+
This can can lead to truncated data. If you do not want this there is a new parameter `max_data_size` in `RedisIntegration`. You can set this to `None` for disabling trimming.
12+
13+
Example for **disabling** trimming of redis commands in spans or breadcrumbs:
14+
15+
```python
16+
sentry_sdk.init(
17+
integrations=[
18+
RedisIntegration(max_data_size=None),
19+
]
20+
)
21+
```
22+
23+
Example for custom trim size of redis commands in spans or breadcrumbs:
24+
25+
```python
26+
sentry_sdk.init(
27+
integrations=[
28+
RedisIntegration(max_data_size=50),
29+
]
30+
)`
31+
32+
```
33+
34+
- Add `db.system` to redis and SQLAlchemy db spans (#2037, #2038, #2039) (#2037) by @AbhiPrasad
935
- Upgraded linting tooling (#2026) by @antonpirker
1036
- Made code more resilient. (#2031) by @antonpirker
1137

0 commit comments

Comments
 (0)