From 41c22c6072bbe0a58860ee03651350a4cfd16f57 Mon Sep 17 00:00:00 2001 From: olegphenomenon Date: Wed, 24 Nov 2021 23:14:35 +0200 Subject: [PATCH] added newrelic conf --- .gitignore | 1 - config/newrelic.yml | 51 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 config/newrelic.yml diff --git a/.gitignore b/.gitignore index d2f47b6059..3f23f1277b 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,6 @@ /config/application.yml /config/environments/development.rb /config/deploy.rb -/config/newrelic.yml /.idea # Do not commit one. Instead, download the latest from https://github.com/internetee/style-guide. diff --git a/config/newrelic.yml b/config/newrelic.yml new file mode 100644 index 0000000000..4958470756 --- /dev/null +++ b/config/newrelic.yml @@ -0,0 +1,51 @@ +# +# This file configures the New Relic Agent. New Relic monitors Ruby, Java, +# .NET, PHP, Python, Node, and Go applications with deep visibility and low +# overhead. For more information, visit www.newrelic.com. +# +# Generated November 24, 2021 +# +# This configuration file is custom generated for NewRelic Administration +# +# 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: eu01xxa40daea91d5bf28f03edbe049585f1NRAL + + # 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: Registry + + distributed_tracing: + enabled: true + + # To disable the agent regardless of other settings, uncomment the following: + # agent_enabled: false + + # 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: Registry (Development) + +test: + <<: *default_settings + # It doesn't make sense to report to New Relic from automated test runs. + monitor_mode: false + +staging: + <<: *default_settings + app_name: Registry (Staging) + monitor_mode: false + + +production: + <<: *default_settings + monitor_mode: false