membphis commented on issue #1432: feature: expose a health check uri for 
external monitor system
URL: https://github.com/apache/incubator-apisix/pull/1432#issuecomment-613801707
 
 
   @lilien1010 how about this way? We can support to set default value for 
plugin attribute.
   
   ```yaml
   plugins:                          # plugin list
     - example-plugin
     - health_status
   
   plugin_attr:
     health_status:                  # Expose a uri to client check the health 
status of APISIX
       uri: "/apisix/health_status"  # The uri of health
       content: "ok"                 # Content return to client for health 
check uri
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to