This an example application. Please read this repository's main README and then visit back here.
This example app demonstrates how to integrate the appsignal gem with Resque in a Rails app.
For more information on how to integrate AppSignal, see the Resque docs page.
# Start Resque
QUEUE=* bundle exec rake environment resque:work
# Send in new jobs
bundle exec rails console
Resque.enqueue(ErrorWorker, { foo: "bar" })
Resque.enqueue(SlowWorker, { foo: "bar" })
# Queue a new ActiveJob job
> ActiveJobWelcomeMailJob.perform_later("optional argument", :foo => "bar")
# Queue a new ActiveJob job with an error
> ActiveJobErrorJob.perform_later("optional argument", :foo => "bar")