01 Mar 2019 10:20 AM - last edited on 27 Apr 2021 07:59 AM by MaciejNeumann
An application development needs to add code to capture user activity for Dynatrace monitoring by levering the Dynatrace API. It can take several minutes for the activity before seeing it in the saas user sessions, so he was hoping to be able to determine what actions were detected by the OneAgent logs. We can see the beacons going out to Dynatrace, but we don't know what specific action the beacon is reporting.
Solved! Go to Solution.
This is unfortunately not possible as the Dyntrace RUM API may not touch the agent. A lot of processing such as user action naming is also performed at the cluster itself and looking at the beacon does not make much sense.
The best approach I know about is probably to perform a test and close the session in the browser console by calling dtrum.endSession(). This will finish the session processing in just few minutes.
Thank you for the response. The solution we are monitoring is using Angular with asynchronous routing (https://angular.io/guide/router#milestone-6-asynchronous-routing). The RUM Agent is missing some of the user activities, and after working with Dynatrace support and development they said we needed to manually wrap the actions.