Performance and efficiency are essential to having a positive user experience and the diagnosis of click and flow activities can be a complex task in a SaaS environment where access to various log files is limited.
Oracle Real User Experience Insight (RUEI) – monitors real user activity, records user session data and provide web data into meaningful statistics. It enables you to view server and network times based on real user experience and provides the necessary data points for diagnosis of reported performance issues for click and flow.
In this article, I am going to explain an example where Enterprise Manager (EM) will be used to monitor user activity for fusion application on how the click is performing.
RUEI is integrated with Enterprise Manager (EM) and available in EM so that RUEI can communicate with EM and vice-versa
The User/Administrator has the required permissions to view RUEI data.
Login into EM console
Under Targets menu at the top select “Services” Targets->Services
In the Name search field, type the service name which is configured. For example, “ABC%” and click on search. You can use wildcard operator for search. Search result will populate on the screen matching service name as show below:
Click on relevant service name from the search result.
Click on “End User Experience→Metrics” under End User Service menu from the top left corner.
End User Service->End User Experience->Metrics
This is going to show a high level metrics of user activity on the server. There is “Add Fields” button which can be used to add additional custom fields from the fusion applications framework such as the Fusion Client Region, Fusion Client Component ID, Page Load Time (PLT) etc. These custom fields can be used to set the filter and get the result based on the set filter value.
In addition to add custom fields option, there is a slider which can be used to choose a duration window for which you want to view the user activity.
In below image, it is showing user activity – list of clicks, username and duration (purple bar). You can see these clicks are slow and taking few seconds. It clearly shows the user experience around this time for these clicks are not good.
Once you see what clicks are having visibly longer Response Rime (RT), next step is get more details about the click/activity user were trying to perform. To drill down the click/activity details, click on activity it will open a pop-up window (like below image) – Where you can see lot of useful information about the click. Briefly explaining some of the most useful attribute one need to look into.
ECID : Execution Context ID for the request, this will help in finding request in access log and if needed to root cause, a jfr recording can be obtained for further review.
Fusion Region : Content Region the page where content was rendered.
Fusion Client Component ID : This is ADF component ID
Component Type : CommandButton, ImageLink etc.
Service Provider : Internet Service Provider
Client IP Address : IP Address of client from where request was made.
These details really come handy to see what is going on with user activity. For example, by looking at service provider you can quickly say – whether user was accessing application from a corporate LAN network, or via a VPN connection. Note that, network latency plays a key role in performance of click/request. High network latency creates a bottleneck in any network communication hence it affects overall request performance.
RUEI has out of the box support for Fusion Applications. After identifying a problem administrator can quickly drill down, in context of a request or a session, directly into JVM Diagnostics, identifying (ECID) Execution Context ID for specific request
Note down the ECID from popup window for slow performing click – and obtain a JFR recording for further analysis to root cause the issue. (It depend upon your environment if auto jfr is enabled for managed server or not)
Going through process of jfr analysis for the slow request is beyond scope of this article.
As shown in the image above in the lower left corner different color patterns are displayed with their associated purpose. Users will experience slow performance where a click/activity is being performed for the first time and page is not cached where the page will take longer to render the content. In such scenario, you will notice high page download time. When drilling down to the click you will see a breakdown of total response time – where server time is less but browser time is way too high which adds to the overall page download time. Hence the user experience is slow, but as user continue to browse the response times will improve.
RUEI monitoring is done only in Production systems. Due to the hardware and resource requirements, monitoring is not possible in non-production pods.
Using RUEI from EM console will not only help you seeing actual performance but also help you in identifying bottlenecks and with potential root cause analysis. Good luck exploring the RUEI data and use this click/flow, user and session information and get to the bottom of real issue.