Werk #7183: Metrics: Do not auto graph metrics that are part of a graph but have no metric_info

Component User interface
Title Metrics: Do not auto graph metrics that are part of a graph but have no metric_info
Date Feb 25, 2019
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.6.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

When adding a new metric to a service, the metric system automatically renders this metric as single graph until a graph definition is added that renders this metric. In this moment the automatically rendered metric is hidden.

This logic only worked for metrics that already have a metric_info definition. Now, if you add a new metric without specifying a metric_info for it, but add it to a graph_info, the automatically created single metric graph will now also be hidden.

To the list of all Werks