From bb1e49383e07c8623c39edf545c8f45f92ab0279 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Thu, 8 Jan 2015 16:57:25 +0100 Subject: [PATCH] Log rule evalation errors. --- rules/manager/manager.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/manager/manager.go b/rules/manager/manager.go index 0a5bf65c0..9f64efcd5 100644 --- a/rules/manager/manager.go +++ b/rules/manager/manager.go @@ -239,6 +239,7 @@ func (m *ruleManager) runIteration(results chan<- clientmodel.Samples) { if err != nil { evalFailures.Inc() + glog.Warningf("Error while evaluating rule %q: %s", rule, err) } else { m.results <- samples }