mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 08:33:06 +00:00
Log rule evalation errors.
This commit is contained in:
parent
d6b9e97655
commit
bb1e49383e
@ -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…
Reference in New Issue
Block a user