mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
Add benchmark for query using timestamp()
Signed-off-by: Charles Korn <charles.korn@grafana.com>
This commit is contained in:
parent
266e27870e
commit
15fa680117
|
@ -186,6 +186,10 @@ func rangeQueryCases() []benchCase {
|
||||||
expr: "count({__name__!=\"\",l=\"\"})",
|
expr: "count({__name__!=\"\",l=\"\"})",
|
||||||
steps: 1,
|
steps: 1,
|
||||||
},
|
},
|
||||||
|
// timestamp() function
|
||||||
|
{
|
||||||
|
expr: "timestamp(a_X)",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
// X in an expr will be replaced by different metric sizes.
|
// X in an expr will be replaced by different metric sizes.
|
||||||
|
|
Loading…
Reference in a new issue