mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08: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 a new issue