mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-10 03:30:22 +00:00
Replace outdated datadog config syntax
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
if ENV['DATADOG_RAILS_APM']
|
||||
Datadog.configure do |c|
|
||||
c.tracing.instrument :rack, request_queuing: true
|
||||
c.tracing.instrument :rails, service_name: 'rails'
|
||||
|
||||
c.tracing.analytics.enabled = true
|
||||
c.runtime_metrics.enabled = true
|
||||
|
||||
c[:rack].request_queuing = true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user