mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Added possibility to add new relic app name
This commit is contained in:
parent
4ef50d97b5
commit
66b00b7a77
3 changed files with 9 additions and 0 deletions
1
config/initializers/new_relic_app_name.rb
Normal file
1
config/initializers/new_relic_app_name.rb
Normal file
|
@ -0,0 +1 @@
|
|||
NewRelic::Agent.config[:app_name] = "#{ENV['new_relic_app_name']} - #{Rails.env}" if ENV['new_relic_app_name'].present?
|
Loading…
Add table
Add a link
Reference in a new issue