Skip to content

Commit

Permalink
Expose GoodJob integration
Browse files Browse the repository at this point in the history
  • Loading branch information
benngarcia committed Aug 6, 2024
1 parent 995da5f commit 3036d5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/scout_apm/background_job_integrations/good_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ def name
:good_job
end

def present?
defined?(::GoodJob::Job)
end

def forking?
false
end
Expand Down
1 change: 1 addition & 0 deletions lib/scout_apm/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class Environment
ScoutApm::BackgroundJobIntegrations::DelayedJob.new,
ScoutApm::BackgroundJobIntegrations::Que.new,
ScoutApm::BackgroundJobIntegrations::Faktory.new,
ScoutApm::BackgroundJobIntegrations::GoodJob.new,
]

FRAMEWORK_INTEGRATIONS = [
Expand Down

0 comments on commit 3036d5b

Please sign in to comment.