pydo.insights.get_prom_series()

Generated on 6 Nov 2026 from pydo version v0.45.0

Usage

client.insights.get_prom_series(
    region="nyc3",
    match[]=[
  "{__name__=\"do.droplets.cpu_time\"}"
],
    start=None,
    end=None,
)
Returns JSON Raises HttpResponseError

Description

To find series matching one or more selectors, send a GET request to /v2/insights/query/{region}/prom/api/v1/series.

Parameters

region string required

The datacenter region slug for the query.

match[] array of strings required

One or more series selectors. At least one matcher is required. Repeat the parameter for multiple matchers.

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.

Response Example

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

More Information

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