MetricQuery

POST /v1/metric-query/query-range

Changed on

QueryRange runs a range query over a time range (Prometheus /api/v1/query_range).

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

uidstring
querystring
startstring

Start time (Unix seconds). If not set or zero, defaults to (end - 1h) or (now - 1h).

endstring

End time (Unix seconds). If not set or zero, defaults to now.

stepstring

Step in seconds (e.g. 15, 60). If not set or zero, defaults to 60. When set, must be in (0, 86400].

Response

OK

responseobject

Changes