Skip to content

Instantly share code, notes, and snippets.

@thomasleese
Created October 15, 2019 14:48
Show Gist options
  • Select an option

  • Save thomasleese/e3aaa5a3d70eb92b6cf57ec15ea77c25 to your computer and use it in GitHub Desktop.

Select an option

Save thomasleese/e3aaa5a3d70eb92b6cf57ec15ea77c25 to your computer and use it in GitHub Desktop.

GET /healthcheck

{
  "checks": [
    "sidekiq_latency",
    ...,
    "content_changes"
  ]
}

GET /healthcheck/sidekiq_latency

{
  "status": "ok",
  "message": "Ok"
}

GET /healthcheck/content_changes

{
  "status": "critical",
  "message": "There are too many..."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment