RUM Flashcards
3 injection types for web apps
- automatically by OneAgent
- manually if using agentless monitoring
- using Dynatrace browser extensions
Monitoring approach and injection type for mobile apps
- OneAgent for iOS or Android
2. no injection required
What is a user action?
An interaction with the web browser that involves a request to the web server
What are the types of user actions?
- load action
- XHR action
- custom action
The 2 differences between the types of user actions are?
- how the action duration is calculated
2. what metrics are available
How is a load action defined?
The actual loading of a page
What is the action duration for a load action?
The duration of the load of the page
When does the duration of a load action begin?
The duration start is set to the attribute navigationStart.
If not available, the start is set to the moment the Javascript RUM code was initialized.
When does the duration of a load action end?
The action ends when the onLoad handler finishes its task or after the completion of a XHR triggered by the handler itself.
How is a XHR action defined?
If the user actions lead to a XHR or a fetch() call, Dynatrace creates a XHR action
What is the action duration for a XHR action?
The duration between the XHR or fetch() call till the loading of all resources is completed
When does the duration of a XHR action begin?
The XHR action duration begins when the user actions lead to a XHR or a fetch() call
When does the duration of a XHR action end?
When the loading of all resources has been completed
How can you select which user interaction types should be detected automatically by RUM?
Application -> Edit -> Advanced Settings -> Advanced Setup
How can you define custom user actions?
Using the Javascript RUM API
What are the three parts of user action duration?
- Frontend time
- Network time
- Server time