Skip to content

Commit e30caaa

Browse files
Update CHANGELOG.md
1 parent d31ac85 commit e30caaa

1 file changed

Lines changed: 16 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,25 @@
22

33
## 2.60.0
44

5+
Adds a new `stream_gen_ai_spans` option that controls how `gen_ai` spans are
6+
sent to Sentry. When set, the SDK extracts all `gen_ai` spans out of a
7+
transaction and sends them as v2 envelope items.
8+
9+
Enable this option if `gen_ai` spans are being dropped because the transaction payload exceeds size limits.
10+
11+
```python
12+
import sentry_sdk
13+
14+
sentry_sdk.init(
15+
dsn='https://examplePublicKey@o0.ingest.sentry.io/0',
16+
stream_gen_ai_spans=True,
17+
)
18+
```
19+
520
### New Features ✨
621

7-
- (aiohttp) Add span streaming support by @ericapisani in [#6179](https://github.com/getsentry/sentry-python/pull/6179)
8-
- (argv) Support span streaming by @sentrivana in [#6227](https://github.com/getsentry/sentry-python/pull/6227)
922
- (asyncpg) Add cursor span support via BaseCursor method patching by @ericapisani in [#6252](https://github.com/getsentry/sentry-python/pull/6252)
10-
- (boto3) Support span streaming by @alexander-alderman-webb in [#6193](https://github.com/getsentry/sentry-python/pull/6193)
1123
- (integrations) Pass along the conversation ID for openai `responses` calls by @constantinius in [#6199](https://github.com/getsentry/sentry-python/pull/6199)
12-
- (transport) Add EnvelopePrinterTransport for debug logging by @ericapisani in [#6181](https://github.com/getsentry/sentry-python/pull/6181)
1324
- (wsgi,asgi) Introduce substitute values for filtered fields in span-streaming mode by @ericapisani in [#6178](https://github.com/getsentry/sentry-python/pull/6178)
1425
- Remove truncation when `stream_gen_ai_spans` is enabled by @alexander-alderman-webb in [#6260](https://github.com/getsentry/sentry-python/pull/6260)
1526
- Add option to send GenAI spans in the new span format by @alexander-alderman-webb in [#6079](https://github.com/getsentry/sentry-python/pull/6079)
@@ -46,7 +57,6 @@
4657

4758
#### Other
4859

49-
- (asyncio) Migrate integration to span-first by @ericapisani in [#6198](https://github.com/getsentry/sentry-python/pull/6198)
5060
- (langchain) Inline global state by @alexander-alderman-webb in [#6261](https://github.com/getsentry/sentry-python/pull/6261)
5161
- (stdlib) Only capture relevant telemetry with `capture_items()` by @alexander-alderman-webb in [#6214](https://github.com/getsentry/sentry-python/pull/6214)
5262
- (tests) Replace custom `envelopes_to_x` helpers with `capture_items` by @sentrivana in [#6233](https://github.com/getsentry/sentry-python/pull/6233)
@@ -58,12 +68,10 @@
5868
- Move batcher fork safety test to batcher tests by @sentrivana in [#6225](https://github.com/getsentry/sentry-python/pull/6225)
5969
- Introduce inline type check for whether a span is StreamedSpan by @ericapisani in [#6180](https://github.com/getsentry/sentry-python/pull/6180)
6070
- Add `botocore-stubs` by @alexander-alderman-webb in [#6203](https://github.com/getsentry/sentry-python/pull/6203)
61-
62-
### Other
63-
6471
- Add option to drop scrubbed user IP addresses by @juliosuas in [#6241](https://github.com/getsentry/sentry-python/pull/6241)
6572
- Add .warden to .gitignore by @ericapisani in [#6210](https://github.com/getsentry/sentry-python/pull/6210)
6673
- removed universal bdist_wheel option by @Muskaan436 in [#6197](https://github.com/getsentry/sentry-python/pull/6197)
74+
- (transport) Add EnvelopePrinterTransport for debug logging by @ericapisani in [#6181](https://github.com/getsentry/sentry-python/pull/6181)
6775

6876
## 2.59.0
6977

0 commit comments

Comments
 (0)