chore: support for APMs (#2874)

Add the support for Newrelic and Datadog.
ref: https://www.chatwoot.com/docs/self-hosted/monitoring/apm-and-error-monitoring

fixes: #2861
This commit is contained in:
Sojan Jose
2021-08-25 01:04:29 +05:30
committed by GitHub
parent 21e8a41206
commit a9ca76d9df
6 changed files with 80 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
if ENV['DD_TRACE_AGENT_URL']
Datadog.configure do |c|
# This will activate auto-instrumentation for Rails
c.use :rails
end
end