Alive Application State on Rails.
Add this line to your application's Gemfile:
gem 'alive_state'
And then execute:
$ bundle
Returns the current alive application state:
GET /status
Response in the format of json:
{
"state": "green",
"observed_at": "2014-03-21T12:34:56.789",
"version": "2.0.0 as40321",
"application": {
"active_record": true
}
}
- MIT