Sha256: c1866ab94283571da0915256fdd4ba8f392d645e16706100586a5b019abdde2a

Contents?: true

Size: 358 Bytes

Versions: 11

Compression:

Stored size: 358 Bytes

Contents

module RailsCloudTasks
  module Instrumentation
    extend ActiveSupport::Autoload

    autoload :Default
    autoload :Factory
    autoload :NewRelic

    module_function

    def agent
      @agent ||= RailsCloudTasks::Instrumentation::Factory.agent_class.new
    end

    def transaction_name!(*opts)
      agent.transaction_name!(opts)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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