ngx_lua_reqstatus icon indicating copy to clipboard operation
ngx_lua_reqstatus copied to clipboard

你好我想统计stream模式下的同类数据,有类似的lua吗

Open hym1884603 opened this issue 7 years ago • 4 comments

hym1884603 avatar Oct 09 '17 12:10 hym1884603

你是想统计location的吗? 如果是的话,可以改造这个lua脚本。通过获取uri.

zheng-ji avatar Oct 10 '17 03:10 zheng-ji

我是想统计请求数和延迟,然后你的这个似乎是个http使用的,stream模式无法统计

hym1884603 avatar Oct 10 '17 03:10 hym1884603

您好,可以给我你的QQ或者其他联系方式吗?

hym1884603 avatar Oct 11 '17 05:10 hym1884603

您好,我们现在使用了nginx和tomcat的架构,nginx每秒扛1W8的请求,现在会出现nginx和tomcat不同步扛不住的问题,用的是upstream模式,现在希望使用stream模式,但是我们要求延迟有严格的要求,没有了监控就没办法进行调试,所以希望您能教我一下怎么是用stream模式的延迟监控。

hym1884603 avatar Oct 12 '17 16:10 hym1884603