| Class | NewRelic::Agent::Transaction::RequestAttributes |
| In: |
lib/new_relic/agent/transaction/request_attributes.rb
|
| Parent: | Object |
| HTTP_ACCEPT_HEADER_KEY | = | "HTTP_ACCEPT".freeze | ||
| REQUEST_URI_KEY | = | "request_uri".freeze | ||
| WILDCARD | = | "*".freeze | ||
| ROOT_PATH | = | "/".freeze |
In practice we expect req to be a Rack::Request or
ActionController::AbstractRequest (for older Rails versions). But anything
that responds to path can be passed to perform_action_with_newrelic_trace.
We don‘t expect the path to include a query string, however older test helpers for rails construct the PATH_INFO enviroment variable improperly and we‘re generally being defensive. |
| accept | [R] | |
| content_length | [R] | |
| content_type | [R] | |
| host | [R] | |
| port | [R] | |
| referer | [R] | |
| request_method | [R] | |
| request_path | [R] | |
| user_agent | [R] |