pydo.insights.get_prom_label_values()

Generated on 6 Nov 2026 from pydo version v0.45.0

Usage

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

Description

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

Parameters

region string required

The datacenter region slug for the query.

name string required

The label name whose values should be listed.

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": [
    "do_droplets_cpu_time",
    "do_droplets_memory_free"
  ]
}

More Information

See /v2/insights/query/{region}/prom/api/v1/label/{name}/values 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.