Performance monitoring
Event timeline
Resque jobs appear in the event timeline of your application’s performance actions asperform.resque events.
Incident grouping
AppSignal detects job names from the Resque worker class name, suffixed with theperform method name, resulting in something like MyWorker#perform. AppSignal groups jobs by this name for performance monitoring and notifications.
Enqueue instrumentation
Enqueuing a Resque job records anenqueue.resque event, titled after the job being enqueued.
AppSignal records enqueue events on the active transaction’s event timeline, for example when you enqueue a job from within a web request or from within another job. It only records them when a transaction is active, so enqueuing a job outside of a transaction records nothing.
To stop recording enqueue events across all background job integrations, set the enable_job_enqueue_instrumentation config option to false. This does not affect the instrumentation of the jobs themselves.
Active Job support
The Resque integration is compatible with Active Job. Upgrade to version 2.11.0 of the Ruby gem or newer for improved support.Example apps
We’ve added a Rails 5 + Resque example app to our examples repository. Take a look if you’re having trouble getting AppSignal for Resque configured.Span attributes
Collector mode only: this applies when AppSignal for Ruby runs in collector mode. It has no effect otherwise.
messaging.system— the queueing library.messaging.destination.name— the queue the job was put on.messaging.operation.type— whether the span is the enqueue or the job running.
error.type, the class of the error.
Distributed tracing
Collector mode only: this applies when AppSignal for Ruby runs in collector mode. It has no effect otherwise.