$npx skillfedfor your agent

opentelemetry-instrumentation-llamaindex

OpenTelemetry LlamaIndex instrumentation

With conditionsPyPI MonitoringReleased Aug 20266.9M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — opentelemetry_instrumentation_llamaindex-0.62.3-py3-none-any.whl
v0.62.3 · released 2026-08-10 · Python <4,>=3.10 · 5 runtime deps: inflection, opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions-ai, opentelemetry-semantic-conventions

Yes, if you are building LlamaIndex applications and need observability. The package is actively maintained, has no security vulnerabilities, installs with low friction, and integrates cleanly with the OpenTelemetry ecosystem. Be aware that prompts and completions are logged by default—disable TRACELOOP_TRACE_CONTENT if handling sensitive data.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Requires an OpenTelemetry exporter and backend to be configured separately to actually send traces somewhere.
  • Low friction installation with no compiled dependencies.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.

last release 2026-08-10 (4 days) · last repo commit 2026-08-10 · 7,377 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,928,352 downloads/mo, #1,808 on PyPI

Verify before relying

pip install opentelemetry-instrumentation-llamaindex

from opentelemetry.instrumentation.llamaindex import LlamaIndexInstrumentor

LlamaIndexInstrumentor().instrument()
  • Whether the instrumentation supports all LlamaIndex components or only a subset of the API surface.
  • Performance overhead of tracing when TRACELOOP_TRACE_CONTENT is enabled versus disabled.
  • Compatibility with specific OpenTelemetry exporters and backends.
Same gist for agents: .md · .json

What it is and what it does

This package integrates OpenTelemetry tracing into LlamaIndex applications, automatically capturing spans for LLM calls, embeddings, and other operations. It hooks into LlamaIndex to record detailed traces that flow through your observability stack, making it possible to see exactly what your application is doing at each step.

By default, the instrumentation logs prompts, completions, and embeddings as span attributes, giving you full visibility into your LLM application's behavior. This can be disabled by setting the TRACELOOP_TRACE_CONTENT environment variable to false if you need to protect sensitive user data or reduce trace size. The package requires Python 3.10 or later and depends on the core OpenTelemetry API and instrumentation libraries.

Use it for

  • Debug LlamaIndex application behavior by tracing LLM calls and embeddings through your system.
  • Send traces to an OpenTelemetry backend (Jaeger, Datadog, etc.) to monitor production LLM applications.
  • Analyze latency and performance of LLM operations within a larger application.
  • Audit and log prompts and completions for compliance or quality evaluation purposes.
  • Correlate LLM calls with other application traces for end-to-end observability.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building LlamaIndex applications and need observability.

The package is actively maintained, has no security vulnerabilities, installs with low friction, and integrates cleanly with the OpenTelemetry ecosystem. Be aware that prompts and completions are logged by default—disable TRACELOOP_TRACE_CONTENT if handling sensitive data.

Install

opentelemetry-instrumentation-llamaindex on PyPI

Before you install

Low friction installation with no compiled dependencies. Actively maintained with a recent release (4 days old) and steady upstream activity. Depends on standard OpenTelemetry packages.

Requires Python 3.10 or later. Requires an OpenTelemetry exporter and backend to be configured separately to actually send traces somewhere.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.

Quickstart

pip install opentelemetry-instrumentation-llamaindex

from opentelemetry.instrumentation.llamaindex import LlamaIndexInstrumentor

LlamaIndexInstrumentor().instrument()

Verify before relying

  • Whether the instrumentation supports all LlamaIndex components or only a subset of the API surface.
  • Performance overhead of tracing when TRACELOOP_TRACE_CONTENT is enabled versus disabled.
  • Compatibility with specific OpenTelemetry exporters and backends.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <4,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
inflectionopentelemetry-apiopentelemetry-instrumentationopentelemetry-semantic-conventions-aiopentelemetry-semantic-conventions
MaintenanceActively maintained 4 days since the last release
Last repo commit
First released
Downloads6,928,352 / month, #1,808 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: opentelemetry_instrumentation_llamaindex-0.62.3-py3-none-any.whl

Tags

Capabilities
opentelemetry llamaindex tracingllm application observabilitydistributed tracing for llama indexinstrument llamaindex spansllm debugging and monitoringtrace llm calls opentelemetryllamaindex instrumentation
Topics
observabilityllm-tracinginstrumentation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “opentelemetry llamaindex tracing”

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.

Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.

Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.

Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo

See also llama-index-instrumentation · opentelemetry-instrumentation-ollama · raindrop-ai · openlit · opentelemetry-instrumentation-langchain · opentelemetry-instrumentation-haystack · opentelemetry-instrumentation-litellm · opentelemetry-instrumentation-transformers · lumigo-tracer · traceloop-sdk