Permalink
Browse files

satellite-master: Fix nesting of black hole detection filters.

  • Loading branch information...
mforsyth committed Apr 8, 2016
1 parent 451b81f commit 4b24328f06e71659154e9a4c509147dd9dc51d3c
Showing with 4 additions and 4 deletions.
  1. +4 −4 satellite-master/config/riemann-config.clj
@@ -23,10 +23,10 @@
(def task-totals-time-stream
(by :host
(combine difference-since-beginning
(project [(service "mesos/slave/total-tasks-failed")
(service "mesos/slave/total-tasks-started")
(service "mesos/slave/total-tasks-finished")]
(where (> (:interval event) 600)
(where (> (:interval event) 600)
(project [(service "mesos/slave/total-tasks-failed")
(service "mesos/slave/total-tasks-started")
(service "mesos/slave/total-tasks-finished")]
(smap (partial fold-blackhole-thresholds satellite.core/settings)
(where (state "critical")
#(warn "Host failing too many tasks:" %)

0 comments on commit 4b24328

Please sign in to comment.