@arizeai/phoenix-client@8.0.0
Arize Phoenix client 8.0.0 migrates to OpenTelemetry JS 3, raises the Node.js requirement to 22.15+, and removes support for certain OTEL environment variables in register().
Why this signal matters
Arize Phoenix released @arizeai/phoenix-client@8.0.0 and @arizeai/phoenix-otel@3.0.0 to support OpenTelemetry JS 3 (@opentelemetry/sdk-trace 3.x, @opentelemetry/api 1.10). Notable breaking changes include: register() now returns the @opentelemetry/sdk-trace TracerProvider (which no longer exposes a register() method); evaluateExperiment() requires an @opentelemetry/sdk-trace 3.x TracerProvider; custom span processors must be imported from @opentelemetry/sdk-trace and initialized with an options object (BatchSpanProcessor and SimpleSpanProcessor are also re-exported from @arizeai/phoenix-otel); register() stops parsing OTEL TRACES SAMPLER, OTEL SPAN, OTEL ATTRIBUTE, and OTEL BSP environment variables; and runtime environments must run Node.js 22.15 or newer.
Actionable summary
Arize Phoenix client 8.0.0 updates @arizeai/phoenix-otel to OpenTelemetry JS 3 (@opentelemetry/sdk-trace 3.x, @opentelemetry/api 1.10). Key breaking changes include register() returning an @opentelemetry/sdk-trace TracerProvider (which lacks its own register() method), requiring OTel 3.x TracerProvider in evaluateExperiment(), changing custom spanProcessor instantiation syntax, ceasing application of certain OTEL…
- Agent usefulness
- 94/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Upgrade the Node.js runtime environment to version 22.15 or newer.
- Update tracer provider implementations passed to evaluateExperiment() to @opentelemetry/sdk-trace 3.x TracerProvider.
- Adjust code calling register() to account for the returned TracerProvider lacking a register() method.
- Update custom spanProcessors initialization to pass an options object (e.g., new BatchSpanProcessor({ exporter })).