[alibaba/tengine]ngx_http_reqstat_module怎么添加后端的proxy_host?

2024-05-15 270 views
5

ccxx.test.com/api/mgAuth/index,766,952,1,1,1,0,0,0,0,9,1,8,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 现在只能定位到url级别。再细分一次,这样就能知道是那个upstream出现http_5xx错误了

回答

3

配置文件: req_status_zone server_status $server_name,$uri,$upstream_addr 50M; 结果是:第三个地方为空 ccxx.test.com,/api/mgAuth/index,,7720,16378,13,19,8,0,0,11,0,350,19,349,19,8,0,0,0,0,0,0,0,0,11,0,0,0,0,0,11