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 2022/02/10 02:03:37 UTC

[GitHub] [apisix] tao12345666333 edited a comment on issue #6276: bug: prometheus plugin `enable_export_server=false` not working as expected

tao12345666333 edited a comment on issue #6276:
URL: https://github.com/apache/apisix/issues/6276#issuecomment-1034411255


   @spacewander thanks for your reply.
   Does that mean these descriptions in the documentation are wrong? `enable_export_server=false` no longer have any real value?
   
   ```
   If you still want to expose the metrics via the data plane port (default: 9080), you can configure it like this:
   
   plugin_attr:
     prometheus:
       enable_export_server: false
   You may need to use [public-api](https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/public-api.md) plugin to expose it.
   ```
   
   https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/prometheus.md#api


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