Browse Source

Log rule evalation errors.

pull/440/head
Julius Volz 10 years ago
parent
commit
bb1e49383e
  1. 1
      rules/manager/manager.go

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

Loading…
Cancel
Save