phoenix.otel SDK collapses all of it into a single function call — and adds a few Phoenix-specific capabilities on top.
For the practical how-to of installing and using these helpers, see Set up tracing. This page covers what they do under the hood.
Appreciate the Simplicity
Configuring tracing with raw OpenTelemetry — Resource, Exporter, Span Processor, Tracer Provider — looks like this:register() helper replaces all of that:
What register() Does Under the Hood
The convenience function handles four things for you. Each one has additional capabilities specific to OpenInference and Phoenix compared to the standard OTel SDK:
Version Compatibility
arize-phoenix-otel is versioned independently of the Phoenix server, and the two are not coupled — any recent SDK version works with any server version. You do not need to upgrade the server when you upgrade the SDK, or match version numbers between them.
This works because register() never calls a version-gated server endpoint. Everything it wires up rests on two backward-compatible contracts:
- OTLP transport — the exporter sends spans over the OpenTelemetry Protocol, which every Phoenix server version accepts.
- OpenInference semantic conventions — the attribute names both sides agree on, tracked in the
openinference-semantic-conventionspackage and evolved additively.
arize-phoenix-otel × Phoenix server version table to consult. (Individual features — not the SDK as a whole — may carry a minimum server version; those are noted on the relevant feature pages.)
Auto-instrumentation
register() has an auto_instrument=True option that automatically calls .instrument() on every OpenInference auto-instrumentor installed in your environment.
OpenAIInstrumentor().instrument(...), LangChainInstrumentor().instrument(...), and so on for every installed instrumentor. Just pip install the instrumentors you want active, and auto_instrument=True finds them at runtime.
For the full set of installable instrumentors, see the OpenInference repository.
Configuration
register() reads from environment variables when arguments aren’t passed:
The full signature:
Multi-project routing
Phoenix is typically deployed as one instance per environment, and each application sends all of its traces to a single project. If you need to route traces from one application to multiple projects, the options are:- Multiple
register()calls with differentproject_namevalues andset_global_tracer_provider=Falseon all but one. You then have to track which tracer provider to use where in your code. - OpenTelemetry Collector with a routing connector — let the application send all spans to the Collector, then route to different Phoenix projects (or different backends entirely) based on span attributes. See OpenTelemetry Collector.
register() call is everything you need.

