To ingest metrics data, use the OTLP ingestion endpoint. The endpoints on this page are read-only dashboard endpoints.
List metric streams
GET /dashboard/metrics/
Returns all named metric streams owned by the authenticated user, including the total number of data points stored for each metric. Results are ordered alphabetically by name.
Response — 200
An array of metric stream objects.Metric name (e.g.
"system.cpu.utilization").OTLP metric type (e.g.
"gauge", "sum", "histogram").Unit of measurement (e.g.
"1", "ms", "By").Human-readable description from the OTLP payload.
Total number of data points stored for this metric stream.
Example response
Query metric data points
GET /dashboard/metrics/query
Queries data points for a named metric stream with optional label and time range filters. Returns 404 if no metric with the given name exists for the authenticated user.
Query parameters
Metric name to query (e.g.
"system.cpu.utilization").JSON-encoded label filter object (URL-encoded). Only data points whose labels contain all specified key-value pairs are returned. Example:
{"host":"web-1"}. Uses subset matching — a data point with labels {"host":"web-1","region":"us-east"} matches a filter of {"host":"web-1"}.ISO 8601 datetime. Only data points at or after this time are returned.
ISO 8601 datetime. Only data points at or before this time are returned.
Maximum number of data points to return. Data points are ordered newest-first.
Response — 200
Metric name.
Metric type (e.g.
"gauge", "sum", "histogram").Unit of measurement.
Matching data points ordered newest-first.
Example response