RUM resources
A resource event corresponds to a resource or asset fetch on a webpage such as an image, XHR, Fetch, CSS, or JS library. A resource is a child event to an action event. It also has the context of the view that is currently active.
The following properties may be used to analyze and profile resources in a session:
- duration
-
Overall time spent fetching the resource
- resource.size
-
Resource size
- resource.connect.duration
-
Time to establish connection to resource server
- resource.ssl.duration
-
TLS handshake time for HTTPS connections
- resource.dns.duration
-
DNS resolution time
- resource.redirect.duration
-
Time spent on downstream HTTPS requests
- resource.first_byte.duration
-
Waiting time to receive the first byte of the resource
- resource.download.duration
-
Response download time
- resource.type
-
Type of resource being fetched.
- resource.method
-
HTTP method
- resource.status_code
-
Response code
- resource.url
-
URL of the resource being fetched
- resource.url_host
-
URL host
- resource.url_path
-
URL path
- resource.url_query
-
URL query parameters
- resource.url_scheme
-
Protocol type
- resource.provider.name
-
Resource provider name
- resource.provider.domain
-
Resource domain
- resource.provider.type
-
The type of content provider