Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: ab002bd226f74d6b3ed8168ccbb43ece714cb18a
https://github.com/Checkmk/checkmk/commit/ab002bd226f74d6b3ed8168ccbb43ece7…
Author: Konstantin Büttner <konstantin.buettner(a)gmail.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M packages/cmk-agent-based/cmk/agent_based/v1/_value_store_utils.py
M packages/cmk-agent-based/cmk/agent_based/v2/__init__.py
A packages/cmk-agent-based/cmk/agent_based/v2/_get_average.py
Log Message:
-----------
Copy get_average from check api v1 to v2 in preparation of change
Change-Id: I6aa2c550346a62aa73db2df8bb45bb7425bfb75f
Commit: 164366f8ed0f98ca4a7e8fc1faa73f0f66ba6f62
https://github.com/Checkmk/checkmk/commit/164366f8ed0f98ca4a7e8fc1faa73f0f6…
Author: Konstantin Büttner <konstantin.buettner(a)gmail.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M packages/cmk-agent-based/cmk/agent_based/v2/_get_average.py
M tests/unit/cmk/base/plugins/agent_based/test_sap_hana_data_volume.py
M tests/unit/cmk/base/plugins/agent_based/test_sap_hana_diskusage.py
Log Message:
-----------
get_average: Use time since starting to average for short horizons
Correctly starting an exponential moving average is tricky, as
at the beginning, the last average is weighed too strongly
in respect to the information contained therein. This can lead
to initial values skewing the average for a long time until it
eventually converges.
To get to meaningful values more quickly, we replace the previously
used adjustment of the backlog weight by simply setting our backlog
horizon to min(time since starting to average, configured horizon)
Closes #675.
Co-Authored-By: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Change-Id: I4164202aa48df45a77579f4338edb4725a658152
Commit: 4f8e34d6cea743a80f58b9bfa298868fa31f0b3e
https://github.com/Checkmk/checkmk/commit/4f8e34d6cea743a80f58b9bfa298868fa…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M packages/cmk-agent-based/cmk/agent_based/v1/_value_store_utils.py
M packages/cmk-agent-based/cmk/agent_based/v2/_get_average.py
Log Message:
-----------
v2.get_average: be more honest in type annotation
Change-Id: Iee32966eb3632ae65a3b43c7d3ae879268ac6b9c
Compare:
https://github.com/Checkmk/checkmk/compare/20d92944a2f8...4f8e34d6cea7
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications