I’m searching for a functionality in the Machines API similar to the /wait endpoint on a machine, that only responds when the machine is started, but for health checks.
i.e. I want to call an endpoint and only get a 2xx code back once all health checks on a machine are healthy, to know when I can send my user requests through to that machine.
Does something like this exist or would the Fly team be willing to implement something like it?
Hi, no that’s not the problem. sorry if my post was unclear about that.
I’m routing traffic in my application by myself because it’s not HTTP, and I need my own application proxy. Now I want to know what method I could call from the proxy to know when a freshly started machine is ready to accept connections (my health check)