honeyhive, openinference-instrumentation-llama-index, and llama-index, call HoneyHiveTracer.init(), run LlamaIndexInstrumentor().instrument(tracer_provider=tracer.provider), and use your existing LlamaIndex code unchanged. See the tracing quickstart and tracer initialization guides for setup details.
LlamaIndex is a data framework for building LLM applications with retrieval-augmented generation (RAG), agents, and structured data extraction. It provides query engines, retrievers, and composable pipelines. HoneyHive integrates with LlamaIndex via the OpenInference instrumentor, automatically capturing query engine operations, LLM calls, retrieval, embeddings, and more.
How do I trace LlamaIndex with HoneyHive?
HH_API_KEY. The example below also needs OPENAI_API_KEY.
RAG example
Create a small source file before running the example:Troubleshooting
Traces not appearing
- Call
instrument()before creating LlamaIndex indexes, retrievers, or query engines. - Pass
tracer_provider=tracer.provider, especially if your app uses multiple OpenTelemetry providers or instrumentors. - Confirm
HH_API_KEYis set. For OpenAI-backed examples, confirmOPENAI_API_KEYis set.

