Sha256: 077d6eb473686e374bc33df001868c6bbe6714958310ea6af9713f31acb18391

Contents?: true

Size: 249 Bytes

Versions: 7

Compression:

Stored size: 249 Bytes

Contents

require 'ddtrace/contrib/resque/resque_job'

module Jobs
  class Test
    extend Datadog::Contrib::Resque::ResqueJob
    @queue = :default

    def self.perform(params)
      Logger.new(STDOUT).debug("Working: #{params[:job_id]}")
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ddtrace-0.51.1 integration/apps/rails-five/app/jobs/test_job.rb
ddtrace-0.51.0 integration/apps/rails-five/app/jobs/test_job.rb
ddtrace-0.50.0 integration/apps/rails-five/app/jobs/test_job.rb
ddtrace-0.49.0 integration/apps/rails-five/app/jobs/test_job.rb
ddtrace-0.48.0 integration/apps/rails-five/app/jobs/test_job.rb
ddtrace-0.47.0 integration/apps/rails-five/app/jobs/test_job.rb
ddtrace-0.46.0 integration/apps/rails-five/app/jobs/test_job.rb