prometheus/promql
Bryan Boreham 5cea37c069
Merge pull request #12682 from bboreham/contains-same-label-set
promql engine: check unique labels using existing map

ContainsSameLabelset constructs a map with the same hash key as the one used to compile the output of rangeEval, so we can use that one and save work.

Need to hold the timestamp so we can be sure we saw the same series in the same evaluation.
2023-08-14 14:12:47 +01:00
..
fuzz-data textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
parser enhance histogram_quantile to get min/max value 2023-07-12 04:29:54 +08:00
testdata Drop metric name for "atan2" binary operator 2023-07-24 14:36:02 +02:00
bench_test.go Address PR feedback: clarify comment 2023-08-02 11:48:34 +10:00
engine.go Merge pull request #12682 from bboreham/contains-same-label-set 2023-08-14 14:12:47 +01:00
engine_test.go Address PR feedback: use loop to create expected test result 2023-08-01 13:30:12 +10:00
functions.go enhance histogram_quantile to get min/max value 2023-07-12 04:29:54 +08:00
functions_test.go Merge branch 'main' into linter/nilerr 2023-04-19 19:56:39 +02:00
fuzz.go textparse/scrape: Add option to scrape both classic and native histograms 2023-05-13 01:32:25 +02:00
fuzz_test.go error for invalid media type should not be completely swallowed (#10186) 2022-02-08 10:57:56 +01:00
promql_test.go add ctx to QueryEngine interface 2023-04-17 21:32:38 -07:00
quantile.go histograms: Improve comment 2023-07-12 14:52:49 +02:00
query_logger.go add Close for ActiveQueryTracker to close the file. 2023-04-14 14:43:23 +08:00
query_logger_test.go add Close for ActiveQueryTracker to close the file. 2023-04-14 14:43:23 +08:00
test.go add ctx to QueryEngine interface 2023-04-17 21:32:38 -07:00
test_test.go promql: Separate Point into FPoint and HPoint 2023-04-13 19:25:16 +02:00
value.go remove repetitive words (#12556) 2023-07-13 15:53:40 +02:00
value_test.go Shortcut ContainsSameLabelset() (#11000) 2022-07-13 15:18:10 +05:30