sentry-python
sentry-python copied to clipboard
The official Python SDK for Sentry.io
This PR adds a way to exclude sentry-sdk from attaching to certain Django signals. This can be used to work around performance issues when sentry attaches to performance sensitive signals...
This add support for celery-redbeat (resolves #2616). Thanks to https://github.com/getsentry/sentry-python/issues/2616#issuecomment-1875438310 --- ## General Notes Thank you for contributing to `sentry-python`! Please add tests to validate your changes, and lint your...
Work on the next major of `sentry-python` is underway. Here's what's coming: ### Removing support for Python 2.7 and 3.5 * https://github.com/getsentry/sentry-python/issues/2004 * https://github.com/getsentry/sentry-python/issues/1255 Security support for both Python 2.7...
### Problem Statement At the time of Sentry's initial performance product development, OpenTelemetry was in the nascent stages of its lifecycle and was not yet optimized for our requirements. Nevertheless,...
### How do you use Sentry? Sentry Saas (sentry.io) ### Version 1.39.2 ### Steps to Reproduce We've noticed validation errors from our Crons consumer outputting `monitors.consumer.monitor_environment_mismatch`. This usually happens when...
Use case: 1. get a user id when the request is initially parsed (eg. from an `Authorization` header), and call `scope.set_user({'http-username': 'bob'})` 2. later during request processing, get some more...
According to https://develop.sentry.dev/sdk/unified-api/#scope `set_user` should "shallow merge" user data. We're instead overwriting it. Changes in this PR: * `set_user` called with a non-empty dict will now update, rather than replace,...
### How do you use Sentry? Self-hosted/on-premise ### Version 1.40.3 ### Steps to Reproduce Recently upgraded from `1.39.2` to `1.40.3`. Our AWS Lambda executors started failing with: ``` Traceback (most...
### Problem Statement Support for old 5.0.X LTS series ceased on November 2023. Previous versions weren't even LTS and are plain legacy. ### Solution Brainstorm Most of the Tryton community...
### Problem Statement Once we've [removed support for EOL Python versions](https://github.com/getsentry/sentry-python/pull/2581), we can migrate our type hints from comments to new-style `typing` hints. ### Solution Brainstorm * research tools to...