question

Abednego P. avatar image
Abednego P. asked ·

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

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

appmonuemmobile monitoringadkandroidmobileapp
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 ·

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

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.

Babar Q. avatar image
Babar Q. answered ·

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

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.