You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/12/24 02:10:59 UTC

[GitHub] [apisix] shoulda opened a new issue #5904: request help: Request help about prometheus plugin

shoulda opened a new issue #5904:
URL: https://github.com/apache/apisix/issues/5904


   ### Issue description
   
   Using the prometheus plugin collect logs, When the log volume is large, the size of lua_shared_dict prometheus-metrics  will become a bottleneck?
   
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass commented on issue #5904: request help: Request help about prometheus plugin

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #5904:
URL: https://github.com/apache/apisix/issues/5904#issuecomment-1001967157


   > Using the prometheus plugin collect logs
   
   The prometheus plugin is not used to collect logs, it is used to collect metrics.
   
   > hen the log volume is large, the size of lua_shared_dict prometheus-metrics will become a bottleneck?
   
   I think you're talking about a large number of total requests, in this case you need to increase the storage space for prometheus-metrics, otherwise you will encounter an error similar to the following: `prometheus.lua:732: log_error(): Unexpected error adding a key: no memory while logging request`, refer to: https://github.com/apache/apisix/issues/3917
   
   BTW,  the prometheus plugin does affect performance by generating long-tail requests, which we are fixing. refer to: https://github.com/apache/apisix/issues/5755


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] shoulda commented on issue #5904: request help: Request help about prometheus plugin

Posted by GitBox <gi...@apache.org>.
shoulda commented on issue #5904:
URL: https://github.com/apache/apisix/issues/5904#issuecomment-1003047819


   ok , thanks


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org