cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

oneagent uem crash reporting

gopikrishnanr
Organizer

I have a couple of questions regarding uem and they are as below :

1) how does dynatrace oneagent report crash when mobile application crashes abruptly closing all connections since our oneagent is inside application

2) How is the dynatrace code invoked Incase there is failure on
5th button out of total 6 buttons on page ? Will it showcase button failure or page failure ?

3) How is application instrumented? Is the
instrumentation code to be added on every page or every function?

Regards,

Gopikrishnan R.


4 REPLIES 4

skrystosik
DynaMight Guru
DynaMight Guru

Hello,

RUM (real user monitoring) in dynatrace is something different then backend monitoring. It's not instrumented on code level for each method execution. Dynatrace is monitoring parts of codes responsible for events from which are coming from user (clicking through interface), WebRequests and crashes.

You can also wrap parts of code manually to instrument and define custom actions (ex. scanning qr code with camera, you can send action on success and failure to use it later as conversion in dynatrace).

Applications can store informations about events and crashed inside internal memory handled by oneagent. In this case even if application is crashing, dynatrace can store stacktrace and send it later to Dynatrace Server.

If you have 6 buttons on page and after clicking on one of it there will be failure, dynatrace will present you such action as clicking on button "XXXX" where XXX is button label with information that in this place there was crash. You should also get stacktrace.

Sebastian


Regards, Sebastian

gopikrishnanr
Organizer

Thanks Sebastian.

RUM (real user monitoring) in dynatrace is something different then backend monitoring. It's not instrumented on code level for each method execution. Dynatrace is monitoring parts of codes responsible for events from which are coming from user (clicking through interface), WebRequests and crashes.

so what I dont understand is that our dynatrace agent is monitoring from outside the apk or sitting inside the apk because if its invoked from inside the apk so once the apk crashes oneagent will also get killed. so how will it report the crash.

If you have 6 buttons on page and after clicking on one of it there will be failure, dynatrace will present you such action as clicking on button "XXXX" where XXX is button label with information that in this place there was crash. You should also get stacktrace.

so what if the 5th button has some code issue and is not firing any request so will dynatrace show issue at 5th button?

Also for my 3rd question "Is the instrumentation code to be added on every page or every function?" in manual instrumentation I need to put dynatrace code in every code responsible to generate user actions and how does auto instrumentation handle the same?

Regards,

Gopikrishnan R.


I mean that it doesn't instrument code in the same way like on backend applications. Even when application is crashing stacktrace can be caught and stored. It will be send to server later when app will rerun.

When you will click for example 5th button, you are making user action. It can be changing screen etc. But dynatrace oneagen will measure performance of this action. If during this click on action there will be crash, you will see it in dynatrace as well.

Dynatrace has autoinstrumentation for iOS and Android as well, you don't need to do it manual. But what can be done is mixing auto and manual instrumentation if you need to measure performance of some part of code which is not executed becuase of user interaction (I've provided you an example of scanning qr code).

Sebastian


Regards, Sebastian

gopikrishnanr
Organizer

Thanks Sebastian for answering.


Featured Posts