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,
)Description
To find series matching one or more selectors, send a GET request to /v2/insights/query/{region}/prom/api/v1/series.
Parameters
regionstring requiredThe datacenter region slug for the query.
match[]array of strings requiredOne or more series selectors. At least one matcher is required. Repeat the parameter for multiple matchers.
startstring optionalOptional start timestamp (inclusive). Accepts a RFC3339 string or a UNIX timestamp.
endstring optionalOptional end timestamp (inclusive). Accepts a RFC3339 string or a UNIX timestamp.
Response Example
More Information
See /v2/insights/query/{region}/prom/api/v1/series in the API reference for additional detail on responses, headers, parameters, and more.