mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-30 15:22:07 +00:00
app/vmselect: unconditionally offset -step
to rollup_candlestick
. This makes results more consistent
This commit is contained in:
parent
ce38b176bc
commit
8e77b54846
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ func evalRollupFunc(ec *EvalConfig, name string, rf rollupFunc, expr metricsql.E
|
|||
ecNew.End = end
|
||||
}
|
||||
}
|
||||
if name == "rollup_candlestick" && len(re.Window) == 0 {
|
||||
if name == "rollup_candlestick" {
|
||||
// Automatically apply `offset -step` to `rollup_candlestick` function
|
||||
// in order to obtain expected OHLC results.
|
||||
// See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/309#issuecomment-582113462
|
||||
|
|
Loading…
Reference in a new issue