13 Oct 2020 05:10 PM - last edited on 01 Jul 2021 01:32 PM by MaciejNeumann
Hi All,
Kindly we have successfully integrated SDK to our android app (Auto instrumentation) and we are currently receiving app user sessions.
But we are facing below issues:
I really need your support.
Thanks,
Ahmed
Solved! Go to Solution.
13 Oct 2020 05:31 PM
Hey Ahmed,
I assume you are using the Dynatrace Android Gradle plugin to auto-instrument your app. This documentation section explains the logic that the agent uses to determine the user action name for the "Touch on" actions. The "Loading <activity>" user actions are generated, when a new activity is (re)displayed without a (monitored) user interaction.
You can customize the user action names by using the Dynatrace.modifyUserAction method call.
15 Oct 2020 12:30 PM
Thank you, we have disabled user actions in configuration and now all touches are cleared and only pages are displayed .
But also we have misunderstanding in the user actions:
1- Loading application action has multiple sub user actions "App start, display splash, display dashboard" however some time they are loaded in separate actions (Loading splash and loading dashboard activity)
2- How can I get number of user actions per page and average duration.
Thanks,
Ahmed
15 Oct 2020 01:15 PM
"App start, display splash, display dashboard" are lifecycle events. A lifecycle event is always part of user action. When you have a button and the button generates an intent to start a new activity, then you will have a "Touch on <button>" user action which has a lifecycle event "Display <new activity>" as child element. The agent will add additional data (like web requests) to the user action, to provide a better overview of the impact from the button click. When there is no monitored user action, then the agent will generate a new user action based on the first activity ("Loading <new activity>"). This user action is needed to aggregate the lifecycle event and other data (as web requests).
In the case of the splash screen scenario, the agent assume that both lifecycle events belong together and therefore will aggregate them if the time constraints are fulfilled. When the behavior is inconsistent, then you can adjust the default time settings.
2- How can I get number of user actions per page and average duration.
I'm not an USQL expert.