log-monitor 基于日志文件的接口 QPS & 耗时信息统计工具 v1.1 版本发布

栏目: 软件资讯 · 发布时间: 5年前

内容简介:v1.1更新内容 去除了json-cpp等外部依赖, 更加轻量 修复统计QPS不准确问题 如何使用? tail -f <file>|grep --line-buffered <pattern>|./output/bin/lm Output format: log_time: 2019-10-28 10:36:18, QPS:1...

v1.1更新内容

  • 去除了json-cpp等外部依赖, 更加轻量
  • 修复统计QPS不准确问题

如何使用?

tail -f <file>|grep --line-buffered <pattern>|./output/bin/lm

Output format:

log_time: 2019-10-28 10:36:18, QPS:10, avg_cost_time:22, max_cost_time:222
log_time: 2019-10-28 10:36:20, QPS:1, avg_cost_time:222, max_cost_time:222
log_time: 2019-10-28 10:36:21, QPS:2, avg_cost_time:111, max_cost_time:222
log_time: 2019-10-28 10:36:22, QPS:2, avg_cost_time:166, max_cost_time:333
log_time: 2019-10-28 10:36:24, QPS:2, avg_cost_time:166, max_cost_time:333
log_time: 2019-10-28 10:36:25, QPS:1, avg_cost_time:111, max_cost_time:111
log_time: 2019-10-28 10:36:32, QPS:1, avg_cost_time:111, max_cost_time:111

功能

  • 支持QPS统计
  • 支持耗时统计(如果过滤之后是数字的话)

编译


以上所述就是小编给大家介绍的《log-monitor 基于日志文件的接口 QPS & 耗时信息统计工具 v1.1 版本发布》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Ruby on Rails Tutorial

Ruby on Rails Tutorial

Michael Hartl / Addison-Wesley Professional / 2012-8-6 / USD 44.99

"Ruby on Rails(TM) Tutorial by Michael Hartl has become a must-read for developers learning how to build Rails apps." -Peter Cooper, Editor of Ruby Inside Using Rails, developers can build web applica......一起来看看 《Ruby on Rails Tutorial》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具