alibaba / tengine

A distribution of Nginx with some advanced features
https://tengine.taobao.org
BSD 2-Clause "Simplified" License
12.76k stars 2.52k forks source link

Tengine ngx_http_reqstat_module在统计信息时出现问题 #1904

Open Dimp1e opened 9 months ago

Dimp1e commented 9 months ago

Ⅰ. Issue Description

48e54913c44bfc5c5ce0fb2946078f1a 在使用ngx_http_reqstat_module统计请求信息时出现问题。

Ⅱ. Describe what happened

nginx.conf里配置的是: req_status_zone server "$http_host" 10M; req_status server; req_status_zone_add_indicator server $limit; 在/us页面统计的出现重复的http_host

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

1. 2. 3.

Ⅴ. Anything else we need to know?

  1. If applicable, add nginx debug log doc.

Ⅵ. Environment: