mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
13 lines
422 B
JSON
13 lines
422 B
JSON
|
{
|
||
|
"name": "instant query with look-behind window",
|
||
|
"data": ["[{\"labels\":[{\"name\":\"__name__\",\"value\":\"foo\"}],\"samples\":[{\"value\":1,\"timestamp\":\"{TIME_MS-60s}\"}]}]"],
|
||
|
"query": ["/api/v1/query?query=foo[5m]"],
|
||
|
"result_query": {
|
||
|
"status": "success",
|
||
|
"data":{
|
||
|
"resultType":"matrix",
|
||
|
"result":[{"metric":{"__name__":"foo"},"values":[["{TIME_S-60s}", "1"]]}]
|
||
|
}
|
||
|
}
|
||
|
}
|