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
Formula User action duration
(loadEventEnd or lastXHREnd) - actionStart
Formula Frontend time
User action duration - Network time - Server TIme
Formula Network time
(requestStart - actionStart) + (responseEnd - responseStart)
Formula Server time
responseStart - requestStart
What can you do to have a more meaningful name set for user actions?
Insert the data-dtname attribute into HTML
How does Dynatrace assign even anonymous user sessions to known users?
By storing a persistent cookie on the browser of the user
When does a user session start?
When the first user action was initiated
When does a user session end?
- After 30 minutes of browser inactivity
- When the user closes his browser
- After a limit of 200 user actions were executed
- by calling the dtrum.endSession() method of the Javascript API
How long does it take for a user session to be visible in the user session search?
Usually 4 minutes. However, this could sometimes exceed to 10.5 minutes.
How are user actions grouped into user sessions?
Dynatrace stores info in cookies and local storage in order to correlate user actions
How to edit Apdex for application
Apps -> select app -> edit app -> general
How to edit Apdex for key user actions
Apps -> select app -> top3 user actions -> view full details -> scroll down to key user actions -> select key user action -> edit
What are the 8 key performance metrics?
- User action duration
- Visual complete
- DOM interactive
- Speed index
- Time to first byte
- Load event start
- Load event end
- HTML downloaded
What are the 3 performance levels of ApDex?
- Satisfactory
- Tolerable
- Frustrating
How are User actions with JavaScript errors rated?
Frustrating
What is the user experience score?
ApDex for user sessions
What are the 5 masking types in session replay and which ones are enabled by default?
- All form fields (enabled)
- Password fields (enabled)
- Content
- Attribute
- Interaction (enabled for select forms e.g. gender)
How can you map private IPs to a geolocation?
Settings > Web and mobile monitoring > Map IP addresses to locations
When to use browser extension for RUM?
When you want to monitor 3rd party applications
When to use agentless monitoring?
When you cant install OneAgent on your server
What are the 3 insertion methods for RUM?
- Javascript tag
- Code snippet
- Inline code
What data is displayed in the Waterfall analysis view?
- Document requests
- XHR requests
- Resources
What are the 6 Top findings in the Waterfall analysis view?
- Uncompressed text resources
- Resources larger than 100kb
- Resources that have a browser cache rate lower than 50%
- Slow first party, third party, or CDN resources (> 200 ms)
- Contacted third party and CDN domains
- First party, third party, and CDN resources
What metrics can you select in the Waterfall analysis view?
key performance metrics
What are the 4 types of conversion goals?
- User action
- Session duration
- Number of user actions
- Destination