# @arizeai/phoenix-otel@3.1.0

Category: safety-research
Published: 2026-11-17T02:11:21Z
Source: [Arize Phoenix releases](https://github.com/Arize-ai/phoenix/releases/tag/%40arizeai%2Fphoenix-otel%403.1.0)
Agent usefulness: 72/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-11-19T18:17:58.893Z
Tags: observability, evaluation, tracing

## Human Summary
Arize Phoenix released @arizeai/phoenix-otel@3.1.0 , adding sampler and spanLimits options to register() , warning on ignored OpenTelemetry JS 3 environment variables, and throwing a TypeError when span processors receive an exporter positionally.

## Agent Summary
@arizeai/phoenix-otel@3.1.0 updates register() to accept sampler and spanLimits configurations, re-exports standard samplers, logs warnings for ignored OTEL environment variables under OpenTelemetry JS 3, and modifies BatchSpanProcessor and SimpleSpanProcessor to throw a TypeError instead of silently dropping spans when exporters are passed positionally.

## Body
In release 3.1.0 of @arizeai/phoenix-otel , register() now accepts sampler and spanLimits parameters, and AlwaysOnSampler , AlwaysOffSampler , ParentBasedSampler , and TraceIdRatioBasedSampler are re-exported. Because OpenTelemetry JS 3 ignores them, warnings are now logged if environment variables such as OTEL TRACES SAMPLER , OTEL TRACES SAMPLER ARG , OTEL SPAN , OTEL ATTRIBUTE , or OTEL BSP are set without matching in-code configuration. Additionally, the re-exported BatchSpanProcessor and SimpleSpanProcessor now throw a TypeError if an exporter is passed positionally rather than within an options object ( { exporter } ), preventing spans from being silently dropped.

## Recommended actions
- Ensure exporter arguments to BatchSpanProcessor and SimpleSpanProcessor are passed as an options object ({ exporter }) to avoid a TypeError.
- Verify that tracing configurations previously set through OTEL TRACES SAMPLER, OTEL SPAN, OTEL ATTRIBUTE, or OTEL BSP environment variables are explicitly passed in code via register() or custom processors.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.