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

Where can I find ADTXApplicationID and DTXAgentStartupPath for Android auto setup and instrumentation

abednego_petrus
Newcomer

Hello All,

Where can I find ADTXApplicationID and DTXAgentStartupPath for Android auto setup and instrumentation

I want to do Android auto setup and instrumentation but I don't find the DTXApplicationID and DTXAgentStartupPath settings. I wan to monitoring my mobile apps in Appmon. Where can I find DTXApplicationID and DTXAgentStartupPath ???

thank you all ...


2 REPLIES 2

BabarQayyum
Leader

Hello @Abednego P.

You will find in the APK-Instr.properties in the template file.

Below are the steps required for the Auto-instrumentation from the command line.


  1. Download the newest Mobile Agent. The file name is dynatrace-mobile-agents-<version>.zip. Unpack it to a directory of your choice.
  2. Copy the APK-Instr.properties property template file from the <MobileAgentUnzipDir>/Android/auto-instrumentor directory to a directory of your choice, and rename it.
  3. Edit the properties file to customize the auto-instrumentation process. The DTXApplicationID and DTXAgentStartupPath properties are required.
  4. Run the instrument command with the apk and prop parameters, for example, instrument.<cmd_or_sh> apk=<app-name>.apk prop=<prop-name>.properties.
  5. Sign the instrumented APK <pathToYourApk>/<nameOfAPK>/dist/<nameOfAPK>.apk with your debug or Google playstore certificate, or use the <pathToYourApk>/<nameOfAPK>/dist/<nameOfAPK>-final.apk APK, which is signed with the auto-instrumentor debug certificate.
  6. Start AppMon, including the web server (master) agent and your instrumented web or app server.
  7. Install and run your instrumented APK file.

Have a look in the below link for more insight.

https://www.dynatrace.com/support/doc/appmon/user-...

Regards,

Babar


harp
Dynatrace Pro
Dynatrace Pro

DTXAgentStartupPath = URL where the mobile agent should send its data to, like a webserver that is instrumented with an AppMon agent hand has UEM turned on - e.g.https://example.com/my/web/frontend
DTXApplicationID = an ID you choose for your mobile app do identify it - needs to be the same as configured on AppMon Server for the Application you want your mobile app to map into