LlamaIndex Workflows are a subset of the LlamaIndex package specifically designed to support agent development.Our LlamaIndexInstrumentor automatically captures traces for LlamaIndex Workflows agents. If you’ve already enabled that instrumentor, you do not need to complete the steps below.
Instrument your Project with LlamaIndex Instrumentor. This instrumentor will trace both LlamaIndex Workflows calls, as well as calls to the general LlamaIndex package.
Copy
from traceai_llamaindex import LlamaIndexInstrumentorLlamaIndexInstrumentor().instrument(tracer_provider=trace_provider)