Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 3cabb307f286d317afa1fc14552e2cb564cf6448
https://github.com/tribe29/checkmk/commit/3cabb307f286d317afa1fc14552e2cb56…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-03-06 (Sat, 06 Mar 2021)
Changed paths:
M cmk/gui/plugins/metrics/timeseries.py
A tests/unit/cmk/gui/plugins/metrics/test_timeseries.py
Log Message:
-----------
Timeseries operations with correct data arity
When data is missing in custom graph recipes including combined
sources. Enforce correct data arity on available data.
- Respect stable operators: "MAX", "MIN", "AVERAGE",
"MERGE"s
- Although addition and multiplication have neutral and could be considered
in previous category, they are already problematic on some
formulas. Better raise warning of unavailable data.
- Division and subtraction are strictly pair operations.
Change-Id: Icca4e1a92bbf060fed37b2f4574ca2bd5f100ce5