Resque is a Redis-backed Ruby library for creating background jobs, placing them on multiple queues, and processing them later.
Support for Resque was added in AppSignal Ruby gem version
The AppSignal Ruby gem extends the default job class (
Resque::Job) if it is
present. If your jobs inherit from this class no further action is required.
If your jobs do not inherit from
Resque::Job you need to add this line to
your job classes:
When using ActiveJob, include
1 2 3 4 5 6 7 8
class BrokenJob < ApplicationJob include Appsignal::Integrations::ResqueActiveJobPlugin queue_as :default def perform(*args) # ... end end
AppSignal will then start monitoring these jobs without further configuration.
Want to help us improve this documentation page? Create a pull request