Skip to content

Commit

Permalink
Enabling new relic agent
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeCodes19 committed Jun 28, 2024
1 parent f4737c4 commit 43bc177
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/config/newrelic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ common: &default_settings

browser_monitoring:
# include js code via partial to comply with CSP settings
auto_instrument: false
auto_instrument: true

# This line disables agent regardless of other settings.
# To enable the New Relic agent:
# 1) add the New Relic license keys to the appropriate encrypted credentials file(s)
# 2) Optionally, update app_name entries in this file with the application name you want to show in New Relic
# 3) Comment out the line below
agent_enabled: false
agent_enabled: true

# Logging level for log/newrelic_agent.log
log_level: info
Expand Down
4 changes: 4 additions & 0 deletions infra/app/app-config/env-config/environment-variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ locals {
{
name = "SLACK_TEST_EMAIL"
ssm_param_name = "/service/${var.app_name}-${var.environment}/slack-test-email"
},
{
name = "NEWRELIC_KEY"
ssm_param_name = "/service/${var.app_name}-${var.environment}/newrelic-key"
}
]
}

0 comments on commit 43bc177

Please sign in to comment.