Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dashboard请求时间统计问题 #335

Open
sydowma opened this issue Nov 15, 2019 · 2 comments
Open

dashboard请求时间统计问题 #335

sydowma opened this issue Nov 15, 2019 · 2 comments

Comments

@sydowma
Copy link
Contributor

sydowma commented Nov 15, 2019

使用的Orange版本

v0.8.0

需求或场景

经过观察,发现dashboard里的请求时间统计数值过大(如图所示),再查看 access.log,发现接口平均响应时间都在 200ms 以下,所以这里的响应时间的统计可能有问题。
image

使用的插件

全局统计

具体的配置

在默认配置(nginx.conf)的基础上新增的配置信息

upstream nginx_default {
        server 192.168.0.102;
        keepalive 65;
    }


            proxy_set_header Host $host:$server_port;
            proxy_set_header REMOTE-HOST $remote_addr;

            proxy_http_version 1.1;

我在反向代理的设置里增加了配置,使其支持 HTTP1.1 ,可能和这个有关系?

@shuaijinchao
Copy link
Member

OK, thanks for the feedback. Do you use persist plugin for statistics?


好的,感谢反馈。请问统计是使用persist插件吗?

@sydowma
Copy link
Contributor Author

sydowma commented Nov 18, 2019

@shuaijinchao 不是,是stat插件,“全局统计”里的“图表视图”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants