Skip to main content

Returns a list of label names using POST

POST 

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

Submit parameters in the request body using URL-encoded form parameters to retrieve a list of label names. Please ensure to change the region in the URL to match your account's region.

Request

Body

    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

Successful retrieval of label names.

Schema
    status string

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

    data string[]
Loading...