diff --git a/promql/bench_test.go b/promql/bench_test.go index 6818498bf..fb5f3a06d 100644 --- a/promql/bench_test.go +++ b/promql/bench_test.go @@ -186,6 +186,10 @@ func rangeQueryCases() []benchCase { expr: "count({__name__!=\"\",l=\"\"})", steps: 1, }, + // timestamp() function + { + expr: "timestamp(a_X)", + }, } // X in an expr will be replaced by different metric sizes.