Skip to content

Commit

Permalink
added newrelic conf
Browse files Browse the repository at this point in the history
  • Loading branch information
olegphenomenon committed Nov 24, 2021
1 parent 8e0d80d commit 41c22c6
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
51 changes: 51 additions & 0 deletions config/newrelic.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 41c22c6

Please sign in to comment.