Created
November 6, 2013 11:08
-
-
Save rasputnik/7334377 to your computer and use it in GitHub Desktop.
think this setup is wonky
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(let [host "0.0.0.0"] | |
(tcp-server :host host) | |
(udp-server :host host) | |
(ws-server :host host)) | |
; keep data for 5 minutes, just throw into index | |
(let [index (default :ttl 300 (update-index (index))) | |
graph (graphite {:host "graphite.cf.ac.uk" | |
:protocol :udp | |
:pool-size 10})] | |
(streams | |
index) | |
(streams | |
graph)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nope, this works fine.