Log rule evalation errors.

This commit is contained in:
Julius Volz 2015-01-08 16:57:25 +01:00
parent d6b9e97655
commit bb1e49383e

View file

@ -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
}