From 8b795836439dab16281e84a9404b22ff2438b7c1 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 24 Nov 2025 18:04:07 +0000
Subject: [PATCH] Bump sentry-sdk from 2.44.0 to 2.46.0 (#19218)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
2.44.0 to 2.46.0.
Sourced from sentry-sdk's
releases. OTLPIntegration (#4877)
by Enable the new OTLP integration with the code snippet below, and your
OpenTelemetry instrumentation will be automatically sent to Sentry's
OTLP ingestion endpoint. sentry_sdk.init(Release notes
2.46.0
Various fixes & improvements
@alexander-alderman-webbModuleNotFoundError in
Pydantic AI integration (#5135)
by @alexander-alderman-webb@sentrivana@constantinius@constantinius@constantinius@alexander-alderman-webbMagicMock from mocked ModelResponse
(#5126)
by @alexander-alderman-webb2.45.0
Various fixes & improvements
@sl0thentr0py import sentry_sdk
from sentry_sdk.integrations.otlp import OTLPIntegration
dsn="<your-dsn>",
# Add data like inputs and responses;
# see https://docs.sentry.io/platforms/python/data-management/data-collected/
for more info
send_default_pii=True,
integrations=[
OTLPIntegration(),
],
)
Under the hood, this will setup:
SpanExporter that will automatically set up the OTLP
ingestion endpoint from your DSNPropagator that ensures Distributed Tracing
worksIf you were using the SentrySpanProcessor before, we
recommend migrating over to OTLPIntegration since it's a
much simpler setup.
feat(integrations): implement context management for invoke_agent
spans (#5089)
by @constantinius
feat(loguru): Capture extra (#5096)
by @sentrivana
feat: Attach server.address to metrics (#5113)
by @alexander-alderman-webb
fix: Cast message and detail attributes before appending exception
notes (#5114)
by @alexander-alderman-webb
fix(integrations): ensure that GEN_AI_AGENT_NAME is properly set for
GEN_AI spans under an invoke_agent span (#5030)
by @constantinius
fix(logs): Update sentry.origin (#5112)
by @sentrivana
chore: Deprecate description truncation option for Redis spans (#5073)
by @alexander-alderman-webb
chore: Deprecate max_spans LangChain parameter (#5074)
by @alexander-alderman-webb
chore(toxgen): Check availability of pip and add detail to exceptions
(#5076)
by @alexander-alderman-webb
... (truncated)
Sourced from sentry-sdk's changelog.
2.46.0
Various fixes & improvements
- Preserve metadata on wrapped coroutines (#5105) by
@alexander-alderman-webb- Make imports defensive to avoid
ModuleNotFoundErrorin Pydantic AI integration (#5135) by@alexander-alderman-webb- Fix OpenAI agents integration mistakenly enabling itself (#5132) by
@sentrivana- Add instrumentation to embedding functions for various backends (#5120) by
@constantinius- Improve embeddings support for OpenAI (#5121) by
@constantinius- Enhance input handling for embeddings in LiteLLM integration (#5127) by
@constantinius- Expect exceptions when re-raised (#5125) by
@alexander-alderman-webb- Remove
MagicMockfrom mockedModelResponse(#5126) by@alexander-alderman-webb2.45.0
Various fixes & improvements
OTLPIntegration (#4877) by
@sl0thentr0pyEnable the new OTLP integration with the code snippet below, and your OpenTelemetry instrumentation will be automatically sent to Sentry's OTLP ingestion endpoint.
import sentry_sdk from sentry_sdk.integrations.otlp import OTLPIntegrationsentry_sdk.init(
dsn="<your-dsn>",
# Add data like inputs and responses;
# see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
send_default_pii=True,
integrations=[
OTLPIntegration(),
],
)
Under the hood, this will setup:
- A
SpanExporterthat will automatically set up the OTLP ingestion endpoint from your DSN- A
Propagatorthat ensures Distributed Tracing works- Trace/Span linking for all other Sentry events such as Errors, Logs, Crons and Metrics
If you were using the
SentrySpanProcessorbefore, we recommend migrating over toOTLPIntegrationsince it's a much simpler setup.feat(integrations): implement context management for invoke_agent spans (#5089) by
@constantiniusfeat(loguru): Capture extra (#5096) by
@sentrivanafeat: Attach
server.addressto metrics (#5113) by@alexander-alderman-webbfix: Cast message and detail attributes before appending exception notes (#5114) by
@alexander-alderman-webbfix(integrations): ensure that GEN_AI_AGENT_NAME is properly set for GEN_AI spans under an invoke_agent span (#5030) by
@constantiniusfix(logs): Update
sentry.origin(#5112) by@sentrivanachore: Deprecate description truncation option for Redis spans (#5073) by
@alexander-alderman-webb
... (truncated)
d3375bc
Update CHANGELOG.md23abfe2
release: 2.46.0ca19d63
feat: Preserve metadata on wrapped coroutines (#5105)cf165e3
build(deps): bump actions/checkout from 5.0.0 to 6.0.0 (#5136)b8d6a57
build(deps): bump actions/create-github-app-token from 2.1.4 to 2.2.0
(#5137)c0c28b8
build(deps): bump supercharge/redis-github-action from 1.8.0 to 1.8.1
(#5138)fb18c21
fix(pydantic-ai): Make imports defensive to avoid
ModuleNotFoundError (#5135)f945e38
Fix openai-agents import (#5132)8596f89
fix(integrations): enhance input handling for embeddings in LiteLLM
integrati...0e6e808
test(openai-agents): Remove MagicMock from mocked
ModelResponse (#5126)