Skip to content

Commit 8adce74

Browse files
committed
Polish changelog
1 parent a7b008e commit 8adce74

File tree

1 file changed

+33
-8
lines changed

1 file changed

+33
-8
lines changed

CHANGELOG.md

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,46 @@
44

55
### Various fixes & improvements
66

7+
- OTLPIntegration (#4877) by @sl0thentr0py
8+
9+
Enable the new OTLP integration with the code snippet below, and your OpenTelemetry instrumentation will be automatically sent to Sentry's OTLP ingestion endpoint.
10+
11+
```python
12+
import sentry_sdk
13+
from sentry_sdk.integrations.otlp import OTLPIntegration
14+
15+
sentry_sdk.init(
16+
dsn="<your-dsn>",
17+
# Add data like inputs and responses;
18+
# see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
19+
send_default_pii=True,
20+
integrations=[
21+
OTLPIntegration(),
22+
],
23+
)
24+
```
25+
26+
Under the hood, this will setup:
27+
- A `SpanExporter` that will automatically set up the OTLP ingestion endpoint from your DSN
28+
- A `Propagator` that ensures Distributed Tracing works
29+
- Trace/Span linking for all other Sentry events such as Errors, Logs, Crons and Metrics
30+
31+
If you were using the `SentrySpanProcessor` before, we recommend migrating over to `OTLPIntegration` since it's a much simpler setup.
32+
33+
- feat(integrations): implement context management for invoke_agent spans (#5089) by @constantinius
34+
- feat(loguru): Capture extra (#5096) by @sentrivana
35+
- feat: Attach `server.address` to metrics (#5113) by @alexander-alderman-webb
736
- fix: Cast message and detail attributes before appending exception notes (#5114) by @alexander-alderman-webb
837
- fix(integrations): ensure that GEN_AI_AGENT_NAME is properly set for GEN_AI spans under an invoke_agent span (#5030) by @constantinius
9-
- test: add tests for either FastMCP implementation (#5075) by @constantinius
10-
- feat: Attach `server.address` to metrics (#5113) by @alexander-alderman-webb
38+
- fix(logs): Update `sentry.origin` (#5112) by @sentrivana
1139
- chore: Deprecate description truncation option for Redis spans (#5073) by @alexander-alderman-webb
1240
- chore: Deprecate `max_spans` LangChain parameter (#5074) by @alexander-alderman-webb
13-
- fix(logs): Update `sentry.origin` (#5112) by @sentrivana
1441
- chore(toxgen): Check availability of pip and add detail to exceptions (#5076) by @alexander-alderman-webb
1542
- chore: add MCP SDK Pydantic AI and OpenAI Agents to the list of auto enabled integrations (#5111) by @constantinius
16-
- ci: 🤖 Update test matrix with new releases (11/17) (#5110) by @github-actions
43+
- test: add tests for either FastMCP implementation (#5075) by @constantinius
1744
- fix(ci): Re-enable skipped tests (#5104) by @sentrivana
18-
- Force coverage core ctrace for 3.14 (#5108) by @sl0thentr0py
19-
- feat(integrations): implement context management for invoke_agent spans (#5089) by @constantinius
20-
- feat(loguru): Capture extra (#5096) by @sentrivana
21-
- OTLPIntegration (#4877) by @sl0thentr0py
45+
- ci: 🤖 Update test matrix with new releases (11/17) (#5110) by @github-actions
46+
- ci: Force coverage core ctrace for 3.14 (#5108) by @sl0thentr0py
2247

2348
## 2.44.0
2449

0 commit comments

Comments
 (0)