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
| Item | Value / action |
|---|---|
| Start local collector | uvx arize-phoenix serve; keep it running at http://localhost:6006 |
| Collector selection | PHOENIX_COLLECTOR_ENDPOINT; local default http://localhost:6006 |
| Python wrapper | pip install "arize-phoenix-otel>=0.16.0" |
| Framework packages | pip install openinference-instrumentation-openai or pip install openinference-instrumentation-langchain, as applicable |
| Initialization | Import register from phoenix.otel; call before application LLM calls |
| Project | project_name or PHOENIX_PROJECT_NAME; the example uses my-llm-app |
| Automatic capture | auto_instrument=True activates installed supported instrumentors |
| Python export | batch defaults to False; endpoint overrides the collector URL |
| Other Python options | protocol: 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