@arizeai/phoenix-otel@3.1.0
Arize Phoenix OpenTelemetry package v3.1.0 adds sampler and spanLimit options, re-exports common OpenTelemetry classes, adds warnings for ignored environment variables in OpenTelemetry JS 3, and replaces silent span-dropping with a TypeError for incorrectly passed exporters.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Arize Phoenix released version 3.1.0 of @arizeai/phoenix-otel. This minor update allows register() to accept sampler and spanLimits, and re-exports AlwaysOnSampler, AlwaysOffSampler, ParentBasedSampler, and TraceIdRatioBasedSampler. Additionally, register() (or BatchSpanProcessor for OTEL BSP) now logs a warning if OTEL TRACES SAMPLER, OTEL TRACES SAMPLER ARG, OTEL SPAN, OTEL ATTRIBUTE, or OTEL BSP are set without being configured in code, addressing behavior where OpenTelemetry JS 3 ignores them. Furthermore, the re-exported BatchSpanProcessor and SimpleSpanProcessor now throw a TypeError when an exporter is provided positionally rather than within an object ({ exporter }), preventing silent span dropping.
可执行摘要
Arize Phoenix released @arizeai/phoenix-otel@3.1.0. register() now accepts sampler and spanLimits configurations, re-exports standard samplers, warns when certain OpenTelemetry environment variables are set but ignored by OpenTelemetry JS 3, and throws a TypeError instead of dropping spans if exporter is passed positionally to BatchSpanProcessor or SimpleSpanProcessor.
- Agent 实用度
- 72/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Verify that BatchSpanProcessor and SimpleSpanProcessor instances are initialized with { exporter } instead of a positional exporter argument to prevent a TypeError.
- Check for warnings related to OTEL TRACES SAMPLER, OTEL TRACES SAMPLER ARG, OTEL SPAN, OTEL ATTRIBUTE, and OTEL BSP, and configure these settings in code if needed.