question

Rejith R. avatar image
Rejith R. asked ·

Android Monitoring : User Session Timeout Configuration

Earlier this feature was available for calculating where a session ends

  • Following 30 minutes of browser/tab inactivity.

Looks like this check is not happening anymore (for new versions).

Is there any way we can enable this manually for MobileApp monitoring?

mobile monitoringandroidsso
10 |2000000 characters needed characters left characters exceeded

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

Patrick H. avatar image
Patrick H. answered ·

There is an API in the mobile agents to programatically end a session.

3 comments Share
10 |2000000 characters needed characters left characters exceeded

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

If yes than great, I've checked documentation today and this was missing. At least for dynatrace. I've seen it in Javascript API only.

Sebastian

0 Likes 0 · ·

for iOS it is visible in the header distributed with the agent (Dynatrace.h):
+[DTXAction endVisit] in Objective-C or DTXAction.endVisit() in Swift or Dynatrace.endVisit(); on Android

0 Likes 0 · ·

Cool thx :) good to know. It was strange for me to not have such feature. I will check all options on some apps I’ve done some times ago.

Sebastian

0 Likes 0 · ·
Rejith R. avatar image
Rejith R. answered ·

The android app that we are monitoring is part on a home panel device. From an interaction the customer would touch the panel a few times then walk away for 30 min.

We would like to consider that idle time as the indication that the session has ended. Right now we are seeing hours long sessions with few activities in that.


1 comment Share
10 |2000000 characters needed characters left characters exceeded

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

For now there is no such settings. You can post an RFE. I think it may be good idea to have to things. One would be for example ending session from manual app instrumentation tag, second ending after some time. For now there is no such option at all for mobile apps.

Sebastian

0 Likes 0 · ·
Sebastian K. avatar image
Sebastian K. answered ·

Be aware that dynatrace handles users sessions differently than appmon. In Dynatrace even if from licensing point of view, session will end, it doesn't mean that dynatrace will splitt it in UI. Another thing is that if you will have tagged user sessions, you can find user in users sessions dashboard. Than after clicking on him you will receive full list of user sessions in selected timeframe. It's easier to find and analyse them even if they are splitted.

Sebastian

Share
10 |2000000 characters needed characters left characters exceeded

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

Patrick H. avatar image
Patrick H. answered ·

Please clarify how "browser/tab inactivity" is related to mobile app monitoring. A session inactivity timeout never was configurable for mobile app monitoring

1 comment Share
10 |2000000 characters needed characters left characters exceeded

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

Patrick, Rejith was hoping that the way how we handle browser based user session inactivity time as a way to terminate a user session can be applied on mobile app user session for this use case as well.

0 Likes 0 · ·

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services custom event alerts notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions diagnostic tools session replay permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android