Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: e9afc1d787e10e312ee40bc5bc4cfd177cdb1d8e
https://github.com/tribe29/checkmk/commit/e9afc1d787e10e312ee40bc5bc4cfd177…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-11-11 (Wed, 11 Nov 2020)
Changed paths:
M cmk/base/checking.py
M cmk/utils/cpu_tracking.py
M tests/unit/cmk/fetchers/test_controller.py
M tests/unit/cmk/utils/test_cpu_tracking.py
Log Message:
-----------
cpu_tracking: Use a single clock for CPU / run time
Although this does not exactly reproduce the behavior in 1.6, using a
single clock is simpler and more precise. This may also reduce the
possibility of rounding errors.
Change-Id: I5491a9e3c2cad33b66d61e318bdb90c4a91d60a0
Commit: 9446d2278c467772501dd6e334c5b5fa331c7c1c
https://github.com/tribe29/checkmk/commit/9446d2278c467772501dd6e334c5b5fa3…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-11-11 (Wed, 11 Nov 2020)
Changed paths:
M cmk/base/checkers/_checkers.py
M cmk/base/checking.py
M cmk/fetchers/controller.py
M cmk/utils/cpu_tracking.py
M tests/unit/cmk/base/checkers/test_host_sections.py
M tests/unit/cmk/fetchers/test_controller.py
M tests/unit/cmk/utils/test_cpu_tracking.py
Log Message:
-----------
Do not serialize CPUTracker
The CPUTracker is but a simple context manager. It is not interesting
to pass it around. Instead, we pass the resulting duration.
Change-Id: I5b1290b2f089bbeac790ba1ee6ececf4ef2f2de7
Compare:
https://github.com/tribe29/checkmk/compare/48d5582a0314...9446d2278c46