sentry-python icon indicating copy to clipboard operation
sentry-python copied to clipboard

The official Python SDK for Sentry.io

Results 566 sentry-python issues
Sort by recently updated
recently updated
newest added

We're preparing our next major on this branch. The project is tracked in [Linear](https://linear.app/getsentry/project/next-major-release-d9828b7e5576/overview). If you don't have access, we'll try to tag issues belonging to the project with the...

SDK 3.0

### Problem Statement User reported via [ZD ticket](https://sentry.zendesk.com/agent/tickets/168265): Some frameworks (in this case LiveKit agents) create and manage their own asyncio event loop internally. Users can only access the async...

Integration: Asyncio
Waiting for: Product Owner
Better async support
Python
Feature

* the span status is also added as a tag, this should be removed in a major since it's redundant * `set_http_status` further adds another tag called `http.status_code`, remove this...

Python

### How do you use Sentry? Sentry Saas (sentry.io) ### Version 2.43.0 ### Steps to Reproduce Hi team! I'm having quite a few errors like these popping up in my...

Integration: Sanic
Python
Bug

### Description Always stringify exception values using the `safe_str()` method. The special-casing of the `message` and `detail` attributes resulted in missing detail. The `message` attribute is a legacy from Python...

### How do you use Sentry? Sentry Saas (sentry.io) ### Version latest ### Steps to Reproduce Make a virtual env. Do NOT install openai-agents. ```python from sentry_sdk.integrations.openai_agents import OpenAIAgentsIntegration import...

Python
Bug
Integration: OpenAI Agents

### How do you use Sentry? Self-hosted/on-premise ### Version 2.43.0 ### Steps to Reproduce Some of our exception define properties `message` and `detail`. The formatting of error message for those...

Python
Bug

Right now, starting and finishing a span without the context manager is clunky, having to call `__enter__()` and `__exit__()`. We should consider porting `activate()` and `deactivate()` from `potel-base`. Note: naming...

Python
Feature

### Problem Statement [Template strings](https://peps.python.org/pep-0750/) landed in 3.14. ### Solution Brainstorm Play around with the SDK in an app with template strings and see where it makes sense to support...

Python:3.14
Python
Feature

### Problem Statement The problem is twofold: 1. Since both `logger.error()` and `logger.exception()` create `ERROR`-level logs in Python, there is currently no way to make `logger.exception()` create an error event,...

Integration: Logging
Breaking change
Python
SDK 3.0
Feature