Skip to main content

Returns a list of label names

GET 

/v1/metrics/prometheus/api/v1/labels

Retrieve a list of all label names optionally filtered by a time range and series selectors. Please ensure to change the region in the URL to match your account's region.

Request​

Query Parameters

    start string

    Start timestamp, inclusive, as an RFC3339 or Unix timestamp. Optional.

    end string

    End timestamp, inclusive, as an RFC3339 or Unix timestamp. Optional.

    match[] string[]

    Series selector to narrow down the series from which to read the label names. Optional.

    limit integer

    Maximum number of label names to return. Optional.

Responses​

List of label names.

Schema
    status string

    Status of the request (e.g., success, fail).

    data string[]
Loading...