app/vmselect/promql: remove metric name after applying ceil, floor and round functions in order to be more consistent with Prometheus

This improves VictoriaMetrics score at https://promlabs.com/promql-compliance-test-results-victoriametrics/
This commit is contained in:
Aliaksandr Valialkin 2020-08-06 23:34:01 +03:00
parent 75bff1a567
commit 01000505a0

View file

@ -18,11 +18,8 @@ import (
) )
var transformFuncsKeepMetricGroup = map[string]bool{ var transformFuncsKeepMetricGroup = map[string]bool{
"ceil": true,
"clamp_max": true, "clamp_max": true,
"clamp_min": true, "clamp_min": true,
"floor": true,
"round": true,
} }
var transformFuncs = map[string]transformFunc{ var transformFuncs = map[string]transformFunc{