I have instrumented android app with Dynatrace ADK using Gradle plugin and it was instrumented successfully I am able to capture all the Lifecycle events and major data point for the same expect below three data points under Mobile App Details section
1) Number of Running Processes:
2) Signal Strength [dBm]:
3) GPS Coordinates:
Please help me getting above data points as well
Thanks in advance
Answer by Thomas W. ·
The latest agent version does not capture the two metrics "Number of Running Processes" and "Signal Strength". These metrics were only reported by older agent versions.
The Android agent does not automatically monitor the GPS position and it does not add a Location listener to your application. You have to enable the property DTXInstrumentGPSLocation and implement a LocationListener.
From the official documentation:
Activate the DTXInstrumentGPSLocation property to monitor the user location. This lets the auto-instrumentor instrument all your location listeners, and appends the captured user position to the sent data. The agent captures only three fractional digits. Your application must request the location permission and implement the location listener. The auto-instrumentor supports the following location listeners: * android.location.LocationListener * com.google.android.gms.location.LocationListener
We also recommend to use the latest 7.1 agent version instead of the 7.0 agent. The 7.1 agent is compatible a 7.0 AppMon server. You only have to enable the property DTXInstrumentWebRequestActionWrapping. For more information see the migration page.
android manual instrumentation 2 Answers