prometheus/pkg
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
..
exemplar Add exemplar support to the openmetrics parser (#6292) 2019-11-19 09:33:30 +00:00
gate Fix exported function comments (#6002) 2019-09-10 14:45:09 +01:00
labels Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
logging Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
modtimevfs *: check that assets are up-to-date (#4731) 2018-11-09 11:31:36 +01:00
pool Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
relabel Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
rulefmt Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
runtime Fix golint issues. 2020-03-23 20:38:43 +01:00
textparse Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
timestamp '@ <timestamp>' modifier (#8121) 2021-01-20 16:27:39 +05:30
value Fix spelling/typos (#4921) 2018-11-27 17:44:29 +01:00