a9ca76d9df
Add the support for Newrelic and Datadog. ref: https://www.chatwoot.com/docs/self-hosted/monitoring/apm-and-error-monitoring fixes: #2861
6 lines
139 B
Ruby
6 lines
139 B
Ruby
if ENV['DD_TRACE_AGENT_URL']
|
|
Datadog.configure do |c|
|
|
# This will activate auto-instrumentation for Rails
|
|
c.use :rails
|
|
end
|
|
end
|