Skip to content

Instantly share code, notes, and snippets.

@piavlo
Created July 25, 2014 21:40
Show Gist options
  • Save piavlo/eebc10a5f959e6fbac98 to your computer and use it in GitHub Desktop.
Save piavlo/eebc10a5f959e6fbac98 to your computer and use it in GitHub Desktop.
on a per check level granularity during subdue period
(1) ability to say that handlers will handle only certain severities
(2) ability to override handlers
while (1) & (2) could be speficied together or separately for example check could possibly be defined like this
{
"checks": {
"noisy_noncritical_check": {
"command": "queues_are_hard_to_monitor.rb",
"handlers": "some_handler"
"subscribers": [
"production"
],
"interval": 60,
"subdue": {
"begin": "5PM PST",
"end": "9AM PST"
"severities": [ <=== possibility to tell handlers to only handle certain severities during these subdue hours
"critical",
"ok"
]
"handlers": "another_handler" <=== possibility to override handlers during these subdue hours
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment