mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-29 23:30:04 +01:00
8c0283381d
The commit c4c77aa2dd
slightly changed how scrape_interval is detected per-time series,
so the max_lookback_unset test should be updated accordingly.
32 lines
1004 B
JSON
32 lines
1004 B
JSON
{
|
|
"name": "max_lookback_unset",
|
|
"issue": "https://github.com/VictoriaMetrics/VictoriaMetrics/issues/209",
|
|
"data": [
|
|
"max_lookback_unset 1 {TIME_S-30s}",
|
|
"max_lookback_unset 2 {TIME_S-60s}",
|
|
"max_lookback_unset 3 {TIME_S-120s}",
|
|
"max_lookback_unset 4 {TIME_S-150s}"
|
|
],
|
|
"query": ["/api/v1/query_range?query=max_lookback_unset&start={TIME_S-150s}&end={TIME_S}&step=10s"],
|
|
"result_query_range": {
|
|
"status":"success",
|
|
"data":{"resultType":"matrix",
|
|
"result":[{"metric":{"__name__":"max_lookback_unset"},"values":[
|
|
["{TIME_S-150s}","4"],
|
|
["{TIME_S-140s}","4"],
|
|
["{TIME_S-130s}","4"],
|
|
["{TIME_S-120s}","3"],
|
|
["{TIME_S-110s}","3"],
|
|
["{TIME_S-100s}","3"],
|
|
["{TIME_S-90s}","3"],
|
|
["{TIME_S-80s}","3"],
|
|
["{TIME_S-60s}","2"],
|
|
["{TIME_S-50s}","2"],
|
|
["{TIME_S-40s}","2"],
|
|
["{TIME_S-30s}","1"],
|
|
["{TIME_S-20s}","1"],
|
|
["{TIME_S-10s}","1"],
|
|
["{TIME_S-0s}","1"]
|
|
]}]}}
|
|
}
|