Enables correlation between your request and server-side processing for the tracked requests.
Stops tracking an HTTP request.
Immediately after receiving a response or an error, set the appropriate properties and call this method to report the outcome of the HTTP request. You should not continue to use this object after calling this method -- if you need to track another request, create another RequestTracker.
An error describing the failure to receive a response, if one occurred.
If the request was successful, this should be left null
.
A dictionary representing the keys and values from the client's request header.
A dictionary representing the keys and values from the server’s response header.
If an error occurred and a response was not received, this should be null
.
The status code of response, if one was received.
If a response was received, this should be an an integer. If an error occurred and a
response was not received, this should remain null
.
Generated using TypeDoc
Create and configure a RequestTracker object before sending an HTTP request to track it manually.
The URL being requested.
url
must not beundefined
.Instrumentation.start({ appKey: <YOUR_APP_KEY>})
must've been called.