prometheus/promql/testdata
Ganesh Vernekar 9199fcb8d1
'@ <timestamp>' modifier (#8121)
This commit adds `@ <timestamp>` modifier as per this design doc: https://docs.google.com/document/d/1uSbD3T2beM-iX4-Hp7V074bzBRiRNlqUdcWP6JTDQSs/edit.

An example query:

```
rate(process_cpu_seconds_total[1m]) 
  and
topk(7, rate(process_cpu_seconds_total[1h] @ 1234))
```

which ranks based on last 1h rate and w.r.t. unix timestamp 1234 but actually plots the 1m rate.

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2021-01-20 16:27:39 +05:30
..
aggregators.test promql: Organize legacy tests into appropriate files (#7989) 2020-10-07 10:09:20 +01:00
at_modifier.test '@ <timestamp>' modifier (#8121) 2021-01-20 16:27:39 +05:30
collision.test promql: Organize legacy tests into appropriate files (#7989) 2020-10-07 10:09:20 +01:00
functions.test '@ <timestamp>' modifier (#8121) 2021-01-20 16:27:39 +05:30
histograms.test '@ <timestamp>' modifier (#8121) 2021-01-20 16:27:39 +05:30
literals.test PromQL: Fix string and parentheses handling in engine (#6612) 2020-01-15 18:31:58 +01:00
operators.test promql: Organize legacy tests into appropriate files (#7989) 2020-10-07 10:09:20 +01:00
selectors.test promql: Organize legacy tests into appropriate files (#7989) 2020-10-07 10:09:20 +01:00
staleness.test Remove 4 interval staleness heuristic. (#3244) 2017-10-05 12:55:14 +01:00
subquery.test PromQL: Fix string and parentheses handling in engine (#6612) 2020-01-15 18:31:58 +01:00