llama-index-instrumentation
Instrumentation and Observability for LlamaIndex
Decision gist · record as of 2026-08-14
Yes, if you need observability for LlamaIndex applications. Low install friction, permissive MIT license, active maintenance, and zero known vulnerabilities make it a straightforward addition. Not applicable outside the LlamaIndex ecosystem.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later (requires_python: >=3.10,<4.0).
- Low install friction with only 2 runtime dependencies (deprecated and pydantic).
- Active maintenance with recent commits as of 2026-08-14.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for most commercial and open-source projects.
last release 2026-03-12 (155 days) · last repo commit 2026-08-14 · 51,641 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 8,253,813 downloads/mo, #1,641 on PyPI
Alternatives
Verify before relying
pip install llama-index-instrumentation
from llama_index_instrumentation import Instrumentation
instrumentation = Instrumentation()- What observability backends or exporters are supported by the span and event system.
- Whether the dispatcher API is stable or still evolving given the recent first release.
- How this package integrates with external monitoring and tracing systems.
What it is and what it does
llama-index-instrumentation provides instrumentation hooks for observability, using spans, events, and dispatchers to capture and manage application behavior. The package is lightweight, depending only on deprecated and pydantic, and is designed to integrate with the LlamaIndex ecosystem.
The library is actively maintained with recent releases and a large backing repository. It targets Python 3.10 or later and is licensed under MIT, making it freely usable in most contexts. The instrumentation model centers on dispatchers that manage span and event handlers, enabling flexible observation of application execution.
Use it for
- Track execution flow and performance by instrumenting spans and events.
- Debug workflows by monitoring event dispatchers and their handlers.
- Collect observability data for integration with external monitoring systems.
- Observe application behavior in production deployments for performance analysis.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need observability for LlamaIndex applications.
Low install friction, permissive MIT license, active maintenance, and zero known vulnerabilities make it a straightforward addition. Not applicable outside the LlamaIndex ecosystem.
Install
llama-index-instrumentation on PyPI
Before you install
Low install friction with only 2 runtime dependencies (deprecated and pydantic). Active maintenance with recent commits as of 2026-08-14.
Requires Python 3.10 or later (requires_python: >=3.10,<4.0).
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for most commercial and open-source projects.
Quickstart
pip install llama-index-instrumentation
from llama_index_instrumentation import Instrumentation
instrumentation = Instrumentation()
Verify before relying
- What observability backends or exporters are supported by the span and event system.
- Whether the dispatcher API is stable or still evolving given the recent first release.
- How this package integrates with external monitoring and tracing systems.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesdeprecatedpydantic |
| Maintenance | Actively maintained 155 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 8,253,813 / month, #1,641 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: llama_index_instrumentation-0.5.0-py3-none-any.whl
Tags
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 › “llama index observability”
- llama-index-instrumentationProvides instrumentation hooks for observability in LlamaIndex…
- opentelemetry-instrumentation-llamaindexAdds distributed tracing to LlamaIndex applications using…
- llama-index-embeddings-langchainIntegrates Langchain embedding models with LlamaIndex, allowing you…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
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.
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.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
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.
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.
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.
See also opentelemetry-instrumentation-llamaindex · opentelemetry-instrumentation-ollama · openinference-instrumentation-llama-index · opentelemetry-instrumentation-remoulade · opentelemetry-instrumentation-aiokafka · libhoney · opentelemetry-instrumentation-groq · opentelemetry-instrumentation-celery · opentelemetry-instrumentation-redis · pyccolo