Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (logging/init {:file "/var/log/riemann/riemann.log"})
- (require 'riemann.client)
- (require '[my.etc.email :refer :all])
- (require '[my.etc.graphite :refer :all])
- (let [host "0.0.0.0"]
- (repl-server {:host "127.0.0.1"})
- (tcp-server {:host host})
- (udp-server {:host host})
- (ws-server {:host host}))
- (periodically-expire 10 {:keep-keys [:host :service :tags, :state, :description, :metric]})
- (let [index (index)]
- (streams
- (default :ttl 60
- index
- #(info %)
- (where (service #"^riemann.*")
- graph
- ))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement