I hereby claim:
- I am bmhatfield on github.
- I am brianhatfield (https://keybase.io/brianhatfield) on keybase.
- I have a public key whose fingerprint is 2DF5 8084 BCAC BB25 AA51 9650 FFD6 0508 E5D9 0536
To claim this, I am signing this object:
; Expire old events from the index every 15 seconds. | |
(periodically-expire 10 {:keep-keys [:host :service :tags]}) | |
(def rollup-ttl 60) | |
(def throttle-ttl 120) | |
(defn event-log [prefix] | |
(fn [e] (info prefix (str e)))) | |
(def email (mailer {:from "riemann@domain"})) |
module StubbedSearch | |
def stubbed_search(index, query, stub) | |
# When running in the 'local' environment, dynamically set the hostname | |
# value for the search_stub to the hostname of the running VM | |
if node.chef_environment == 'local' | |
node.normal[:search_stub][stub] = node[:search_stub][stub].map do |n| | |
hsh = n.to_hash | |
hsh[:hostname] = node[:hostname] | |
hsh | |
end |
I hereby claim:
To claim this, I am signing this object: