Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Create reports based on your log files. Supports Rails, Apache, MySQL, Delayed::Job, and other formats.
Ruby
tag: request-log-an…

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
spec
tasks
.gitignore
DESIGN
HACKING
LICENSE
README.textile
Rakefile
request-log-analyzer.gemspec

README.textile

Request-log-analyzer

This is a simple command line tool to analyze request log files of both Rails and
Merb to produce a performance report. Its purpose is to find what actions are best candidates for optimization.

  • Analyzes Rails log files (all versions)
  • Can combine multiple files (handy if you are using logrotate)
  • Uses several metrics, including cumulative request time, average request time, process blockers, database and rendering time, HTTP methods and states, Rails action cache statistics, etc.) (Sample output)
  • Low memory footprint (server-safe)
  • Fast
  • MIT licensed

Installation

$ sudo gem install wvanbergen-request-log-analyzer --source http://gems.github.com

To get the best results out of request-log-analyzer, make sure to
set up logging correctly
for your application.

Usage

To analyze a log file and produce a performance report, run request-log-analyzer like this:

$ request-log-analyzer log/production.log

For more details and available command line options, see the project’s wiki

Additional information

Something went wrong with that request. Please try again.