Skip to content

Instantly share code, notes, and snippets.

@gorsuch
Created November 22, 2014 01:40
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 gorsuch/2bf7b4b0e5b16d585d40 to your computer and use it in GitHub Desktop.
Save gorsuch/2bf7b4b0e5b16d585d40 to your computer and use it in GitHub Desktop.
shotgun services

Shotgun Services

They ride shotgun to the main app, checking in on it, and taking action when things go south. They know how to check in and how to make sure that things are going okay. They know how to call for help if things go south. Maybe they call in to pagerduty for you automatically after N failures over a period of time. Maybe they just mark the instance unhealthy. That's up to you.

Sidekicks could be configured via standard env vars, being told if alerts are warranted on failure, and if they should page, whom deserves it.

Ideally, you have very few of these, as your apps conform to a common convention.

This aims to eliminate the need for a centralized monitoring system, to make things more composable, and still give you the benefits you are looking for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment