Skip to content

Instantly share code, notes, and snippets.

🍌
I'm a banana.

Brian Hatfield bmhatfield

🍌
I'm a banana.
Block or report user

Report or block bmhatfield

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:5454382
time: 1366828063
service: "myservice"
host: "myhost.foobar.com"
ttl: 300.0
attributes {
key: "zoinks"
value: "4"
}
attributes {
key: "forks"
View gist:5260740
; 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"}))
You can’t perform that action at this time.