diff --git a/config/initializers/datadog-tracer.rb b/config/initializers/datadog-tracer.rb index 50ec6b73f..1fb632066 100644 --- a/config/initializers/datadog-tracer.rb +++ b/config/initializers/datadog-tracer.rb @@ -2,4 +2,5 @@ Datadog.configure do |c| c.use :rails, service_name: "client-api" + c.tracer hostname: "datadog.local", enabled: Rails.env.production? end diff --git a/config/initializers/datadog.rb b/config/initializers/datadog.rb deleted file mode 100644 index 327f52afa..000000000 --- a/config/initializers/datadog.rb +++ /dev/null @@ -1,8 +0,0 @@ -# frozen_string_literal: true - -# require "ddtrace" - -# Datadog.configure do |c| -# # This will activate auto-instrumentation for Rails -# c.use :rails, service_name: "client-api" -# end