Skip to content

on-site/server_health_check-rails-osm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ServerHealthCheckRailsOsm

This gem serves 2 roles:

  1. Make the server health check URL available via HTTP even when at the application level, config.ssl_only is true.
  2. Make the server health check URL use a different log file than the rest of the application. If the server health check URL is being pinged by monitoring tools every few seconds, it creates a log of noise in the logs. Instead of logging to production.log like all other requests, it instead logs to health_check.log.

Usage

How to use my plugin.

Installation

Add this line to your application's Gemfile:

gem 'server_health_check-rails-osm'

And then execute:

$ bundle

Or install it yourself as:

$ gem install server_health_check-rails-osm

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.

About

Common configuration for server_health_check-rails gem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published