Bump sentry-sdk[flask] from 1.43.0 to 2.2.0
Created by: dependabot[bot]
Bumps sentry-sdk[flask] from 1.43.0 to 2.2.0.
Release notes
Sourced from sentry-sdk[flask]'s releases.
2.2.0
New features
- Celery integration now sends additional data to Sentry to enable new features to guage the health of your queues
- Added a new integration for Cohere
- Reintroduced the
last_event_idfunction, which had been removed in 2.0.0Other fixes & improvements
- Add tags + data passing functionality to
@ai_track (#3071) by@colin-sentry- fix(tracing): Only propagate headers from spans within transactions (#3070) by
@szokeasaurusrex- ref(metrics): Improve type hints for set metrics (#3048) by
@elramen- ref(scope): Fix
get_clienttyping (#3063) by@szokeasaurusrex- Auto-enable Anthropic integration + gate imports (#3054) by
@colin-sentry- Made MeasurementValue.unit NotRequired (#3051) by
@antonpirker2.1.1
- Fix trace propagation in Celery tasks started by Celery Beat. (#3047) by
@antonpirker2.1.0
fix(quart): Fix Quart integration (#3043) by
@szokeasaurusrexNew integration: Langchain (#2911) by
@colin-sentryUsage: (Langchain is auto enabling, so you do not need to do anything special)
from langchain_openai import ChatOpenAI import sentry_sdk sentry_sdk.init( dsn="...", enable_tracing=True, traces_sample_rate=1.0, ) llm = ChatOpenAI(model="gpt-3.5-turbo-0125", temperature=0)Check out the LangChain docs for details.
New integration: Anthropic (#2831) by
@czyberUsage: (add the AnthropicIntegration to your
sentry_sdk.init()call)from anthropic import Anthropic import sentry_sdk sentry_sdk.init( dsn="...",
... (truncated)
Changelog
Sourced from sentry-sdk[flask]'s changelog.
2.2.0
New features
- Celery integration now sends additional data to Sentry to enable new features to guage the health of your queues
- Added a new integration for Cohere
- Reintroduced the
last_event_idfunction, which had been removed in 2.0.0Other fixes & improvements
- Add tags + data passing functionality to
@ai_track (#3071) by@colin-sentry- fix(tracing): Only propagate headers from spans within transactions (#3070) by
@szokeasaurusrex- ref(metrics): Improve type hints for set metrics (#3048) by
@elramen- ref(scope): Fix
get_clienttyping (#3063) by@szokeasaurusrex- Auto-enable Anthropic integration + gate imports (#3054) by
@colin-sentry- Made MeasurementValue.unit NotRequired (#3051) by
@antonpirker2.1.1
- Fix trace propagation in Celery tasks started by Celery Beat. (#3047) by
@antonpirker2.1.0
fix(quart): Fix Quart integration (#3043) by
@szokeasaurusrexNew integration: Langchain (#2911) by
@colin-sentryUsage: (Langchain is auto enabling, so you do not need to do anything special)
from langchain_openai import ChatOpenAI import sentry_sdk sentry_sdk.init( dsn="...", enable_tracing=True, traces_sample_rate=1.0, ) llm = ChatOpenAI(model="gpt-3.5-turbo-0125", temperature=0)Check out the LangChain docs for details.
New integration: Anthropic (#2831) by
@czyberUsage: (add the AnthropicIntegration to your
sentry_sdk.init()call)from anthropic import Anthropic import sentry_sdk
... (truncated)
Commits
-
1475b34meta: Update CHANGELOG.md -
573d321release: 2.2.0 -
06efff3Add tags + data passing functionality to@ai_track (#3071) -
0d7a6f7feat: Addlast_event_idto top-level api -
92a3698feat(scope): Add last_event_id to Scope -
94a6c2afix(tracing): Only propagate headers from spans within transactions -
a02eb9cfeat(celery): Set "messaging.system" on span -
68332d8feat(celery): Set task ID on span -
ff10b77feat: Send Celery retry count -
72ac630feat(celery): Send queue name to Sentry - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)