lua-resty-upstream-healthcheck icon indicating copy to clipboard operation
lua-resty-upstream-healthcheck copied to clipboard

How about to add a function for getting specified peer status

Open helinbo2015 opened this issue 7 years ago • 0 comments
trafficstars

  • my scenario: when the upstream is unhealthy, i need to get the specified peer status(eg: DOWN) and do some suspend work, but not to show the peer status with function status_page().

  • workaround: so i have added a function get_peer_status() to get specified peer status. and i'd like to share with everybody who come across the same scenario.

helinbo2015 avatar Oct 30 '18 02:10 helinbo2015