Created
December 29, 2013 20:44
-
-
Save sarguru/8174635 to your computer and use it in GitHub Desktop.
tag doesnt work
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
; (5556) | |
(let [host "0.0.0.0"] | |
(tcp-server :host host) | |
(udp-server :host host) | |
(ws-server :host host) | |
(graphite-server :host host)) | |
(streams | |
( where (service =~ "%servers%") | |
( tag "graphite" ) | |
) | |
(tagged-all "graphite" prn ) | |
(let [client (tcp-client :host "192.168.19.1")] | |
(by [:host :service] | |
(forward client)))) |
Author
sarguru
commented
Dec 29, 2013
(defn graphite-path-sarguru [event]
(let [service (:service event)]
service )
)
(def graph (graphite {:host "10.128.35.105" :path graphite-path-sarguru}))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment