I'm using Newrelic for monitoring my rails app status. They ping (GET request I think) our app every 5 minutes. Do you know how to prevent rails from spawning new user session for every request they are making?
Other good answers are already here, but the pinger is documented in full here: https://newrelic.com/docs/alerts/availability-monitoring
Have it ping something that exists in the public
directory.
This won't check to make sure that your app is running, but just that the server is up. Assuming the server is up, then your app should be able to create exceptions and New Relic will catch those.
On a new Rails app, for instance, you could have it ping http://rooturl/images/rails.png
as that png is in public/images/
by default.
I seem to recall some recent work for specifically this use case -- you might contact New Relic support and see if this has been addressed recently.
Other good answers are already here, but the pinger is documented in full here: https://newrelic.com/docs/alerts/availability-monitoring
© 2022 - 2024 — McMap. All rights reserved.