@arizeai/phoenix-otel@3.0.0
Arize Phoenix released @arizeai/phoenix-otel v3.0.0, upgrading to OpenTelemetry JS 3, requiring Node.js 22.15+, and modifying tracer provider and span processor configurations.
Why this signal matters
The @arizeai/phoenix-otel package has been updated to version 3.0.0 with major breaking changes. The library now uses OpenTelemetry JS 3 (@opentelemetry/sdk-trace 3.x and @opentelemetry/api 1.10) to support recording spans created by apps on OpenTelemetry JS 3 after calling register(). Following the OTel upgrade, register() returns the @opentelemetry/sdk-trace TracerProvider (exported as the NodeTracerProvider type), which no longer exposes a register() method. Custom spanProcessors must now originate from @opentelemetry/sdk-trace and accept an options object (BatchSpanProcessor and SimpleSpanProcessor are also re-exported). Additionally, any tracerProvider passed to @arizeai/phoenix-client evaluateExperiment() must be an @opentelemetry/sdk-trace 3.x TracerProvider. Furthermore, register() no longer respects OTEL TRACES SAMPLER, OTEL SPAN, OTEL ATTRIBUTE, or OTEL BSP environment variables, and the minimum required runtime is now Node.js 22.15.
Actionable summary
@arizeai/phoenix-otel v3.0.0 migrates to OpenTelemetry JS 3 (@opentelemetry/sdk-trace 3.x, @opentelemetry/api 1.10). Key breaking changes include: Node.js =22.15 requirement, register() returning a TracerProvider without its own register() method, removal of automatic application of OTEL TRACES , OTEL SPAN , OTEL ATTRIBUTE , and OTEL BSP environment variables in register(), and updated span processor instantiations.
- Agent usefulness
- 94/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Upgrade runtime environment to Node.js 22.15 or newer.
- Update spanProcessor instantiations to pass an options object (e.g., new BatchSpanProcessor({ exporter })) using imports from @opentelemetry/sdk-trace or @arizeai/phoenix-otel re-exports.
- Refactor code relying on a register() method on the TracerProvider returned by register().
- Manually configure sampling, span, attribute, or BSP settings previously handled via OTEL environment variables in register().