Provides an /ping endpoint for Rack health check, that doesn't get logged.
Add this line to your application's Gemfile:
gem 'silent_ping'
And then execute:
$ bundle
Or install it yourself as:
$ gem install silent_ping
You don't have to do anything else.
To disable the /ping
endpoint without removing the gem from you Gemfile, you can add config.silent_ping = false
to your application.rb
.
Bug reports and pull requests are welcome on GitHub at https://github.com/blinkist/silent_ping. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the SilentPing project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.