diff --git a/app/vmselect/promql/rollup.go b/app/vmselect/promql/rollup.go index 6728c0bf1..cdac2b208 100644 --- a/app/vmselect/promql/rollup.go +++ b/app/vmselect/promql/rollup.go @@ -43,7 +43,7 @@ var rollupFuncs = map[string]newRollupFunc{ "stdvar_over_time": newRollupFuncOneArg(rollupStdvar), "absent_over_time": newRollupFuncOneArg(rollupAbsent), "present_over_time": newRollupFuncOneArg(rollupPresent), - "last_over_time": newRollupFuncOneArg(rollupLast), + "last_over_time": newRollupFuncOneArg(rollupLast), // Additional rollup funcs. "default_rollup": newRollupFuncOneArg(rollupDefault), // default rollup func diff --git a/app/vmselect/promql/transform.go b/app/vmselect/promql/transform.go index 52b4898ed..1968a3c45 100644 --- a/app/vmselect/promql/transform.go +++ b/app/vmselect/promql/transform.go @@ -63,7 +63,7 @@ var transformFuncs = map[string]transformFunc{ "minute": newTransformFuncDateTime(transformMinute), "month": newTransformFuncDateTime(transformMonth), "round": transformRound, - "sgn": transformSign, + "sgn": transformSign, "scalar": transformScalar, "sort": newTransformFuncSort(false), "sort_desc": newTransformFuncSort(true),