You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/05/06 10:44:13 UTC

[GitHub] [shardingsphere] yu199195 commented on issue #5393: We started the sharding-metrics module,It makes sharding-proxy have better observability.

yu199195 commented on issue #5393:
URL: https://github.com/apache/shardingsphere/issues/5393#issuecomment-624574829


   In `Sharding-Proxy`  server.yml   we should config like it.
   
   ```yml
   metrics :
       name: prometheus  //Spi type config,Currently the default imp is prometheus.(required)
       host:  127.0.0.1  //http server host, If do not fill is local IP。When your service IP address changes, it is recommended to specify, for example docker .
       port:  9190 // http server port ,if you not fill, is 9190.
   
   props:
       proxy.metrics.enabled: true  // Turn on the metrics  switch.
   
   ```
   


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