@arizeai/phoenix-otel@3.0.0
@arizeai/phoenix-otel v3.0.0 updates to OpenTelemetry JS 3, introduces breaking changes to register() return types and processor signatures, and requires Node.js =22.15.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
The @arizeai/phoenix-otel 3.0.0 release upgrades underlying dependencies to OpenTelemetry JS 3 (@opentelemetry/sdk-trace 3.x and @opentelemetry/api 1.10). Key breaking changes include: register() now returns a TracerProvider that no longer exposes a .register() method; custom spanProcessors must originate from @opentelemetry/sdk-trace and accept an options object (BatchSpanProcessor and SimpleSpanProcessor are re-exported); register() stops reading OTEL TRACES SAMPLER, OTEL SPAN, OTEL ATTRIBUTE, and OTEL BSP environment variables; and @arizeai/phoenix-client evaluateExperiment() now requires an @opentelemetry/sdk-trace 3.x TracerProvider. The package now demands Node.js version 22.15 or newer.
可执行摘要
Arize Phoenix release @arizeai/phoenix-otel@3.0.0 introduces breaking changes: moves to @opentelemetry/sdk-trace 3.x and @opentelemetry/api 1.10, changes register() return value and removes its nested register() method, updates custom span processor requirements, ceases automatic application of several OTEL environment variables, requires 3.x TracerProvider in phoenix-client evaluateExperiment(), and raises the…
- Agent 实用度
- 94/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade the Node.js runtime environment to version 22.15 or newer.
- Update OpenTelemetry dependencies to OpenTelemetry JS 3 (@opentelemetry/sdk-trace 3.x and @opentelemetry/api 1.10).
- Refactor code calling register() to handle the direct TracerProvider return and remove any nested .register() invocations.
- Adjust custom span processors to use the options object format (e.g., new BatchSpanProcessor({ exporter }) ).