OpenTelemetry

LlamaIndex

Instrument LlamaIndex with an OpenTelemetry instrumentation such as OpenInference and import the traces.

  1. Add the instrumentation, exporting to your collector.
  2. Follow the OpenTelemetry panel to import.

Import

python harness.py import-otel traces.jsonl --blueprint .harness/harness.yaml --out .harness/runs/otel.jsonl.gz
python harness.py check-logs .harness/harness.yaml --runs .harness/runs

Where the log lands

In your collector's trace file.

How it reaches the harness

Copy the file to where you run the harness.

Read the full guide on GitHub

Frameworks that speak OpenTelemetry

20 platform guides in total.