OpenTelemetry

Mastra

Mastra exports traces in OpenTelemetry format. Send them to your collector and import the file.

  1. Configure Mastra's telemetry export to your collector.
  2. Follow the OpenTelemetry panel to save and import the traces.

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.