Skip to content

Instantly share code, notes, and snippets.

@Mongey
Created July 27, 2016 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mongey/38076865e201a77c122043e6095712c9 to your computer and use it in GitHub Desktop.
Save Mongey/38076865e201a77c122043e6095712c9 to your computer and use it in GitHub Desktop.
(def set-schema-registry-haproxy-events-to-critical
(where (and (service schema-registry-500-error-service-name)
(not= metric nil)
(>= metric schema-registry-500-error-threshold)
(state "ok"))
(with :state "critical" reinject)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment