Prometheus API
Returns metadata about metrics currently scraped from targets
post
/api/prometheus/api/v1/metadatabash
Sample request1234curl --request POST 'https://api.eu-west-1.aws.dash0.com/api/prometheus/api/v1/metadata' \--header "Authorization: Bearer ${DASH0_AUTH_TOKEN}" \--header 'Content-Type: application/json' \--data-raw '{}'
Request body
References PrometheusMetadataRequest
integer
integer
string
string
string
Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.
Responses
Metric metadata keyed by metric name.
References PrometheusMetadataResponse
stringrequired
object
Metric metadata keyed by metric name. Each metric maps to a list of metadata entries.
string[]