prometheus/promql
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
..
fuzz-data textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
parser Run gofumpt on all files (#10392) 2022-03-03 17:21:05 +01:00
testdata address comment 2022-02-15 22:09:17 +08:00
bench_test.go Track and report Samples Queried per query 2022-03-21 23:49:17 +01:00
engine_test.go Track and report Samples Queried per query 2022-03-21 23:49:17 +01:00
engine.go Track and report Samples Queried per query 2022-03-21 23:49:17 +01:00
functions_test.go Track and report Samples Queried per query 2022-03-21 23:49:17 +01:00
functions.go Switch to grafana/regexp everywhere (#10268) 2022-02-13 00:58:27 +01:00
fuzz_test.go error for invalid media type should not be completely swallowed (#10186) 2022-02-08 10:57:56 +01:00
fuzz.go error for invalid media type should not be completely swallowed (#10186) 2022-02-08 10:57:56 +01:00
promql_test.go add doc 2022-02-13 21:59:03 +08:00
quantile.go address comment 2022-02-15 22:09:17 +08:00
query_logger_test.go Switch to grafana/regexp everywhere (#10268) 2022-02-13 00:58:27 +01:00
query_logger.go Improve error logging for missing config and QL dir (#10260) 2022-02-16 17:43:15 +01:00
test_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
test.go Track and report Samples Queried per query 2022-03-21 23:49:17 +01:00
value.go Promql: Add clarifying note to Point.MarshalJSON 2021-11-25 13:32:37 +01:00