OpenTelemetry or recorder

CrewAI

Instrument CrewAI with an OpenTelemetry instrumentation library such as OpenInference or OpenLIT and import the traces, or call the recorder from your agents' model wrapper.

  1. Add an OpenTelemetry instrumentation for CrewAI, pointed at your collector.
  2. Follow the OpenTelemetry panel, or use the recorder as in the Anthropic API panel.

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, or wherever your service logs go.

How it reaches the harness

Copy the file or download the logs with your own access.

Read the full guide on GitHub

Frameworks that speak OpenTelemetry

20 platform guides in total.