It sounds great. Prometheus plugins was already. We just add these metrics about health-check.
Haochao Zhuang @dmsolr > 2021年11月22日 下午3:13,Zeping Bai <bzp2...@apache.org> 写道: > > Hi, > Some data of health checks is available in the Control API, but > output in Prometheus Metrics is not supported for now. > The features you mentioned are a good enhancement and await > more discussion. > > Best regards! > Zeping Bai @bzp2010 > > xxm404 <xinmian...@163.com> 于2021年11月22日周一 下午2:54写道: > >> APISIX support health check for upstreams, why not expose >> healthy/unhealthy nodes metrics ? >> like AWS ELB, support many useful metrics >> https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-cloudwatch-metrics.html >> >> For target(nodes) health/unhealthy metrics, we can make some counters to >> record health nodes or unhealthy nodes, when a health check request failed >> we should increase the unhealthy counter and reduce the health counter. >>