* More loading fixes * Go back to OpenStruct * Shuffle things around * Remove obsolete patches and unneeded requires * Disable config.add_autoload_paths_to_load_path * Fix pre-require errors * Config not reloader
13 lines
289 B
Ruby
13 lines
289 B
Ruby
Datadog.configure do |c|
|
|
c.tracer env: Rails.env
|
|
c.tracer enabled: Rails.env.production?
|
|
c.tracer partial_flush: true
|
|
c.tracer priority_sampling: true
|
|
c.use :elasticsearch
|
|
c.use :sidekiq
|
|
c.use :redis
|
|
c.use :rails
|
|
c.use :http
|
|
end
|
|
|
|
DatadogStatsClient = Datadog::Statsd.new
|