Hey everyone,
As of v0.2.87, we now support machine checks for internal services! If your app doesn’t have any services listed, you can add the following to your fly.toml:
[[machine_checks]]
image = "curlimages/curl"
entrypoint = ["/bin/sh", "-c"]
command = ["curl [$FLY_TEST_MACHINE_IP]:8080"]
kill_signal = "SIGKILL"
kill_timeout = "5s"
(Notice the lack of services.
)
They work identically to how machine checks currently work, so you can start using them right away!