mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
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:
parent
75bff1a567
commit
01000505a0
1 changed files with 0 additions and 3 deletions
|
@ -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{
|
||||||
|
|
Loading…
Reference in a new issue