[checkmk-commits] Use TimeSeries class to retrieve and work with RRDdata

Óscar Nájera on at mathias-kettner.de
Thu Apr 4 12:10:32 CEST 2019


Module: check_mk
Branch: master
Commit: 33bc1508975f19ea18167ac438ca0cbcf8bff7a3
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=33bc1508975f19ea18167ac438ca0cbcf8bff7a3

Author: Óscar Nájera <on at mathias-kettner.de>
Date:   Tue Apr  2 16:32:35 2019 +0200

Use TimeSeries class to retrieve and work with RRDdata

- Now that time series can be up-sampled consolidation does not need to
  deal with re-scaling arrays of data for alignment of time series.
- Refactor RRDdata consolidation in predictive levels

CMK-1761

Change-Id: Ic03fa75b87bbfff4b7ab5afd8999d48e93335145

---

 cmk/gui/prediction.py                              |  5 +-
 cmk/utils/prediction.py                            | 28 +++++---
 cmk_base/prediction.py                             | 78 +++++++++-------------
 .../cmk_base/test_services_prediction.py           | 21 +++---
 tests/unit/cmk_base/test_prediction.py             | 24 +++----
 5 files changed, 77 insertions(+), 79 deletions(-)

Diff:   http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=33bc1508975f19ea18167ac438ca0cbcf8bff7a3


More information about the checkmk-commits mailing list