Skip to content

Commit

Permalink
Merge pull request #609 from lsamuels-fearless/srch-1592-newrelic-end…
Browse files Browse the repository at this point in the history
…point

SRCH-1592 Set New Relic collection endpoint as a rails config variable
  • Loading branch information
lsamuels-fearless authored Jul 31, 2020
2 parents f58900a + 37ba788 commit 66c7b98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/newrelic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
enabled: true
capture_source: true
ignore_errors: ActionController::RoutingError
common: &default_settings
host: <%= Rails.application.secrets.newrelic[:endpoint] %>
3 changes: 2 additions & 1 deletion config/secrets.yml.dev
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ airbrake_secrets: &AIRBRAKE_SECRETS
project_id: 12345
project_key: PUT_YOUR_PROJECT_KEY_HERE

# Refer to https://github.com/GSA/search-gov/wiki/Obtaining-and-adding-USAJOBS-API-key
# Refer to https://github.com/GSA/search-gov/wiki/Obtaining-and-adding-USAJOBS-API-key
jobs_secrets: &JOBS_SECRETS
user_agent: your_email
authorization_key: your_usajobs_api_key
Expand Down Expand Up @@ -101,6 +101,7 @@ dev_settings: &DEV_SETTINGS
app_name: USA Search (PUT YOUR NAME HERE)
enabled: false
log_level: info
endpoint: gov-collector.newrelic.com
organization:
app_host: localhost:3000
blog_url: https://search.gov
Expand Down

0 comments on commit 66c7b98

Please sign in to comment.