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

### How do you use Sentry? Sentry Saas (sentry.io) ### Version 2.47.0 ### Description Pydantic AI's internal machinery raises [`pydantic_ai.exceptions.ToolRetryError`](https://github.com/pydantic/pydantic-ai/blob/1df9ca608632c51e30c2ab172fdeb591dd80c125/pydantic_ai_slim/pydantic_ai/exceptions.py#L169-L174) when the output of a model does not satisfy the...

Python
Bug

We use different versions of the serverless layer in different regions. For instance, we have version 175 in `af-south-1` and version 184 in `ap-south-1`. Is this a bug? cc @shellmayr

Update our test matrix with new releases of integrated frameworks and libraries. ## How it works - Scan PyPI for all supported releases of all frameworks we have a dedicated...

Component: Tests
Component: CI

### Description This PR converts all Python 2-style type annotations (in comments) into Python 3-style annotations (after `:` tokens, and inside the AST). There's a large amount of changes in...

### Description Craft will support [automatic versioning based on commit messages](https://github.com/getsentry/craft/commit/061f9fa03243e8703a59718acd7645fe6b9fbdd2) from version 2.14.0, so that you can just put "auto" (or "major", "minor", "patch") as the version to release...

### Problem Statement Currently, the OpenTelemetry `SentrySpanProcessor` does not interpret span events at all. This means that when a span has an [exception event](https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/exceptions/) attached, there's no issue visible in...

Python
Feature
Integration: Otlp

We've started using `raise e from None` instead of the older `reraise`, verify and change if necessary.

Python
Integration: OpenAI Agents
AI Insights

The current LangGraph integration does not capture errors right now. If we are hooked into a function that can raise unhandled exceptions we should capture them. Similar to here: [https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/integrations/anthropic.py#L344-L348](https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/integrations/anthropic.py#L344-L348)Also...

Python
Integration: Langgraph
AI Insights

We have a decorator [@ai_track](https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/ai/monitoring.py#L30) which creates spans with an `op` either `ai.run` or `ai.pipeline`. With the new AI insights module and agentic coding the concept of a AI pipeline...

Python
AI Insights

Make our existing cohere integration compatible with the new AI Agents insights module. All spans created by the integrations should should create all spans applicable form the [AI Insights ](https://develop.sentry.dev/sdk/telemetry/traces/modules/ai-agents/)documentation....

Python
Improvement
Integration: Cohere
AI Insights