From c04b3b42977088b2399859ab97c5b91d08da194b Mon Sep 17 00:00:00 2001 From: Vishnu Narayanan Date: Wed, 20 Nov 2024 20:03:31 +0530 Subject: [PATCH] feat: disable newrelic monitoring in staging env by default --- config/newrelic.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/newrelic.yml b/config/newrelic.yml index 14561a74e..79a2fb221 100644 --- a/config/newrelic.yml +++ b/config/newrelic.yml @@ -71,12 +71,12 @@ development: test: <<: *default_settings # It doesn't make sense to report to New Relic from automated test runs. - monitor_mode: false + monitor_mode: <%= ENV.fetch('NEW_RELIC_MONITORING_ENABLED', false) %> staging: <<: *default_settings app_name: <%= ENV.fetch('NEW_RELIC_APP_NAME', 'Chatwoot') %> (Staging) - monitor_mode: false + monitor_mode: <%= ENV.fetch('NEW_RELIC_MONITORING_ENABLED', false) %> production: <<: *default_settings