Open jtackaberry opened 1 year ago
Oh yeah... that'd be cool. Anyone is welcome to pick this up!
Would it basically involve copying and adapting the code from the PR, or is there a cleverer way allowing for less duplication?
@jtackaberry I'd probably just copy it :smile:
I do have it on my TODO list to make the admin endpoint more properly extensible though, so that API might change slightly this year.
@mholt or @jtackaberry
I am currently looking for a way to get this exact info to create a HAproxy like info page [1] about the upstream health for my l4 caddy...
Has anyone found time to implement the endpoint yet?
[1] example can be found here: https://statuslist.app/uptime-monitoring/haproxy/haproxy-stats-page-guide/
My plate is full currently, but I agree this would be cool! I could prioritize this with a sufficient sponsorship or anyone else is also welcome to work on this in the meantime.
https://github.com/caddyserver/caddy/pull/4125 introduced an endpoint on the admin API to report upstream statuses for
reverse_proxy
. It would be nice if caddy-l4 offered something similar.