DOCS LLMs

Uptime and monitoring

RailsFast comes preconfigured with the allgood gem for health checks / smoke tests.

You can see all your current health checks by navigating to /healthcheck:

RailsFast app health checks with the allgood gem

By default, we check things like whether the database is up and running, the server has enough disk and memory, etc. You can customize your health checks by editing your config/allgood.rb file. Check the allgood docs to know everything you can add to check the health of your app!

The recommended use of this /healthcheck endpoint is to use it together with an uptime monitoring service like UptimeRobot. In UptimeRobot, you'd just add https://YOURAPP.COM/healthcheck as an URL to monitor every 5 minutes, and whenever any of the checks fail, you'd get a notification, a call, or a text, depending on what you have configured. It's very useful to quickly know if there's anything wrong with your app and fix it before any of your users notice!