Skip to content

docs(python): Add stream_gen_ai_spans to Python AI monitoring docs#17742

Open
obostjancic wants to merge 2 commits into
masterfrom
ognjenbostjancic/tet-2344-add-stream-gen-ai-spans-python
Open

docs(python): Add stream_gen_ai_spans to Python AI monitoring docs#17742
obostjancic wants to merge 2 commits into
masterfrom
ognjenbostjancic/tet-2344-add-stream-gen-ai-spans-python

Conversation

@obostjancic
Copy link
Copy Markdown
Member

Add stream_gen_ai_spans=True to all sentry_sdk.init() code examples across Python AI integration pages and add the option to the configuration options reference.

Integration pages updated: OpenAI, Anthropic, Google GenAI, LangChain, LangGraph, LiteLLM, HuggingFace Hub, OpenAI Agents, Pydantic AI, MCP

Configuration options page: Added stream_gen_ai_spans as a documented SDK option under Tracing Options with availableSince: 2.60.0

Refs TET-2344

Add stream_gen_ai_spans=True to sentry_sdk.init() examples across all
Python AI integration pages and add the option to the configuration
options reference page.

Refs TET-2344
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 13, 2026

TET-2344

@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment May 13, 2026 1:50pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview May 13, 2026 1:50pm

Request Review

@obostjancic obostjancic requested a review from a team May 13, 2026 13:39
@obostjancic obostjancic marked this pull request as ready for review May 13, 2026 13:39
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