search for: stats_filter

Displaying 1 result from an estimated 1 matches for "stats_filter".

2006 Jun 11
1
StatusHandler
...ook at examples/simpletest.rb for how it''s used. I''ll be documenting it, but basically add > > stats = Mongrel::StatisticsFilter.new(:sample_rate => 1) > uri "/", :handler => stats > uri "/status", :handler => Mongrel::StatusHandler.new(:stats_filter => stats) > > To a config/mongrel.conf and use -S to run it. Adjust sample rate to around 300 for a lower load. > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: mongrel.conf Url: http://rubyforge.org/pipermail/mongrel-users/atta...