Skip to content

ogom/alive_state

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alive State

Gem Version Build Status

Alive Application State on Rails.

Installation

Add this line to your application's Gemfile:

gem 'alive_state'

And then execute:

$ bundle

Usage

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
    }
}

Browse the documentation.

License

  • MIT