if ENV['DATADOG_RAILS_APM']
  Datadog.configure do |c|
    c.use :rails, service_name: 'rails'
    c.use :delayed_job, service_name: 'delayed_job'
    c.use :dalli, service_name: 'memcached'

    c.analytics_enabled = true
    c.runtime_metrics_enabled = true
    c.request_queuing = true
  end
end

if ENV['DATADOG_RAILS_APM']
  Datadog.configure do |c|
    c.use :rails, service_name: 'rails'
    c.use :delayed_job, service_name: 'delayed_job'
    c.use :dalli, service_name: 'memcached'
    c.analytics_enabled = true
    c.runtime_metrics_enabled = true
  end
end

Revert "Enable request queuing tracking in Datadog"
Revert "Enable request queuing tracking in Datadog"

This reverts commit 91e527614002377e4dfcf360522a6244fa530a37.
