mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 19:48:08 +00:00
Add the support for Newrelic and Datadog. ref: https://www.chatwoot.com/docs/self-hosted/monitoring/apm-and-error-monitoring fixes: #2861
7 lines
149 B
Ruby
7 lines
149 B
Ruby
if ENV['SENTRY_DSN']
|
|
Sentry.init do |config|
|
|
config.dsn = ENV['SENTRY_DSN']
|
|
config.enabled_environments = %w[staging production]
|
|
end
|
|
end
|