Bump sentry-sdk[flask] from 1.12.1 to 1.15.0
Created by: dependabot[bot]
Bumps sentry-sdk[flask] from 1.12.1 to 1.15.0.
Release notes
Sourced from sentry-sdk[flask]'s releases.
1.15.0
Various fixes & improvements
New: Add Huey Integration (#1555) by
@Zhenay
This integration will create performance spans when Huey tasks will be enqueued and when they will be executed.
Usage:
Task definition in
demo.py
:import time from huey import SqliteHuey, crontab import sentry_sdk from sentry_sdk.integrations.huey import HueyIntegration sentry_sdk.init( dsn="...", integrations=[ HueyIntegration(), ], traces_sample_rate=1.0, ) huey = SqliteHuey(filename='/tmp/demo.db') @huey.task() def add_numbers(a, b): return a + b
Running the tasks in
run.py
:from demo import add_numbers, flaky_task, nightly_backup import sentry_sdk from sentry_sdk.integrations.huey import HueyIntegration from sentry_sdk.tracing import TRANSACTION_SOURCE_COMPONENT, Transaction def main(): sentry_sdk.init( dsn="...", integrations=[ HueyIntegration(), ],
... (truncated)
Changelog
Sourced from sentry-sdk[flask]'s changelog.
1.15.0
Various fixes & improvements
New: Add Huey Integration (#1555) by
@Zhenay
This integration will create performance spans when Huey tasks will be enqueued and when they will be executed.
Usage:
Task definition in
demo.py
:import time from huey import SqliteHuey, crontab import sentry_sdk from sentry_sdk.integrations.huey import HueyIntegration sentry_sdk.init( dsn="...", integrations=[ HueyIntegration(), ], traces_sample_rate=1.0, ) huey = SqliteHuey(filename='/tmp/demo.db') @huey.task() def add_numbers(a, b): return a + b
Running the tasks in
run.py
:from demo import add_numbers, flaky_task, nightly_backup import sentry_sdk from sentry_sdk.integrations.huey import HueyIntegration from sentry_sdk.tracing import TRANSACTION_SOURCE_COMPONENT, Transaction def main(): sentry_sdk.init( dsn="...", integrations=[ HueyIntegration(),
... (truncated)
Commits
-
b0dbdab
Made nice changelog -
c03dd67
release: 1.15.0 -
0233e27
ref(profiling): Do not send single sample profiles (#1879) -
bac5bb1
tests(profiling): Add additional test coverage for profiler (#1877) -
9d23e5f
fix(profiling): Always use builtin time.sleep (#1869) -
c2ed5ec
Fix check for Starlette in FastAPI integration (#1868) -
89a602b
tests: Add py3.11 to test-common (#1871) -
b09ff78
Do not overwrite default for username with email address in FlaskIntegration ... -
a51d615
feat(profiling): Enable profiling on all transactions (#1797) -
762557a
Add Huey Integration (#1555) - 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 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)