flamingo-run/rails-cloud-tasks

View on GitHub
lib/rails_cloud_tasks/instrumentation/factory.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module RailsCloudTasks
  module Instrumentation
    class Factory
      def self.agent_class
        return NewRelic if defined?(::NewRelic)

        Default
      end
    end
  end
end