prometheus/rules
Alan Protasio 606ef33d91 Track and report Samples Queried per query
We always track total samples queried and add those to the standard set
of stats queries can report.

We also allow optionally tracking per-step samples queried. This must be
enabled both at the engine and query level to be tracked and rendered.
The engine flag is exposed via a Prometheus feature flag, while the
query flag is set when stats=all.

Co-authored-by: Alan Protasio <approtas@amazon.com>
Co-authored-by: Andrew Bloomgarden <blmgrdn@amazon.com>
Co-authored-by: Harkishen Singh <harkishensingh@hotmail.com>
Signed-off-by: Andrew Bloomgarden <blmgrdn@amazon.com>
2022-03-21 23:49:17 +01:00
..
fixtures fixes yamllint errors 2021-06-12 12:47:47 +02:00
alerting.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
alerting_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
manager.go Track and report Samples Queried per query 2022-03-21 23:49:17 +01:00
manager_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
recording.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
recording_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00