Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency sentry-sdk to v1.40.4 #139

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 31, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sentry-sdk (changelog) ==1.14.0 -> ==1.40.4 age adoption passing confidence

Release Notes

getsentry/sentry-python (sentry-sdk)

v1.40.4

Compare Source

Various fixes & improvements

v1.40.3

Compare Source

Various fixes & improvements

v1.40.2

Compare Source

Various fixes & improvements

v1.40.1

Compare Source

Various fixes & improvements

v1.40.0

Compare Source

Various fixes & improvements

v1.39.2

Compare Source

Various fixes & improvements

v1.39.1

Compare Source

Various fixes & improvements

v1.39.0

Compare Source

Various fixes & improvements

v1.38.0

Compare Source

Various fixes & improvements

v1.37.1

Compare Source

Various fixes & improvements

v1.37.0

Compare Source

Various fixes & improvements

v1.36.0

Compare Source

Various fixes & improvements

v1.35.0

Compare Source

Various fixes & improvements
  • Updated gRPC integration: Asyncio interceptors and easier setup (#​2369) by @​fdellekart

    Our gRPC integration now instruments incoming unary-unary grpc requests and outgoing unary-unary, unary-stream grpc requests using grpcio channels. Everything works now for sync and async code.

    Before this release you had to add Sentry interceptors by hand to your gRPC code, now the only thing you need to do is adding the GRPCIntegration to you sentry_sdk_init() call. (See documentation for more information):

    import sentry_sdk
    from sentry_sdk.integrations.grpc import GRPCIntegration
    
    sentry_sdk.init(
        dsn="___PUBLIC_DSN___",
        enable_tracing=True,
        integrations=[
            GRPCIntegration(),
        ],
    )

    The old way still works, but we strongly encourage you to update your code to the way described above.

  • Python 3.12: Replace deprecated datetime functions (#​2502) by @​sentrivana

  • Metrics: Unify datetime format (#​2409) by @​mitsuhiko

  • Celery: Set correct data in check_ins (#​2500) by @​antonpirker

  • Celery: Read timezone for Crons monitors from celery_schedule if existing (#​2497) by @​antonpirker

  • Django: Removing redundant code in Django tests (#​2491) by @​vagi8

  • Django: Make reading the request body work in Django ASGI apps. (#​2495) by @​antonpirker

  • FastAPI: Use wraps on fastapi request call wrapper (#​2476) by @​nkaras

  • Fix: Probe for psycopg2 and psycopg3 parameters function. (#​2492) by @​antonpirker

  • Fix: Remove unnecessary TYPE_CHECKING alias (#​2467) by @​rafrafek

v1.34.0

Compare Source

Various fixes & improvements

v1.33.1

Compare Source

Various fixes & improvements

v1.33.0

Compare Source

Various fixes & improvements

v1.32.0

Compare Source

Various fixes & improvements

make sure to set async_execution to False if you're executing

GraphQL queries synchronously

          StrawberryIntegration(async_execution=True),
      ],
      traces_sample_rate=1.0,
  )
```

v1.31.0

Compare Source

Various fixes & improvements
  • New: Add integration for clickhouse-driver (#​2167) by @​mimre25

    For more information, see the documentation for clickhouse-driver for more information.

    Usage:

      import sentry_sdk
      from sentry_sdk.integrations.clickhouse_driver import ClickhouseDriverIntegration
    
      sentry_sdk.init(
          dsn='___PUBLIC_DSN___',
          integrations=[
              ClickhouseDriverIntegration(),
          ],
      )
  • New: Add integration for asyncpg (#​2314) by @​mimre25

    For more information, see the documentation for asyncpg for more information.

    Usage:

      import sentry_sdk
      from sentry_sdk.integrations.asyncpg import AsyncPGIntegration
    
      sentry_sdk.init(
          dsn='___PUBLIC_DSN___',
          integrations=[
              AsyncPGIntegration(),
          ],
      )
  • New: Allow to override propagate_traces in Celery per task (#​2331) by @​jan-auer

    For more information, see the documentation for Celery for more information.

    Usage:

      import sentry_sdk
      from sentry_sdk.integrations.celery import CeleryIntegration

Enable global distributed traces (this is the default, just to be explicit.)

sentry_sdk.init(
    dsn='___PUBLIC_DSN___',
    integrations=[
        CeleryIntegration(propagate_traces=True),
    ],
)

...

This will NOT propagate the trace. (The task will start its own trace):

my_task_b.apply_async(
    args=("some_parameter", ),
    headers={"sentry-propagate-traces": False},
)

- Prevent Falcon integration from breaking ASGI apps (#​2359) by @​szokeasaurusrex
- Backpressure: only downsample a max of 10 times (#​2347) by @​sl0thentr0py
- Made NoOpSpan compatible to Transactions. (#​2364) by @​antonpirker
- Cleanup ASGI integration (#​2335) by @​antonpirker
- Pin anyio in tests (dep of httpx), because new major 4.0.0 breaks tests. (#​2336) by @​antonpirker
- Added link to backpressure section in docs. (#​2354) by @​antonpirker
- Add .vscode to .gitignore (#​2317) by @​shoaib-mohd
- Documenting Spans and Transactions (#​2358) by @​antonpirker
- Fix in profiler: do not call getcwd from module root (#​2329) by @​Zylphrex
- Fix deprecated version attribute (#​2338) by @​vagi8
- Fix transaction name in Starlette and FastAPI (#​2341) by @​antonpirker
- Fix tests using Postgres (#​2362) by @​antonpirker
- build(deps): Updated linting tooling (#​2350) by @​antonpirker
- build(deps): bump sphinx from 7.2.4 to 7.2.5 (#​2344) by @​dependabot
- build(deps): bump actions/checkout from 2 to 4 (#​2352) by @​dependabot
- build(deps): bump checkouts/data-schemas from `ebc77d3` to `68def1e` (#​2351) by @​dependabot

v1.30.0

Compare Source

Various fixes & improvements
  • Officially support Python 3.11 (#​2300) by @​sentrivana

  • Context manager monitor (#​2290) by @​szokeasaurusrex

  • Set response status code in transaction response context. (#​2312) by @​antonpirker

  • Add missing context kwarg to _sentry_task_factory (#​2267) by @​JohnnyDeuss

  • In Postgres take the connection params from the connection (#​2308) by @​antonpirker

  • Experimental: Allow using OTel for performance instrumentation (#​2272) by @​sentrivana

    This release includes experimental support for replacing Sentry's default
    performance monitoring solution with one powered by OpenTelemetry without having
    to do any manual setup.

    Try it out by installing pip install sentry-sdk[opentelemetry-experimental] and
    then initializing the SDK with:

    sentry_sdk.init(

...your usual options...

    _experiments={"otel_powered_performance": True},
)
```

This enables OpenTelemetry performance monitoring support for some of the most
popular frameworks and libraries (Flask, Django, FastAPI, requests...).

We're looking forward to your feedback! Please let us know about your experience
in this discussion: https://github.com/getsentry/sentry/discussions/55023

**Important note:** Please note that this feature is experimental and in a
proof-of-concept stage and is not meant for production use. It may be changed or
removed at any point.
  • Enable backpressure handling by default (#​2298) by @​sl0thentr0py

    The SDK now dynamically downsamples transactions to reduce backpressure in high
    throughput systems. It starts a new Monitor thread to perform some health checks
    which decide to downsample (halved each time) in 10 second intervals till the system
    is healthy again.

    To disable this behavior, use:

    sentry_sdk.init(

...your usual options...

    enable_backpressure_handling=False,
)
```

If your system serves heavy load, please let us know how this feature works for you!

Check out the [documentation](https://docs.sentry.io/platforms/python/configuration/options/#enable-backpressure-handling) for more information.

v1.29.2

Compare Source

Various fixes & improvements

v1.29.1

Compare Source

Various fixes & improvements

v1.29.0

Compare Source

Various fixes & improvements

v1.28.1

Compare Source

Various fixes & improvements

v1.28.0

Compare Source

Various fixes & improvements

v1.27.1

Compare Source

Various fixes & improvements
  • Add Starlette/FastAPI template tag for adding Sentry tracing information (#​2225) by @​antonpirker
    • By adding {{ sentry_trace_meta }} to your Starlette/FastAPI Jinja2 templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend.
  • Fixed generation of baggage when a DSC is already in propagation context (#​2232) by @​antonpirker
  • Handle explicitly passing None for trace_configs in aiohttp (#​2230) by @​Harmon758
  • Support newest Starlette versions (#​2227) by @​antonpirker

v1.27.0

Compare Source

Various fixes & improvements

v1.26.0

Compare Source

Various fixes & improvements

v1.25.1

Compare Source

Django update (ongoing)

Collections of improvements to our Django integration.

By: @​mgaligniana (#​1773)

Various fixes & improvements

v1.25.0

Compare Source

Various fixes & improvements

v1.24.0

Compare Source

Various fixes & improvements
  • New: Celery Beat exclude tasks option (#​2130) by @​antonpirker

    You can exclude Celery Beat tasks from being auto-instrumented. To do this, add a list of tasks you want to exclude as option exclude_beat_tasks when creating CeleryIntegration. The list can contain simple strings with the full task name, as specified in the Celery Beat schedule, or regular expressions to match multiple tasks.

    For more information, see the documentation for Crons for more information.

    Usage:

        exclude_beat_tasks = [
            "some-task-a",
            "payment-check-.*",
        ]
        sentry_sdk.init(
            dsn='___PUBLIC_DSN___',
            integrations=[
                CeleryIntegration(
                    monitor_beat_tasks=True,
                    exclude_beat_tasks=exclude_beat_tasks,
                ),
            ],
        )

    In this example the task some-task-a and all tasks with a name starting with payment-check- will be ignored.

  • New: Add support for ExceptionGroups (#​2025) by @​antonpirker

    Note: If running Self-Hosted Sentry, you should wait to adopt this SDK update until after updating to the 23.6.0 (est. June 2023) release of Sentry. Updating early will not break anything, but you will not get the full benefit of the Exception Groups improvements to issue grouping that were added to the Sentry backend.

  • Prefer importlib.metadata over pkg_resources if available (#​2081) by @​sentrivana

  • Work with a copy of request, vars in the event (#​2125) by @​sentrivana

  • Pinned version o


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@codecov
Copy link

codecov bot commented Jul 31, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (19ee804) 88.23% compared to head (b94743c) 88.23%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #139   +/-   ##
=======================================
  Coverage   88.23%   88.23%           
=======================================
  Files          72       72           
  Lines        6275     6275           
=======================================
  Hits         5537     5537           
  Misses        738      738           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title Update dependency sentry-sdk to v1.29.0 Update dependency sentry-sdk to v1.29.1 Aug 1, 2023
@renovate renovate bot force-pushed the renovate/sentry-sdk-1.x branch from b26279a to 11ee45b Compare August 1, 2023 12:06
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.29.1 Update dependency sentry-sdk to v1.29.2 Aug 1, 2023
@renovate renovate bot force-pushed the renovate/sentry-sdk-1.x branch from 11ee45b to 73940e2 Compare August 1, 2023 15:47
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.29.2 Update dependency sentry-sdk to v1.30.0 Aug 29, 2023
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.30.0 Update dependency sentry-sdk to v1.31.0 Sep 13, 2023
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.31.0 Update dependency sentry-sdk to v1.32.0 Oct 11, 2023
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.32.0 Update dependency sentry-sdk to v1.33.0 Oct 31, 2023
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.33.0 Update dependency sentry-sdk to v1.33.1 Oct 31, 2023
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.33.1 Update dependency sentry-sdk to v1.34.0 Nov 2, 2023
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.34.0 Update dependency sentry-sdk to v1.35.0 Nov 13, 2023
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.35.0 Update dependency sentry-sdk to v1.36.0 Nov 21, 2023
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.36.0 Update dependency sentry-sdk to v1.37.0 Nov 24, 2023
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.37.0 Update dependency sentry-sdk to v1.37.1 Nov 24, 2023
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.37.1 Update dependency sentry-sdk to v1.38.0 Nov 29, 2023
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.38.0 Update dependency sentry-sdk to v1.39.0 Dec 12, 2023
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.39.0 Update dependency sentry-sdk to v1.39.1 Dec 14, 2023
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.39.1 Update dependency sentry-sdk to v1.39.2 Jan 10, 2024
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.39.2 Update dependency sentry-sdk to v1.40.0 Jan 30, 2024
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.40.0 Update dependency sentry-sdk to v1.40.1 Feb 6, 2024
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.40.1 Update dependency sentry-sdk to v1.40.2 Feb 7, 2024
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.40.2 Update dependency sentry-sdk to v1.40.3 Feb 9, 2024
@renovate renovate bot changed the title Update dependency sentry-sdk to v1.40.3 Update dependency sentry-sdk to v1.40.4 Feb 13, 2024
@perllaghu perllaghu closed this Feb 19, 2024
Copy link
Contributor Author

renovate bot commented Feb 19, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (==1.40.4). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/sentry-sdk-1.x branch February 19, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant