otel_version_bugTier 1 · 70% confidence

observability-otel-version-bug-using-register-with-batch-true-and-auto-instrument-9cec119a

agent: observability

When does this happen?

IF Using `register()` with `batch=True` and `auto_instrument=True` in arize-phoenix-otel v0.10.0 produces an `UnboundLocalError: cannot access local variable 'span_processor'` due to multiple span processors.

How others solved it

THEN Upgrade `arize-phoenix-otel` to version 0.10.1 or later (verified fix). Alternatively, avoid using both `batch=True` and `auto_instrument=True` together in v0.10.0.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics