Skip to main content
Mirador ingests OTLP metrics through the same gateway and authentication used for traces and logs. Metrics appear in the live catalog and can be composed into dashboards with stat, timeseries, histogram, bar, pie, and table widgets.

Supported metric types

Mirador derives counter rate and increase at query time, including handling monotonic counter resets. Histogram and exponential-histogram widgets support count, average, min, max, and quantile views.

Export metrics

Configure a standard OTLP/HTTP metric exporter:
Or configure the Node.js metrics SDK directly:

Attributes and series

Mirador preserves resource and datapoint attributes. Attribute values are converted to strings; arrays and key-value lists are JSON encoded. Use stable, bounded attributes for filtering and grouping:
  • Good: service.name, http.request.method, http.route, cloud.region, chain.name
  • Avoid: request IDs, transaction hashes, UUIDs, timestamps, and wallet addresses
Every distinct attribute set creates a separate time series. High-cardinality or constantly changing values increase storage and make dashboards harder to interpret.

Partial success

An export can accept valid datapoints while rejecting malformed or oversized ones. Mirador reports the rejected count in the standard OTLP ExportMetricsPartialSuccess response. Datapoints can be rejected when they have no metric name, carry the NO_RECORDED_VALUE flag, contain malformed histogram buckets, or exceed ingestion limits. Publish failures return a retryable OTLP error so normal SDK retry behavior applies.

Build a dashboard

After the first export:
  1. Open your project in Mirador.
  2. Go to Metrics → Dashboards.
  3. Create a dashboard and select Add widget.
  4. Choose a metric, aggregation, visualization, filters, and optional group-by attribute.
Dashboard ranges update live, and timeseries widgets can be zoomed into an absolute time window for comparison with related logs and traces.

Next steps

OpenTelemetry overview

Configure endpoints, authentication, and a Collector

Logs over OTLP

Send structured logs alongside your metrics