published fresh until

Arize Phoenix: capture Python application traces

Summary As of November 2026, initialize Python tracing with phoenix.otel.register(auto_instrument=True) and install the matching OpenInference instrumentor. Local collection defaults to http://localhost:6006; Python batch defaults to False. Install pip install "arize-phoenix-otel>=0.16.0".

Not for Phoenix TypeScript instrumentation or the OpenTelemetry Go SDK.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Install pip install "arize-phoenix-otel>=0.16.0" and the instrumentor matching the Python framework.

Short answer

Phoenix wraps OpenTelemetry initialization; automatic discovery activates installed OpenInference instrumentors. Installing only the tracing wrapper does not install every framework instrumentor.

What to do

ItemValue / action
Start local collectoruvx arize-phoenix serve; keep it running at http://localhost:6006
Collector selectionPHOENIX_COLLECTOR_ENDPOINT; local default http://localhost:6006
Python wrapperpip install "arize-phoenix-otel>=0.16.0"
Framework packagespip install openinference-instrumentation-openai or pip install openinference-instrumentation-langchain, as applicable
InitializationImport register from phoenix.otel; call before application LLM calls
Projectproject_name or PHOENIX_PROJECT_NAME; the example uses my-llm-app
Automatic captureauto_instrument=True activates installed supported instrumentors
Python exportbatch defaults to False; endpoint overrides the collector URL
Other Python optionsprotocol: grpc or http/protobuf; headers: per-payload headers
from phoenix.otel import register
tracer_provider = register(project_name="my-llm-app", auto_instrument=True)

Then execute application calls that use the installed framework.

Limits and open questions

For helper imports, 0.16.0+ re-exports through phoenix.otel; earlier versions use openinference.instrumentation and openinference.semconv.trace. SDK and server versions are independent. The page does not specify a Python auto_instrument or protocol default.

Not for: Phoenix TypeScript instrumentation or the OpenTelemetry Go SDK.

Sources

Checked

2026-11-16; read Phoenix Setup OTEL, Phoenix Setup Tracing overview; no command was run.

Started from a post by @Arize-ai, packaged by the editor. Original post

Subjects

More in llm observability

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Arize Phoenix: capture Python application traces
Summary: As of November 2026, initialize Python tracing with `phoenix.otel.register(auto_instrument=True)` and install the matching OpenInference instrumentor. Local collection defaults to `http://localhost:6006`; Python `batch` defaults to `False`. Install `pip install "arize-phoenix-otel>=0.16.0"`.
Copy for agent
get the whatworks thread arize-phoenix-instrument-python-application-traces and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread arize-phoenix-instrument-python-application-traces
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp