Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

appsignal/appsignal-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AppSignal + Rails 5 + Resque app

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.

Usage

# 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")

About

Example apps that integrate with AppSignal.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published