Skip to main content
OTLP spans exported to Mirador become first-class Mirador traces. They appear live in the dashboard and can be searched, inspected, and used by automations like traces created with a Mirador SDK.

How OTLP maps to Mirador

Because the trace ID is preserved, the ID attached to an OTel log record or propagated in a W3C traceparent header is the same ID you search for in Mirador.

Export traces

Configure a standard OTLP/HTTP trace exporter:
Or configure the Node.js SDK directly:
Set service.name on the OTel resource. It makes services recognizable across traces, metrics, and logs and gives you a reliable field for filtering and grouping.

Enrich traces with external actions

Mirador recognizes reserved mirador.* span events as enrichment hints. A hint can tell Mirador to follow an EVM, Solana, Canton, Safe, Relay, or Stripe action and stitch its outcome back into the same trace.
Event names and attribute keys are exact contracts. See Enrichment hints for the complete catalog and language examples.

Delivery behavior

  • Sampling matters. A hint or span cannot reach Mirador when its parent span is sampled out. Use an always-on or parent-based always-on sampler for flows that must be observed.
  • Flush before exit. Let batch processors drain, or call your provider’s shutdown/force-flush method before a short-lived process exits.
  • Retries are idempotent. Re-exporting the same span is deduplicated using deterministic command IDs.
  • Partial success is explicit. Invalid or zero trace/span IDs are counted in the OTLP RejectedSpans response while valid spans in the same export continue.
  • Timestamps are preserved. Mirador uses the SDK’s wall-clock timestamps, so emitting hosts should have a reasonably synchronized clock.

Correlate logs with traces

OTLP log records that contain trace_id and span_id remain linked to their originating trace and span. Most OTel logging integrations inject this context automatically when a log is emitted while a span is active. See Logs over OTLP for exporter configuration and preserved fields.

Next steps

Enrichment hints

Track transactions, Safe actions, Relay intents, and Stripe payments

Logs

Send structured logs with trace and span correlation