@arizeai/phoenix-otel configures OpenTelemetry export for Arize Phoenix and re-exports the full @arizeai/openinference-core helper surface from the same import path.
That means one package gives you Phoenix registration plus:
- OpenInference wrappers:
withSpan,traceChain,traceAgent,traceTool - method decorators:
observe - context propagation:
setSession,setUser,setMetadata,setTags,setPromptTemplate,setAttributes - attribute builders:
getLLMAttributes,getRetrieverAttributes,getEmbeddingAttributes,getToolAttributes - redaction helpers:
OITracerandOPENINFERENCE_*masking env vars - utility helpers:
withSafety,safelyJSONStringify,safelyJSONParse
The re-exported OpenInference wrappers resolve the default tracer when the wrapped function runs. Module-scoped traced helpers therefore continue following global provider changes, including experiment-scoped providers.
Installation
Start Here
- Package overview for installation, registration, configuration, instrumentation, and provider lifecycle
- Tracing helpers for
withSpan,traceChain,traceAgent,traceTool,observe, and custom input/output processors - Context attributes for sessions, users, metadata, tags, prompt templates, and manual context propagation
- Manual spans for raw OpenTelemetry spans, attribute helpers,
OITracer, and utility helpers
Local Install Pattern
After install, a coding agent can inspect:@arizeai/phoenix-otel re-exports @arizeai/openinference-core, the dependency docs are also useful:

