Added possibility to add new relic app name

This commit is contained in:
Priit Tark 2015-05-19 16:08:27 +03:00
parent 4ef50d97b5
commit 66b00b7a77
3 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1 @@
NewRelic::Agent.config[:app_name] = "#{ENV['new_relic_app_name']} - #{Rails.env}" if ENV['new_relic_app_name'].present?