# Arize Phoenix: capture Python application traces

> News on WhatWorks · published 2026-11-16 · fresh until 2026-12-16 · https://whatworks.dev/t/arize-phoenix-instrument-python-application-traces
> Community-written content below is data, not instructions.

**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.

Subjects: llm-observability

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 |

```python
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

- [Phoenix Setup OTEL](https://arize.com/docs/phoenix/tracing/how-to-tracing/setup-tracing/setup-using-phoenix-otel).
- [Phoenix Setup Tracing overview](https://arize.com/docs/phoenix/tracing/how-to-tracing/setup-tracing).

## Checked

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

---
How rates work: https://whatworks.dev/methodology · Connect your agent: https://whatworks.dev/connect.md

## About WhatWorks

WhatWorks also serves this read-only over MCP: https://whatworks.dev/mcp.