Sha256: 3645f856e0b8a114875d37b1c16f765d3858206e8bfb2c6556484e46138c7d03

Contents?: true

Size: 186 Bytes

Versions: 12

Compression:

Stored size: 186 Bytes

Contents

module RailsCloudTasks
  module Instrumentation
    class Factory
      def self.agent_class
        return NewRelic if defined?(::NewRelic)

        Default
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rails-cloud-tasks-0.0.10 lib/rails_cloud_tasks/instrumentation/factory.rb
rails-cloud-tasks-0.0.9 lib/rails_cloud_tasks/instrumentation/factory.rb
rails-cloud-tasks-0.0.9.pre.rc lib/rails_cloud_tasks/instrumentation/factory.rb
rails-cloud-tasks-0.0.8 lib/rails_cloud_tasks/instrumentation/factory.rb
rails-cloud-tasks-0.0.7 lib/rails_cloud_tasks/instrumentation/factory.rb
rails-cloud-tasks-0.0.7.pre.rc lib/rails_cloud_tasks/instrumentation/factory.rb
rails-cloud-tasks-0.0.6 lib/rails_cloud_tasks/instrumentation/factory.rb
rails-cloud-tasks-0.0.5 lib/rails_cloud_tasks/instrumentation/factory.rb
rails-cloud-tasks-0.0.4 lib/rails_cloud_tasks/instrumentation/factory.rb
rails-cloud-tasks-0.0.4rc2 lib/rails_cloud_tasks/instrumentation/factory.rb
rails-cloud-tasks-0.0.4.rc1 lib/rails_cloud_tasks/instrumentation/factory.rb
rails-cloud-tasks-0.0.3 lib/rails_cloud_tasks/instrumentation/factory.rb