scoutapp / scout_apm_elixir

ScoutAPM Elixir Agent. Supports Phoenix and other frameworks.
https://scoutapm.com
Other
36 stars 20 forks source link

Ensure agent doesn't log or otherwise break if scout_apm application not started #32

Closed cschneid closed 5 years ago

cschneid commented 7 years ago

This came up during a customer's test suite, when they didn't have the scout_apm application started.

Make sure that no unnecessary log messages, and no errors are raised in the case of ScoutApm application not being started.

cschneid commented 7 years ago

For instance:

     ** (exit) exited in: GenServer.call(ScoutApm.Config, {:find, :dev_trace}, 5000)
         ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
     stacktrace:
       (elixir) lib/gen_server.ex:729: GenServer.call/3
       lib/scout_apm/devtrace/plug.ex:11: ScoutApm.DevTrace.Plug.call/2
mitchellhenke commented 5 years ago

Closing this issue for now as there haven't been any recent reports. If you do run into this, please let us know!