Project

is_it_up

0.0
No release in over 3 years
Low commit activity in last 3 years
A Ruby gem for adding a simple endpoint to see if your application "is up".
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0
~> 5.0
>= 0

Runtime

>= 0
 Project Readme

Is It Up?

A Ruby gem that adds a simple endpoint to see if your application "is up". The endpoint is handled via Rack middleware. A Railtie is provided for integration with Ruby on Rails apps.

Requirements

  • Ruby 2.2 or higher
  • Ruby on Rails 3.2 or higher

Installation

Add this line to your application's Gemfile:

gem 'is_it_up'

And then execute:

$ bundle

Or install it yourself as:

$ gem install is_it_up

Usage

IsItUp provides a monitoring URI that returns a JSON response:

% curl your-domain/is_it_up
{ "status": "ok", "code": 200 }

Contributing

  1. Fork it ( http://github.com/customink/is_it_up/fork )
  2. Run bin/bootstrap_macos (if using macOS) and bin/setup to ensure your environment is configured for development
  3. Run bin/test to ensure all tests pass
  4. Create your feature branch (git checkout -b my-new-feature)
  5. Commit your changes (git commit -am 'Add some feature')
  6. Push to the branch (git push origin my-new-feature)
  7. Create new Pull Request

Kudos

Various ideas borrowed from: