tzssangglass commented on issue #7353:
URL: https://github.com/apache/apisix/issues/7353#issuecomment-1176022509

   > Etcd version 3.5.5 will fix this issue. And, I rebuilt and deployed Etcd 
based on its fixed PR and tested, and it has been confirmed that this problem 
can be fixed.
   
   Thank you for your research!
   
   > 2\. Because the APISIX Prometheus plugin will query the Modified Index of 
Etcd in real time every time, the response time of the Prometheus plugin will 
also increase significantly. Therefore, Prometheus will time out when fetching 
metrics.
   
    This was due to too many metrics (tens of thousands), and I had done some 
optimizations to the upstream nginx-lua-prometheus, but it didn't solve the 
problem completely.
   
   ref: https://github.com/knyar/nginx-lua-prometheus/pull/139
   
   one idea in the community now is to provide options to control the type of 
metrics to reduce the total number of metrics, see: 
https://github.com/apache/apisix/issues/7211#issuecomment-1165669868


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to