Retrieve healthy targets

Hi, how can I retrieve the list of healthy targets? And also the reason why targets are currently excluded from the ring? I enabled active healthchecks, however I need to monitor when targets get excluded and attach some alerting tool.
Thanks for any help you can provide.

1 Like

Additionaly interested in there an API that exposes state of all API that are verified by active healthchecks


There currently is no API to retrieve the state of the targets in the load balancer, but we are planning to expose it as part of our upcoming “Lua Plugins API” work in the future.