Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 37f14ad9649412d734124fb4f25ffd10ec7b80b6
https://github.com/tribe29/checkmk/commit/37f14ad9649412d734124fb4f25ffd10e…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2019-10-09 (Wed, 09 Oct 2019)
Changed paths:
A .werks/10302
Log Message:
-----------
10302 FIX Correct stacked graphs right edge
Stacked graphs would show a strange termination of data taking all data
points to zero at the timestamp where the RRD database has not yet recorded
data. This werk skips that last point altogether.
- Interpolation of data. RRD returns right closed values. Start is empty
thus interpolation takes the first value for start
- Simplify graph layout logic. Extract stacking function to make it
testable in isolation.
- Add tests
CMK-1999
Change-Id: I1a8daf6100b350f956e118dd9c7dc1be52ee807c