Branch: refs/heads/2.3.0
Home:
https://github.com/Checkmk/checkmk
Commit: dbcaa86837aae1753219eb1cbd5d4b6988722387
https://github.com/Checkmk/checkmk/commit/dbcaa86837aae1753219eb1cbd5d4b698…
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: 4d544f50a9143f586337020cf54ca7d1c339d211
https://github.com/Checkmk/checkmk/commit/4d544f50a9143f586337020cf54ca7d1c…
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: 32bb9eefd09033fa0af01b5fa2e8295a311d9d86
https://github.com/Checkmk/checkmk/commit/32bb9eefd09033fa0af01b5fa2e8295a3…
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/e9c5f15257e2...32bb9eefd090
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications