Git Product home page Git Product logo

request-log-analyzer's Introduction

Request-log-analyzer

Request-log-analyzer是用来分析多个格式的请求日志并生成性能报告的命令行工具,其目的是寻找需要优化的动作(action)。

  • 分析日志文件: 当前支持 Amazon S3, Apache, Delayed::Job, Merb, Mysql, PostgreSQL, Rack, Rails等等.
  • 组合多个文件,并解压压缩文件,这些在使用logrotate时,需要手动操作
  • 使用多个度量指标,包括 累积请求时间,平均请求时间,处理块,数据库和渲染时间,HTTP方法和状态,Rails动作缓存统计等 (样例输出: http://github.com/wvanbergen/request-log-analyzer/wiki/sample-output)
  • 可以运行兼容MRI 1.9+环境中,速度快、内存少,所以在生产服务器上运行很安全

更多信息,参考项目的wiki

logrotate : 简化日志文件的管理任务,尤其是系统中生成大量的日志文件时。logrotate可以自动压缩、 删除或者将文件作为email发出。logrotate可以在日志文件达到一定大小的时候,处理日志文件,系统自带该命令。

Installation & basic usage

request-log-analyzer可以当作Ruby gem包来安装(可能需要使用root权限来运行):

$ gem install request-log-analyzer

可使用如下的命令分析Rails日志,并生成性能报告 :

$ request-log-analyzer log/production.log

更多细节,其他的文件格式的支持,以及可用的命令行选项,可以参考http://github.com/wvanbergen/request-log-analyzer/wiki

Additional information

Request-log-analyzer由Willem van Bergen和Bart ten Brinke设计并实现。

如果,你的Rails应用程序性能表现不如人意。你可能需要一个专家来分析你的应用,别怕,有大神Willem van Bergen ([email protected])和Bart ten Brinke ([email protected])。

request-log-analyzer's People

Contributors

wvanbergen avatar barttenbrinke avatar jeg2 avatar itsderek23 avatar mstark avatar no0p avatar jefflunt avatar richardkmichael avatar technicalpickles avatar bartzon avatar asanghi avatar bradland avatar jjulian avatar xiajian avatar spikegrobstein avatar hasimo avatar mindreframer avatar phurni avatar marxarelli avatar iltempo avatar ashleym1972 avatar cander avatar plukevdh avatar michaelklishin avatar splattael avatar tomafro avatar narnach avatar lackac avatar wakemaster39 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.