Skip to content

Commit 233454f

Browse files
fix(deps): update dependency sentry-sdk to v2.41.0 (#126)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [sentry-sdk](https://redirect.github.com/getsentry/sentry-python) ([changelog](https://redirect.github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)) | `==2.28.0` -> `==2.41.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/sentry-sdk/2.41.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/sentry-sdk/2.39.0/2.41.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>getsentry/sentry-python (sentry-sdk)</summary> ### [`v2.41.0`](https://redirect.github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#2410) [Compare Source](https://redirect.github.com/getsentry/sentry-python/compare/2.40.0...2.41.0) ##### Various fixes & improvements - feat: Add `concurrent.futures` patch to threading integration ([#&#8203;4770](https://redirect.github.com/getsentry/sentry-python/issues/4770)) by [@&#8203;alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb) The SDK now makes sure to automatically preserve span relationships when using `ThreadPoolExecutor`. - chore: Remove old metrics code ([#&#8203;4899](https://redirect.github.com/getsentry/sentry-python/issues/4899)) by [@&#8203;sentrivana](https://redirect.github.com/sentrivana) Removed all code related to the deprecated experimental metrics feature (`sentry_sdk.metrics`). - ref: Remove "experimental" from log function name ([#&#8203;4901](https://redirect.github.com/getsentry/sentry-python/issues/4901)) by [@&#8203;sentrivana](https://redirect.github.com/sentrivana) - fix(ai): Add mapping for gen\_ai message roles ([#&#8203;4884](https://redirect.github.com/getsentry/sentry-python/issues/4884)) by [@&#8203;shellmayr](https://redirect.github.com/shellmayr) - feat(metrics): Add trace metrics behind an experiments flag ([#&#8203;4898](https://redirect.github.com/getsentry/sentry-python/issues/4898)) by [@&#8203;k-fish](https://redirect.github.com/k-fish) ### [`v2.40.0`](https://redirect.github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#2400) [Compare Source](https://redirect.github.com/getsentry/sentry-python/compare/2.39.0...2.40.0) ##### Various fixes & improvements - Add LiteLLM integration ([#&#8203;4864](https://redirect.github.com/getsentry/sentry-python/issues/4864)) by [@&#8203;constantinius](https://redirect.github.com/constantinius) Once you've enabled the [new LiteLLM integration](https://docs.sentry.io/platforms/python/integrations/litellm/), you can use the Sentry AI Agents Monitoring, a Sentry dashboard that helps you understand what's going on with your AI requests: ```python import sentry_sdk from sentry_sdk.integrations.litellm import LiteLLMIntegration sentry_sdk.init( dsn="<your-dsn>", ``` ### Set traces\_sample\_rate to 1.0 to capture 100% ### of transactions for tracing. ``` traces_sample_rate=1.0, ``` ### 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=[ LiteLLMIntegration(), ], ``` ) ```` - Litestar: Copy request info to prevent cookies mutation (#&#8203;4883) by @&#8203;alexander-alderman-webb - Add tracing to `DramatiqIntegration` (#&#8203;4571) by @&#8203;Igreh - Also emit spans for MCP tool calls done by the LLM (#&#8203;4875) by @&#8203;constantinius - Option to not trace HTTP requests based on status codes (#&#8203;4869) by @&#8203;alexander-alderman-webb You can now disable transactions for incoming requests with specific HTTP status codes. The [new `trace_ignore_status_codes` option](https://docs.sentry.io/platforms/python/configuration/options/#trace_ignore_status_codes) accepts a `set` of status codes as integers. If a transaction wraps a request that results in one of the provided status codes, the transaction will be unsampled. ```python import sentry_sdk sentry_sdk.init( trace_ignore_status_codes={301, 302, 303, *range(305, 400), 404}, ) ```` - Move `_set_agent_data` call to `ai_client_span` function ([#&#8203;4876](https://redirect.github.com/getsentry/sentry-python/issues/4876)) by [@&#8203;constantinius](https://redirect.github.com/constantinius) - Add script to determine lowest supported versions ([#&#8203;4867](https://redirect.github.com/getsentry/sentry-python/issues/4867)) by [@&#8203;sentrivana](https://redirect.github.com/sentrivana) - Update `CONTRIBUTING.md` ([#&#8203;4870](https://redirect.github.com/getsentry/sentry-python/issues/4870)) by [@&#8203;sentrivana](https://redirect.github.com/sentrivana) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/codegen-sh/graph-sitter). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent d93f398 commit 233454f

File tree

2 files changed

+45
-34
lines changed

2 files changed

+45
-34
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies = [
3535
"rustworkx>=0.15.1",
3636
"typing-extensions>=4.12.2",
3737
"termcolor>=2.4.0",
38-
"sentry-sdk==2.28.0",
38+
"sentry-sdk==2.41.0",
3939
"click>=8.1.7",
4040
"requests>=2.32.3",
4141
"lazy-object-proxy>=0.0.0",

0 commit comments

Comments
 (0)