scoutapp / scout_apm_elixir

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

Background Job Instrumentation #22

Closed itsderek23 closed 7 years ago

itsderek23 commented 7 years ago

Add the ability to instrument background jobs, which appear within a dedicated area of the Scout UI.

We should have docs on instrumenting common background-ish things:

itsderek23 commented 7 years ago

Exq

The middleware approach won't work as the job execution happens in a different process than the middleware before/after hooks. This will track the start and end time of transactions but will drop any instrumentation and context.

I believe the actual job execution happens here.

itsderek23 commented 7 years ago

See this guide for instructions on background job instrumentation.

Released w/ 0.3.0.