mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-11 18:26:50 +00:00
Disable new relic agent by default
It can be enable as needed by setting NEW_RELIC_AGENT_ENABLED env variable to true and setting a license key
This commit is contained in:
committed by
Gaetan Craig-Riou
parent
de52ff4abf
commit
0103942dcb
2
.env
2
.env
@@ -62,6 +62,8 @@ SMTP_PASSWORD="f00d"
|
||||
# STRIPE_CLIENT_ID="ca_xxxx" # This can be a development ID or a production ID
|
||||
# STRIPE_ENDPOINT_SECRET="whsec_xxxx"
|
||||
|
||||
# New relic settings
|
||||
# see: https://one.eu.newrelic.com/admin-portal/, Administration > API keys to get the license key
|
||||
# NEW_RELIC_AGENT_ENABLED=true
|
||||
# NEW_RELIC_APP_NAME="Open Food Network"
|
||||
# NEW_RELIC_LICENSE_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
common: &default_settings
|
||||
# Required license key associated with your New Relic account.
|
||||
# Use NEW_RELIC_APP_NAME env variable to specify the license key
|
||||
# Use NEW_RELIC_LICENSE_KEY env variable to specify the license key
|
||||
|
||||
# Your application name. Renaming here affects where data displays in New
|
||||
# Relic. For more details, see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/renaming-applications
|
||||
@@ -22,8 +22,8 @@ common: &default_settings
|
||||
enabled: true
|
||||
|
||||
# To disable the agent regardless of other settings, uncomment the following:
|
||||
|
||||
# agent_enabled: false
|
||||
# Agent is disabled by default, to enable set NEW_RELIC_AGENT_ENABLE env variable to true
|
||||
agent_enabled: false
|
||||
|
||||
# Logging level for log/newrelic_agent.log
|
||||
log_level: info
|
||||
@@ -52,7 +52,6 @@ common: &default_settings
|
||||
development:
|
||||
<<: *default_settings
|
||||
app_name: 'Open Food Network (Development)'
|
||||
monitor_mode: false
|
||||
|
||||
test:
|
||||
<<: *default_settings
|
||||
|
||||
Reference in New Issue
Block a user