sentry-python
sentry-python copied to clipboard
The official Python SDK for Sentry.io
Say we have a FastAPI application where we raise an error with a specific status code: ```python @app.get("/") async def divide_by_zero(): raise HTTPException(status_code=500) ``` This status code is missing in...
Fix: #3035 Rearrange test items so that forked tests come before normal tests within their respective modules. Swap the last forked test with the last normal test if necessary. Workaround...
Auto enable the Litestar integration added in #3358. --- Thank you for contributing to `sentry-python`! Please add tests to validate your changes, and lint your code using `tox -e linters`....
Related RFC: https://github.com/getsentry/rfcs/pull/140 TODO: - [ ] Write a better PR description. - [ ] Use an LRU cache instead of FIFO queue. - [ ] Find the best place...
### How do you use Sentry? Sentry Saas (sentry.io) ### Version latest ### Steps to Reproduce Run the following python script. ```python from bottle import route, run, template import sentry_sdk...
### How do you use Sentry? Sentry Saas (sentry.io) ### Version 2.9.0 ### Steps to Reproduce 1. Exhaust performance units quota  2. Attempt to send performance metrics, and you...
The functionality of `runtox.sh` can be also done with `tox -f` so I will remove the shell script to simplify things.
There's an [experimental build of Python 3.13](https://docs.python.org/3.13/whatsnew/3.13.html#free-threaded-cpython) with the GIL disabled. We should investigate how the SDK behaves on it, and ideally also run the tests against it in CI.
### How do you use Sentry? Sentry Saas (sentry.io) ### Version 2.11.0 ### Steps to Reproduce Steps: - Use sentry - In a temporal workflow - And issue a warning...
Run more integrations tests on Python 3.13 as soon as the related libraries start supporting 3.13. This includes at least: - [ ] gevent - [ ] anthropic - [...