Skip to content

Commit

Permalink
enable elasticsearch tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Feb 19, 2020
1 parent 799e1d8 commit 18ff007
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/initializers/datadog-tracer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

Datadog.configure do |c|
c.use :rails, service_name: "client-api"
c.tracer hostname: "datadog.local", enabled: Rails.env.production?
c.use :elasticsearch
c.tracer hostname: "datadog.local", enabled: Rails.env.production?, env: Rails.env
end

0 comments on commit 18ff007

Please sign in to comment.