Dash0 acquires Polar Signals

Prometheus API

Returns metadata about metrics currently scraped from targets

get/api/prometheus/api/v1/metadata

Parameters 6

limitquery

Maximum number of metrics to return. When omitted, all metrics are returned.

integerformat "int64"
limit_per_metricquery

Maximum number of metadata entries to return per metric.

integerformat "int64"
metricquery

If provided, only metadata for this metric name is returned. When omitted, metadata for all metrics is returned.

string
startquery

Start timestamp. Must be provided together with end.

stringformat "rfc3339 | unix_timestamp"
endquery

End timestamp. Must be provided together with start.

stringformat "rfc3339 | unix_timestamp"
datasetquery

Dataset to query. Defaults to the organization's default dataset.

References Dataset

Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.

stringpattern "^[a-zA-Z0-9_-]{3,26}$"
bash
Sample request
12
curl --request GET 'https://api.eu-west-1.aws.dash0.com/api/prometheus/api/v1/metadata' \
--header "Authorization: Bearer ${DASH0_AUTH_TOKEN}"

Responses

Metric metadata keyed by metric name.

stringrequired
object

Metric metadata keyed by metric name. Each metric maps to a list of metadata entries.

string[]