All three signals use the same endpoint and authentication. Data is isolated to the project that owns the API key.
Endpoints
Mirador accepts OTLP over HTTP and gRPC in production and development:
For OTLP/HTTP, replace
{signal} with traces, metrics, or logs. The gateway accepts application/x-protobuf and application/json, with optional gzip compression.
When
OTEL_EXPORTER_OTLP_ENDPOINT is set to https://otel.mirador.org, standards-compliant HTTP exporters append /v1/traces, /v1/metrics, or /v1/logs automatically. Signal-specific endpoint variables must include the full path.Authentication
Send a Mirador API key in the standard OTLPAuthorization header:
- Server keys (
mir_srv_*) are intended for backend services and Collectors. - Web keys (
mir_web_*) are intended for browsers and are validated against the key’s allowed origins.
Bearer form is also accepted. In environment variables, URL-encode the space:
Configure an existing SDK
For OTLP/HTTP with protobuf:Use an OpenTelemetry Collector
Add Mirador as an exporter and send one or more pipelines to it:otlp/mirador to fan out the same telemetry to both destinations.
OTLP or the Mirador SDK?
Both feed Mirador’s trace pipeline, so you can choose per service:- Use OpenTelemetry for vendor-neutral instrumentation, existing OTel deployments, logs, and metrics.
- Use the Mirador SDK (
@miradorlabs/web-sdkor@miradorlabs/nodejs-sdk) for typed web3 APIs, provider integration, and browser-specific features.
Machine-readable contract
The live gateway publishes its canonical, agent-friendly integration contract atotel.mirador.org/llms.txt. It contains the exact enrichment event names, required attributes, endpoint rules, and complete examples.
Next steps
Traces
Export spans, events, attributes, and status
Metrics
Export counters, gauges, and distributions
Logs
Export structured logs and correlate them with traces
Enrichment hints
Track onchain and external actions from OTel spans