Skip to content

Commit

Permalink
tweak amp configuration. #420
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Feb 19, 2020
1 parent ac01a0f commit 7ff2c97
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/initializers/datadog-tracer.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# frozen_string_literal: true

Datadog.configure do |c|
c.tracer hostname: "datadog.local", enabled: Rails.env.production?, env: Rails.env
c.use :rails, service_name: "client-api"
c.use :elasticsearch
c.tracer hostname: "datadog.local", enabled: Rails.env.production?, env: Rails.env
c.use :active_record, analytics_enabled: false
c.use :aws, analytics_enabled: true
c.use :shoryuken, analytics_enabled: true
c.use :graphql, schemas: [LupoSchema]
end

0 comments on commit 7ff2c97

Please sign in to comment.