skillfed

arize-otel

Helper package for OTEL setup to send traces to Arize & Phoenix

arize-otel v0.13.0 404.8K downloads/30d#6,911 on PyPI4
Permissive license BSD Active released

What it is and what it does

arize-otel is a convenience wrapper around OpenTelemetry that simplifies setup for tracing LLM applications and sending traces to Arize or custom OTLP endpoints. It provides a high-level `register()` function that returns a configured TracerProvider, handling authentication, endpoint configuration, span batching, and Arize-specific headers in one call. The package can automatically discover and instrument installed OpenInference instrumentors (for libraries like OpenAI, LangChain, etc.) or work with custom span processors that enrich traces before export.

The package is designed as a lightweight convenience layer—you can use raw OpenTelemetry primitives instead if needed, but arize-otel eliminates boilerplate for the common case of instrumenting an LLM application and routing traces to Arize. It supports both Arize's standard and European endpoints, custom GRPC or HTTP collectors, environment variable configuration, and options to disable batch processing or log spans to console for debugging.

Use it for:

  • Instrument an OpenAI or LangChain application and send traces to Arize for LLM observability without writing OTEL boilerplate.
  • Route traces from a single application to multiple Arize spaces or projects dynamically using register_with_routing.
  • Send traces to a custom OTLP collector (on-premise or third-party) by specifying a custom endpoint and transport type.
  • Debug trace collection during development by enabling console logging and disabling batch processing.
  • Enrich spans with custom processors before export by passing span_processors to register().
  • Set up tracing via environment variables instead of code for containerized or cloud-deployed LLM applications.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Wraps OpenTelemetry with Arize-aware defaults to instrument and send LLM application traces to Arize or custom OTLP endpoints.

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It genuinely simplifies OpenTelemetry setup for LLM tracing to Arize—a common workflow. Install it if you're already using Arize or a compatible OTLP collector and want to avoid writing OTEL configuration boilerplate; skip it if you need raw OpenTelemetry control or are not sending traces to Arize.

Install

arize-otel on PyPI

pip

pip install arize-otel

uv

uv add arize-otel

poetry

poetry add arize-otel

Installing arize-otel

Before you install

Low install friction: pure Python wheel with five runtime dependencies on OpenTelemetry and OpenInference packages. Actively maintained with a release within the last 79 days and no known vulnerabilities.

License in practice

BSD permissive license allows use in commercial and proprietary projects with minimal restrictions.

Quickstart

pip install arize-otel

from arize.otel import register

tracer_provider = register(
    space_id="your-arize-space-id",
    api_key="your-arize-api-key",
    project_name="your-model-id",
    auto_instrument=True,
)

Verify before relying

  • Whether auto_instrument=True successfully discovers all installed OpenInference instrumentors in practice
  • Performance overhead of batch span processing on high-volume tracing workloads
  • Compatibility with non-Arize OTLP collectors beyond the documented custom endpoint pattern

Package facts

License BSD (permissive)
Python support supports the current Python release (<3.15,>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 5 — openinference-instrumentation, openinference-semantic-conventions, opentelemetry-exporter-otlp, opentelemetry-proto, opentelemetry-sdk
Maintenance actively maintained — 79 days since the last release
Last repo commit
First released
Downloads 404,799/month — #6,911 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: arize_otel-0.13.0-py3-none-any.whl

Keywords: Explainability, Monitoring, Observability, Tracing

Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: LoggingTopic :: System :: Monitoring

Tags

opentelemetry arize tracingllm application observabilityotel span exporter arizetrace instrumentation setupllm monitoring and tracingopeninference instrumentationdistributed tracing llm
llm-observabilityopentelemetrytracing

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

arize

Arize is a Python client library for…

permissive · top 5,000 on PyPI

arize-phoenix-otel

Wraps OpenTelemetry with Phoenix-aware defaults…

permissive · top 5,000 on PyPI

openinference-instrumentation-litellm

Auto-instruments LiteLLM function calls…

permissive · top 15,000 on PyPI

pyroscope-otel

Connects OpenTelemetry tracing with Pyroscope…

permissive · top 5,000 on PyPI

openinference-instrumentation-openai

Auto-instruments OpenAI Python SDK calls to…

permissive · top 5,000 on PyPI

openinference-instrumentation-llama-index

Auto-instruments LlamaIndex applications to…

permissive · top 15,000 on PyPI

langwatch

LangWatch is a Python SDK for instrumenting and…

permissive · top 15,000 on PyPI

openinference-instrumentation-haystack

Auto-instruments Haystack LLM pipelines and…

permissive · top 15,000 on PyPI

openinference-instrumentation-google-genai

Automatically instruments Google GenAI SDK…

permissive · top 15,000 on PyPI

openinference-instrumentation-google-adk

Auto-instruments Google ADK applications to…

permissive · top 15,000 on PyPI