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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With