Posted on January 19th, 2010 by pka | 1 comment »
Rack::Monitor is Rack middleware collecting run-time information for monitoring tools like Munin.
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:

Services
Sources
About us
January 19th, 2010 at 08:23 PM
Läss!