Rack::Monitor

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:

rack_memory-day rack_requests-day rack<em>status</em>codes-day”/></p>
    
    
      <div class=

1 Response to “Rack::Monitor”

  1. Tomáš Pospíšek Says:

    Läss!

Leave a Reply