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.string
Metric name (e.g.
"system.cpu.utilization").string
OTLP metric type (e.g.
"gauge", "sum", "histogram").string
Unit of measurement (e.g.
"1", "ms", "By").string
Human-readable description from the OTLP payload.
number
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
string
required
Metric name to query (e.g.
"system.cpu.utilization").string
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"}.string
ISO 8601 datetime. Only data points at or after this time are returned.
string
ISO 8601 datetime. Only data points at or before this time are returned.
number
default:"1000"
Maximum number of data points to return. Data points are ordered newest-first.
Response — 200
string
Metric name.
string
Metric type (e.g.
"gauge", "sum", "histogram").string
Unit of measurement.
object[]
Matching data points ordered newest-first.
Example response