Skip to content

Instantly share code, notes, and snippets.

@manute
manute / gist:8852537
Last active September 2, 2016 15:41
Riemann Service Down Alerts
;
; Riemann Service Down Alerts
; ===================================================
;
; The index stores the most recent state for any [host, service] pair. Clients
; can search the index for various states with a basic query language. The
; default implementation is a NonBlockingHashMap.
;
(let [my-index (index)