Class: HousingMisc::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- HousingMisc::ApplicationController
- Defined in:
- app/controllers/housing_misc/application_controller.rb
Direct Known Subclasses
CacheController, LogsController, ModelReflectionsController, SidekiqQueueCheckController
Instance Method Summary collapse
Methods inherited from ActionController::Base
Instance Method Details
#new_relic_custom_params ⇒ Object
5 6 7 8 9 |
# File 'app/controllers/housing_misc/application_controller.rb', line 5 def new_relic_custom_params ::NewRelic::Agent.add_custom_attributes(:http_referer => request.referer) ::NewRelic::Agent.add_custom_attributes(:referring_app => request.headers["app-name"]) ::NewRelic::Agent.add_custom_attributes(:global_request_id => Thread.current[:global_request_id]) end |