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_id
function, 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_client
typing (#3063) by@szokeasaurusrex
- Auto-enable Anthropic integration + gate imports (#3054) by
@colin-sentry
- Made MeasurementValue.unit NotRequired (#3051) by
@antonpirker
2.1.1
- Fix trace propagation in Celery tasks started by Celery Beat. (#3047) by
@antonpirker
2.1.0
fix(quart): Fix Quart integration (#3043) by
@szokeasaurusrex
New integration: Langchain (#2911) by
@colin-sentry
Usage: (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
@czyber
Usage: (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_id
function, 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_client
typing (#3063) by@szokeasaurusrex
- Auto-enable Anthropic integration + gate imports (#3054) by
@colin-sentry
- Made MeasurementValue.unit NotRequired (#3051) by
@antonpirker
2.1.1
- Fix trace propagation in Celery tasks started by Celery Beat. (#3047) by
@antonpirker
2.1.0
fix(quart): Fix Quart integration (#3043) by
@szokeasaurusrex
New integration: Langchain (#2911) by
@colin-sentry
Usage: (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
@czyber
Usage: (add the AnthropicIntegration to your
sentry_sdk.init()
call)from anthropic import Anthropic import sentry_sdk
... (truncated)
Commits
-
1475b34
meta: Update CHANGELOG.md -
573d321
release: 2.2.0 -
06efff3
Add tags + data passing functionality to@ai
_track (#3071) -
0d7a6f7
feat: Addlast_event_id
to top-level api -
92a3698
feat(scope): Add last_event_id to Scope -
94a6c2a
fix(tracing): Only propagate headers from spans within transactions -
a02eb9c
feat(celery): Set "messaging.system" on span -
68332d8
feat(celery): Set task ID on span -
ff10b77
feat: Send Celery retry count -
72ac630
feat(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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)