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/05/06 01:30:42 UTC

[GitHub] [apisix] sandy420 commented on issue #4160: bug: Seek help !Problems of Prometheus, a plug-in of APISIX 2.4.

sandy420 commented on issue #4160:
URL: https://github.com/apache/apisix/issues/4160#issuecomment-833159411


   > > > I can't reproduce your exception, please describe clearly the configuration of config.yaml and the detailed steps you took to cause the exception, it's important for me to reproduce this.
   > > > This is my config.yaml
   > > > ![image](https://user-images.githubusercontent.com/10955441/116635049-5b796800-a990-11eb-84d4-36f164f7f1e4.png)
   > 
   > The indentation of the server_info plugin configuration is wrong, it should be like this:
   > 
   > ```yaml
   > plugin_attr:
   >   prometheus:
   >     export_uri: /apisix/prometheus/metrics
   >   server-info:
   >     report_interval: 600,
   >     report_ttl: 3600
   > ```
   
   


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