Flowdock
method

request_id

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActionDispatch::Request
request_id() public

Returns the unique request id, which is based on either the X-Request-Id header that can be generated by a firewall, load balancer, or web server or by the RequestId middleware (which sets the action_dispatch.request_id environment variable).

This unique ID is useful for tracing a request from end-to-end as part of logging or debugging. This relies on the Rack variable set by the ActionDispatch::RequestId middleware.

Show source
Register or log in to add new notes.