app/vmselect/promql: keep metric name after applying first_over_time and last_over_time functions

This commit is contained in:
Aliaksandr Valialkin 2020-04-04 14:44:40 +03:00
parent a53e332a93
commit a012f6fe70

View file

@ -153,6 +153,8 @@ var rollupFuncsKeepMetricGroup = map[string]bool{
"geomean_over_time": true,
"hoeffding_bound_lower": true,
"hoeffding_bound_upper": true,
"first_over_time": true,
"last_over_time": true,
}
func getRollupAggrFuncNames(expr metricsql.Expr) ([]string, error) {