{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To evaluate a PromQL expression over a time range, send a GET request to `/v2/insights/query/{region}/prom/api/v1/query_range`.","properties":{"path":{"type":"object","properties":{"region":{"type":"string","examples":["nyc3"],"description":"The datacenter region slug for the query."}},"required":["region"],"additionalProperties":false},"query":{"type":"object","properties":{"query":{"type":"string","examples":["do.droplets.cpu_time"],"description":"A PromQL expression. This may be a metric selector (for example `do.droplets.cpu_time`) or a fuller expression (for example `rate(do.droplets.cpu_time[5m])`)."},"start":{"type":"string","examples":["1620683817"],"description":"Start timestamp (inclusive). Accepts a RFC3339 string or a UNIX timestamp."},"end":{"type":"string","examples":["1620705417"],"description":"End timestamp (inclusive). Accepts a RFC3339 string or a UNIX timestamp."},"step":{"type":"string","examples":["15s"],"description":"Query resolution step width as a Prometheus duration string (for example `15s`, `1m`, `1h`)."},"timeout":{"type":"string","examples":["30s"],"description":"Optional evaluation timeout as a Prometheus duration string."}},"required":["query","start","end","step"],"additionalProperties":false}},"required":["path","query"],"additionalProperties":false},"name":"Execute a range PromQL query","id":"digitalocean.insights_get_promqueryrange","example":{"path":{"region":"nyc3"},"query":{"query":"do.droplets.cpu_time","start":"1620683817","end":"1620705417","step":"15s"}},"maxRequests":1,"summary":false}}