Observability for LlamaIndex with Dynatrace

OpenLLMetry lets you trace workflows and RAG pipelines build with LlamaIndex. With 5 minutes of work you can get complete view of your system directly into Dynatrace. See how below.

Step 1

Install and initialize the SDK in your code. It will automatically detect the workflow structure in build traces.

Step 2

Go to your Dynatrace environment and create a new access token under Manage Access Tokens. The access token needs the following permission scopes that allow the ingest of OpenTelemetry spans, metrics and logs (openTelemetryTrace.ingest, metrics.ingest, logs.ingest). Set the following environment variables.

Discover use cases

Trace a LlamaIndex-based RAG pipeline

Build a RAG pipeline with Chroma and LlamaIndex. See vectors returned from Chroma, full prompt in OpenAI and responses as traces

Trace a LlamaIndex-based Agent

Build an agent with LlamaIndex. See everything your agent does including call to tools, HTTP requests, and database call as full traces