HomeHome ArchiveArchive

Rack::Monitor

It can be integrated in any Rack based appication. Sample configuration for Ruby on Rails:

 config.middleware.use Rack::Monitor, :url => '/rack_status', :watch => ['/', '/ping']

The collected statistical values can be accessed at /rack_status. It is recommended to limit access to this path with our contributed middleware Rack::Access from rack-contrib.

Sample munin output:

rack_memory-day rack_requests-day rack_status_codes-day