console: ensure we fill missing values including the last one

BETWEEN is inclusive, while FILL excludes the upper bound. This may
trigger a subtle bug where sometimes, one axis has one value the other
does not have.
This commit is contained in:
Vincent Bernat
2022-08-09 19:16:16 +02:00
parent 0208c34180
commit 8e755ae0e1
4 changed files with 13 additions and 13 deletions

View File

@@ -212,7 +212,7 @@ AND InIfBoundary = 'external'
GROUP BY Time
ORDER BY Time WITH FILL
FROM {{ .TimefilterStart }}
TO {{ .TimefilterEnd }}
TO {{ .TimefilterEnd }} + INTERVAL 1 second
STEP {{ .Interval }}
{{ end }}`,
templateContext(inputContext{