mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmselect/promql: keep metric name after applying more functions, which dont change time series meaning
Functions are: * keep_last_value * keep_next_value * interpolate * running_min * running_max * running_avg * range_min * range_max * range_avg * range_first * range_last * range_quantile * smooth_exponential Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/674
This commit is contained in:
parent
45f7cdc532
commit
762c967855
1 changed files with 18 additions and 5 deletions
|
@ -23,6 +23,19 @@ var transformFuncsKeepMetricGroup = map[string]bool{
|
||||||
"clamp_min": true,
|
"clamp_min": true,
|
||||||
"floor": true,
|
"floor": true,
|
||||||
"round": true,
|
"round": true,
|
||||||
|
"keep_last_value": true,
|
||||||
|
"keep_next_value": true,
|
||||||
|
"interpolate": true,
|
||||||
|
"running_min": true,
|
||||||
|
"running_max": true,
|
||||||
|
"running_avg": true,
|
||||||
|
"range_min": true,
|
||||||
|
"range_max": true,
|
||||||
|
"range_avg": true,
|
||||||
|
"range_first": true,
|
||||||
|
"range_last": true,
|
||||||
|
"range_quantile": true,
|
||||||
|
"smooth_exponential": true,
|
||||||
}
|
}
|
||||||
|
|
||||||
var transformFuncs = map[string]transformFunc{
|
var transformFuncs = map[string]transformFunc{
|
||||||
|
|
Loading…
Reference in a new issue