diff --git a/library/Graphite/Web/Widget/Graphs.php b/library/Graphite/Web/Widget/Graphs.php index c291a3d..31e76bf 100644 --- a/library/Graphite/Web/Widget/Graphs.php +++ b/library/Graphite/Web/Widget/Graphs.php @@ -219,7 +219,7 @@ abstract class Graphs extends AbstractWidget ] as $templateSet) { list($urlParam, $templates, $excludeMetrics) = $templateSet; - if (empty($excludeMetrics)) { + if ($urlParam === 'template') { IPT::recordf('Applying templates for check command %s', $actualCheckCommand); } else { IPT::recordf('Applying default templates, excluding previously used metrics');