mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 00:13:30 +01:00
app/vmselect/promql: keep metric name after applying first_over_time
and last_over_time
functions
This commit is contained in:
parent
a53e332a93
commit
a012f6fe70
@ -153,6 +153,8 @@ var rollupFuncsKeepMetricGroup = map[string]bool{
|
|||||||
"geomean_over_time": true,
|
"geomean_over_time": true,
|
||||||
"hoeffding_bound_lower": true,
|
"hoeffding_bound_lower": true,
|
||||||
"hoeffding_bound_upper": true,
|
"hoeffding_bound_upper": true,
|
||||||
|
"first_over_time": true,
|
||||||
|
"last_over_time": true,
|
||||||
}
|
}
|
||||||
|
|
||||||
func getRollupAggrFuncNames(expr metricsql.Expr) ([]string, error) {
|
func getRollupAggrFuncNames(expr metricsql.Expr) ([]string, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user