Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 838d6a4af1a291577bc29e55255aa9941c5f5c37
https://github.com/tribe29/checkmk/commit/838d6a4af1a291577bc29e55255aa9941…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-02-04 (Thu, 04 Feb 2021)
Changed paths:
M cmk/gui/plugins/dashboard/single_metric.py
M web/htdocs/js/modules/figures/cmk_figures.js
M web/htdocs/js/modules/figures/cmk_gauge.js
M web/htdocs/js/modules/figures/cmk_timeseries.js
Log Message:
-----------
Background Color for single metric based on metric state
- Display of metric value, in neutral color, matching metric state, or
having background match metric state
- When background coloring is selected change the metric color for the
historic values to the status color with different opacity
- Need to reorder levels array crit range first, so that find works in
convention crit at, warn at and still does not crash with max==crit==value
- Refactor collect renderable_value function for processing the main value
on Dashlet single metric and gauge
- Refactor split_unit only to worry about formatted value, no extra properties
- Refactor to reuse commonalities between subplot area and line
- Configuration is not explicit about "area" and "line", instead of
true/false
- Single metric draw area stroke only on top border, as an extra styling
CMK-6223
Change-Id: Ida37cb17a3f792d5939ed02af2fcbff501e4014f
(cherry picked from commit edef8f25cd501e1a716f1f3b43227fb1c8feb8b1)