diff options
| author | Bruno Perles | 2015-11-09 11:35:53 +0100 |
|---|---|---|
| committer | Bruno Perles | 2015-11-09 11:35:53 +0100 |
| commit | fe5998cc15e4ed5fde0ef4e9dd746d21bb34a4b3 (patch) | |
| tree | 667bc13caa01e4efa9eed668ce0a2971b31d5983 | |
| parent | 9cb484fb23c36654fb19e303a63ca5a5a4f6a7e1 (diff) | |
| download | chouette-core-fe5998cc15e4ed5fde0ef4e9dd746d21bb34a4b3.tar.bz2 | |
Add NewRelic to production
| -rw-r--r-- | config/newrelic.yml | 15 | ||||
| -rw-r--r-- | config/secrets.yml | 1 |
2 files changed, 10 insertions, 6 deletions
diff --git a/config/newrelic.yml b/config/newrelic.yml index 95df17b31..8473d5e01 100644 --- a/config/newrelic.yml +++ b/config/newrelic.yml @@ -1,19 +1,22 @@ +# # This file configures the New Relic Agent. New Relic monitors Ruby, Java, # .NET, PHP, Python and Node applications with deep visibility and low # overhead. For more information, visit www.newrelic.com. # -# Generated May 27, 2015 +# Generated November 09, 2015 +# +# This configuration file is custom generated for Cityway Paris # # For full documentation of agent configuration options, please refer to # https://docs.newrelic.com/docs/agents/ruby-agent/installation-configuration/ruby-agent-configuration common: &default_settings # Required license key associated with your New Relic account. - license_key: to_be_overridden + license_key: Rails.application.secrets.newrelic_licence_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 - app_name: Chouette + app_name: Chouette2 # To disable the agent regardless of other settings, uncomment the following: # agent_enabled: false @@ -21,17 +24,17 @@ common: &default_settings # Logging level for log/newrelic_agent.log log_level: info + # Environment-specific settings are in this section. # RAILS_ENV or RACK_ENV (as appropriate) is used to determine the environment. # If your application has other named environments, configure them here. development: <<: *default_settings - app_name: Chouette (Development) + app_name: Chouette2 (Development) # NOTE: There is substantial overhead when running in developer mode. # Do not use for production or load testing. developer_mode: true - monitor_mode: false test: <<: *default_settings @@ -40,7 +43,7 @@ test: staging: <<: *default_settings - app_name: Chouette (Staging) + app_name: Chouette2 (Staging) production: <<: *default_settings diff --git a/config/secrets.yml b/config/secrets.yml index 3f38dd3e7..0900478f7 100644 --- a/config/secrets.yml +++ b/config/secrets.yml @@ -29,3 +29,4 @@ production: api_endpoint: "http://localhost:8080/chouette_iev/" google_analytic_tracker: "UA-AAAAAAAA" # geoportail_api_key: "aaaaaaaaaaaaaaaaaaaaaa" + newrelic_licence_key: "aaaaaaaaaaaaaaaaaaaaaaaaaa" |
