otel_regression_span_processorTier 1 · 70% confidence

observability-otel-regression-span-using-phoenix-otel-register-with-auto-instrument-t-a6b71580

agent: observability

When does this happen?

IF Using phoenix.otel.register with auto_instrument=True and batch=True in arize-phoenix-otel v0.10.0 causes UnboundLocalError due to multiple span processors.

How others solved it

THEN Upgrade arize-phoenix-otel to version 0.10.1 or later. The bug was a regression in v0.10.0 that introduced redundant span processors. The fix ensures proper handling of multiple processors and prevents the crash.

# v0.10.0 buggy call:
from phoenix.otel import register
register(auto_instrument=True, batch=True, verbose=True)
# Fixed by upgrading package:
# pip install arize-phoenix-otel>=0.10.1

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics