Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 67908212e2a177981ba1f27eaac74406fe1299bb
https://github.com/Checkmk/checkmk/commit/67908212e2a177981ba1f27eaac74406f…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2024-01-15 (Mon, 15 Jan 2024)
Changed paths:
M cmk/gui/prediction.py
M cmk/utils/prediction/_plugin_interface.py
M cmk/utils/prediction/_prediction.py
M tests/unit/cmk/update_config/plugins/actions/test_prediction_files_cleanup.py
M tests/unit/cmk/utils/prediction/test-files/output/America/New_York/everyday
M tests/unit/cmk/utils/prediction/test-files/output/Europe/Berlin/26
M tests/unit/cmk/utils/prediction/test-files/output/Europe/Berlin/26.info
M tests/unit/cmk/utils/prediction/test-files/output/Europe/Berlin/everyday
M tests/unit/cmk/utils/prediction/test-files/output/Europe/Berlin/everyday.info
M tests/unit/cmk/utils/prediction/test-files/output/Europe/Berlin/thursday
M tests/unit/cmk/utils/prediction/test-files/output/Europe/Berlin/thursday.info
M tests/unit/cmk/utils/prediction/test-files/output/UTC/sunday
M tests/unit/cmk/utils/prediction/test_query.py
Log Message:
-----------
prediction: clean up validity + time offsets
This simplifies the validity and lookup logic
for predictions.
Every prediction is valid for exactly one day
(as was the case previously).
If no prediction is available, create one for
the current day (starting at 12 AM).
Change-Id: I38edc09bbd01be4bd99fbe309e8de079388de47f
Commit: 7fe7eea61d3530a2c7e0697dd8bb449a14c6666c
https://github.com/Checkmk/checkmk/commit/7fe7eea61d3530a2c7e0697dd8bb449a1…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2024-01-15 (Mon, 15 Jan 2024)
Changed paths:
M cmk/utils/prediction/_plugin_interface.py
Log Message:
-----------
prediction: move creation of info up
Change-Id: I9fa471f3475a0ef4247117f4398fb99fd395cc5d
Commit: dfe75411555bf1dd3d0c5495f2f91e9b66a156a8
https://github.com/Checkmk/checkmk/commit/dfe75411555bf1dd3d0c5495f2f91e9b6…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2024-01-15 (Mon, 15 Jan 2024)
Changed paths:
M cmk/utils/prediction/_plugin_interface.py
Log Message:
-----------
prediction: look for prediction based on meta data
We no longer need to check the validity separately.
If the meta data is unchanged, the prediction is valid.
Change-Id: I33f0f686543dd5066d888ad27cb2fe2ffcc3f00d
Compare:
https://github.com/Checkmk/checkmk/compare/a3009cee36e4...dfe75411555b