prometheus-lua-nginx icon indicating copy to clipboard operation
prometheus-lua-nginx copied to clipboard

metrics接口访问超时

Open zhikaichen123 opened this issue 3 years ago • 0 comments
trafficstars

参数如下:
lua_shared_dict prometheus_metrics 200M;
lua_shared_dict uri_by_host 10M;
lua_shared_dict global_set 1M;

是这样的,我这边是C端程序,刚开始运行还好,当跑了一段时间之后,发现metrics接口返回数据要好几十秒种,然后promethus 10秒钟得不到响应数据就会放弃,请问有什么解决办法吗?

zhikaichen123 avatar Aug 24 '22 02:08 zhikaichen123