prometheus/promql
Craig Ringer 30bf18f968 test: Add additional tests for mixed float/histogram series
Add further tests for first_over_time (also covering existing
last_over_time, count_over_time, etc) to exercise vectors
containing a mix of float and histogram samples where the
histogram samples do not come last in the series.

This tripped over https://github.com/prometheus/prometheus/issues/17025
so it's structured a bit oddly to work around that bug in the
appender as used by promtest.

Signed-off-by: Craig Ringer <craig.ringer@enterprisedb.com>
2025-09-02 10:24:37 +12:00
..
fuzz-data textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
parser feat(promql): add first_over_time and ts_of_first_over_time 2025-09-02 10:24:31 +12:00
promqltest test: Add additional tests for mixed float/histogram series 2025-09-02 10:24:37 +12:00
bench_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
durations.go chore(promql): improve doc string in promql/durations.go (#16863) 2025-07-11 12:07:54 +02:00
durations_test.go Add step(), min(a,b) and max(a,b) in promql duration expressions 2025-07-02 11:17:17 +02:00
engine.go feat(promql): add first_over_time and ts_of_first_over_time 2025-09-02 10:24:31 +12:00
engine_internal_test.go Histograms: set annotation when adding or subtracting histograms that have `not_reset` and `reset` hints. 2025-08-20 15:00:45 +02:00
engine_test.go feat(promql): add first_over_time and ts_of_first_over_time 2025-09-02 10:24:31 +12:00
functions.go feat(promql): add first_over_time and ts_of_first_over_time 2025-09-02 10:24:31 +12:00
functions_internal_test.go annotations: histogram counter reset warning includes operation 2025-08-20 15:14:21 +02:00
functions_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
fuzz.go feature: type-and-unit-labels (PROM-39 implementation) (#16228) 2025-05-17 09:37:25 +00:00
fuzz_test.go fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()" (#15094) 2024-10-06 16:35:29 +00:00
histogram_stats_iterator.go promql: reuse `histogramStatsIterator` where possible, and expose it for other implementations to use (#16686) 2025-06-18 23:53:46 +02:00
histogram_stats_iterator_test.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
info.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00
info_test.go [FEATURE] PromQL: Add experimental info function MVP (#14495) 2024-10-16 13:52:11 +01:00
promql_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
quantile.go fix(promql): histogram_quantile and histogram_fraction NaN observed in native histogram (#16724) 2025-06-25 13:37:43 +02:00
quantile_test.go Export quantile functions (#15190) 2024-11-27 13:20:23 +01:00
query_logger.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
query_logger_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
value.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
value_test.go test: move most PromQL tests into separate test package 2024-05-08 16:28:56 +01:00