05 Jan 2024 08:46 PM - last edited on 22 Jan 2024 12:31 PM by Michal_Gebacki
I'm sharing this tips and hope that can be helpfull.
A mobile app developper I discussed with recently told me what can be very usefull with Dynatrace to replace 2 other products actually used to partially help him in debugging mobile app crash.
He needs 3 informations :
First two are simple as it's out-of-the-box within the RUM integration but for the third one, I can't find the information easily.
In Mobile app, we don't have the same view as Web app with entry or exit actions displayed in the UI so I started some test using USQL and I found that these requests perfectly match :
Last actions before a crash :
SELECT name AS "Last Action",count(*) AS "Crashes count" FROM useraction WHERE isExitAction=true AND usersession.crashGroupId IS NOT NULL GROUP BY name
Touch actions :
SELECT name AS "Last Action",count(*) AS "Crashes count" FROM useraction WHERE isExitAction=true AND (name STARTSWITH "Touch") AND usersession.crashGroupId IS NOT NULL GROUP BY name
Other actions :
SELECT name AS "Last Action",count(*) AS "Crashes count" FROM useraction WHERE isExitAction=true AND NOT(name STARTSWITH "Touch") AND usersession.crashGroupId IS NOT NULL GROUP BY name