Tutorial on instrumenting a LlamaIndex application and sending traces to Arize AX
See here for more tutorials
LlamaIndexInstrumentor.
This guide focuses on LlamaIndex versions >=0.10.43 which support the current OpenInference instrumentation paradigm.
Install
Install LlamaIndex, the OpenInference instrumentor for LlamaIndex, Arize AX OTel, and supporting OpenTelemetry packages:llama-index version is compatible with the instrumentor (typically >=0.10.43 or as specified by OpenInference).
Setup Tracing
Initialize theLlamaIndexInstrumentor after setting up the Arize AX OpenTelemetry exporter.