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 2020/11/05 13:34:22 UTC

[GitHub] [apisix] membphis commented on issue #2296: request help: about prometheus metrics for deny access

membphis commented on issue #2296:
URL: https://github.com/apache/apisix/issues/2296#issuecomment-722380919


   > 问题1:apisix prometheus 的监控地址:http://xx.yy.com/apisix/prometheus/metrics
   > prometheus 怎么限制IP访问,或是全局的 /apisix/prometheus/metrics 限制到某些监控服务器上
   
   you can take a look at this doc: https://github.com/apache/apisix/blob/master/doc/plugin-interceptors.md#plugin-interceptors
   
   welcome to add this link to Prometheus plugin doc.
   
   > 问题2:
   > 普米监控地址:http://xx.yy.com/apisix/prometheus/metrics
   > 能否将 /apisix/prometheus/metrics 减缩为/metrics,要怎么做
   
   not support now. you need to update the source code of the plugin Prometheus.
   
   another way, add a new field and allow the users to specify the export URI path.


----------------------------------------------------------------
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.

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