scout_apm_ruby icon indicating copy to clipboard operation
scout_apm_ruby copied to clipboard

Do all traces get reported on (Heroku) dyno shutdown?

Open mkilling opened this issue 4 years ago • 0 comments

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?

mkilling avatar Aug 09 '20 11:08 mkilling