2 years ago
if i deploy healthchecks for all my services, do i basically get continuous uptime alerting "for free" or are the healthcheck endpoints only guaranteed to be called during and shortly after a new deploy. ie. if my service started catastrophically erroring 3 hours after a deploy such that my /health/ endpoint started to 500, would that trigger a change in deployment status and invoke my project webhook
4 Replies
2 years ago
good question, i dont think this is too clear in the docs.
the health checks are only called at the start of the deployment on a loop for a default of 5 minutes or until there is a success (200) response, whatever comes first. after that, the health check is never used again, railway does not yet have a continuous health check system, for that i can recommend my uptime kuma template 🙂
2 years ago
no problem!