• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Dynatrace /
  • Dynatrace Open Q&A /
avatar image
Question by Ahmed M. · Oct 13, 2020 at 04:10 PM · dashboard Dynatrace Managed android mobileapp

Android APP Auto Instrumentation & Detection

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:

  • User actions name are not easy to understand as it has many "Loading page" and "Touch on image"
    • Loading DashboardActivity
    • Loading MIManagementActivity
    • Touch on ImageWithText
    • Touch on ConstraintLayout
    • Touch on نعم
    • Touch on تأكيد
    • Loading ADSLManagementActivity


  • Current user actions counts don't match our normal traffic, How can i validate my counts?


  • What is the user session query to get user actions as below query didnt help me and responses are not correct
    • SELECT useraction.name as "App pages", AVG(useraction.duration) as "AVG Duration" , COUNT(useraction.name) As Requests FROM usersession where useraction.application IN ("APP-Production") GROUP BY useraction.name ORDER BY Requests DESC limit 100


  • How can we get specific journey KPI, example: for home page (number of users, duration)


  • Some of user actions pages "Loading of my page" & "Touch on text" have internal requests "Display my page"
    • How can i get count of the internal request "Display my page" as it is the nearest meaning to the page hits.


  • Is there a recommended user session queries that I can use for my app dashboard as a presentation for our CIO.


I really need your support.


Thanks,

Ahmed

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

2 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Thomas W. · Oct 13, 2020 at 04: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.


Comment
Ahmed M.

People who like this

1 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Ahmed M. · Oct 15, 2020 at 11:30 AM

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

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Thomas W. · Oct 15, 2020 at 12:15 PM 0
Share

"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.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

35 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Could Dynatrace pull FogLight for Database metric to show on Dynatrace dashboard?

Create business journey dashboard by USQL

Cannot see processes on host after installed OneAgent in IBM WebSphere Application Server which Dynatrace does support

Dashboard to capture >10 seconds for user actions in Dynatrace managed.

How to show value of parameter - XMX in JMX java in dashboard ?

Forum Tags

mobile monitoring dotnet iis chat kubernetes servicenow amazon web services feedback mysql mainframe application rules rest api cassandra dashboard oneagent sdk cmc waterfall chart application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo opentelemetry integrations activegate auto-detection high five award uem webserver usql iib test automation license ios news migration management zones ibm mq web services notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming resource javascript appmon ai availability tipstricks automation extensions diagnostic tools session replay permissions search davis assistant auto-update faq documentation problem detection http monitors easytravel apdex network docker tags and metadata cloud foundry google cloud platform synthetic monitoring lambda process groups account usability dynatrace saas gui paas openshift key user actions administration production user actions postgresql synthetic locations upgrade oneagent security Dynatrace Managed user management python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting performance monitoring NGINX action naming geolocation linux nam installation error reporting database mission control apache slo mobileapp RUM php azure purepath davis scripting aix nodejs android
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A