We use cookies to ensure that we give you the best experience on our website. Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

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

ComponentGUI
TitleMetrics: Do not auto graph metrics that are part of a graph but have no metric_info
Date2019-02-25 12:39:19
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0b1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - 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.