Skip to content

Instantly share code, notes, and snippets.

@aphyr
Created November 8, 2012 20:15
Show Gist options
  • Save aphyr/4041274 to your computer and use it in GitHub Desktop.
Save aphyr/4041274 to your computer and use it in GitHub Desktop.
; vim: filetype=clojure
(logging/init :file "riemann.log")
(tcp-server)
(udp-server)
(ws-server)
(periodically-expire 10)
(let [graph (graphite {:host "metrics.jsonified.com"})
index (default :ttl 300 (update-index (index)))]
(streams
graph
index
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment