scout_apm_ruby
scout_apm_ruby copied to clipboard
Do all traces get reported on (Heroku) dyno shutdown?
In case you’re using the scout_apm_ruby
gem in a Heroku environment with ephemeral storage and lots of unpredictable dyno shutdowns (due to deploys or autoscaling), is there a guarantee that all traces get reported to the backend?
From how I read the source, only metrics that are 2 minutes old or older get reported to the Scout backend. What happens if a dyno that runs a rake resque:work
process shuts down? Do the metrics collected in the last 2 minutes before just get lost?