Add benchmark for query using timestamp()

Signed-off-by: Charles Korn <charles.korn@grafana.com>
This commit is contained in:
Charles Korn 2023-06-28 15:35:02 +10:00
parent 266e27870e
commit 15fa680117
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -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.