Skip to content

Commit

Permalink
rollup.go: add tlast_change_over_time(m[d]) function
Browse files Browse the repository at this point in the history
  • Loading branch information
valyala committed Apr 27, 2022
1 parent 2ec871b commit c44987c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions rollup.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,13 @@ var rollupFuncs = map[string]bool{
// `timestamp` function must return timestamp for the last datapoint on the current window
// in order to properly handle offset and timestamps unaligned to the current step.
// See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/415 for details.
"timestamp": true,
"timestamp_with_name": true,
"tlast_over_time": true,
"tmax_over_time": true,
"tmin_over_time": true,
"zscore_over_time": true,
"timestamp": true,
"timestamp_with_name": true,
"tlast_change_over_time": true,
"tlast_over_time": true,
"tmax_over_time": true,
"tmin_over_time": true,
"zscore_over_time": true,
}

// IsRollupFunc returns whether funcName is known rollup function.
Expand Down

0 comments on commit c44987c

Please sign in to comment.