lib/monitr-rails.rb in monitr-rails-1.2.4 vs lib/monitr-rails.rb in monitr-rails-1.2.5
- old
+ new
@@ -19,10 +19,10 @@
# This deals with Heroku passing the load balancers instead of the originating address
if controller.request.env["HTTP_X_REAL_IP"] != nil
params["REMOTE_ADDR"] = controller.request.env["HTTP_X_REAL_IP"]
end
- params["REQUEST_URI"] = @domain
+ params["DOMAIN"] = @domain
if @monitr_request_start
params["REQUEST_PROCESS_TIME"] = Time.now.to_f - @monitr_request_start
end