pydo.insights.get_prom_labels()

Generated on 6 Nov 2026 from pydo version v0.45.0

Usage

client.insights.get_prom_labels(
    region="nyc3",
    start=None,
    end=None,
    match[]=None,
)
Returns JSON Raises HttpResponseError

Description

To list label names, send a GET request to /v2/insights/query/{region}/prom/api/v1/labels.

Parameters

region string required

The datacenter region slug for the query.

start string optional

Optional start timestamp (inclusive). Accepts a RFC3339 string or a UNIX timestamp.

end string optional

Optional end timestamp (inclusive). Accepts a RFC3339 string or a UNIX timestamp.

match[] array of strings optional

One or more series selectors. Repeat the parameter for multiple matchers.

Response Example

Show Response Example
{
  "status": "success",
  "data": [
    "__name__",
    "job",
    "instance"
  ]
}

More Information

See /v2/insights/query/{region}/prom/api/v1/labels in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.