R
Railwayβ€’8mo ago
fspoon

will custom deployment healthchecks trigger project-wide deploy webhooks?

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
Solution:
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 πŸ™‚...
Jump to solution
5 Replies
Percy
Percyβ€’8mo ago
Project ID: 4e904f1c-19d6-414c-8531-67cd01ac36a6
fspoon
fspoonβ€’8mo ago
4e904f1c-19d6-414c-8531-67cd01ac36a6
Solution
Brody
Brodyβ€’8mo 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 πŸ™‚
fspoon
fspoonβ€’8mo ago
awesome, thanks for the info
Brody
Brodyβ€’8mo ago
no problem!
Want results from more Discord servers?
Add your server