| Module | NewRelic::Agent::Instrumentation::QueueTime |
| In: |
lib/new_relic/agent/instrumentation/queue_time.rb
|
newrelic.com/docs/features/tracking-front-end-time Record queue time metrics based on any of three headers which can be set on the request.
| REQUEST_START_HEADER | = | 'HTTP_X_REQUEST_START'.freeze | ||
| QUEUE_START_HEADER | = | 'HTTP_X_QUEUE_START'.freeze | ||
| MIDDLEWARE_START_HEADER | = | 'HTTP_X_MIDDLEWARE_START'.freeze | ||
| ALL_QUEUE_METRIC | = | 'WebFrontend/QueueTime'.freeze | ||
| EARLIEST_ACCEPTABLE_TIME | = | Time.at(946684800) | any timestamps before this are thrown out and the parser will try again with a larger unit (2000/1/1 UTC) | |
| CANDIDATE_HEADERS | = | [ REQUEST_START_HEADER, QUEUE_START_HEADER, MIDDLEWARE_START_HEADER | ||
| DIVISORS | = | [1_000_000, 1_000, 1] |