• 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
        • Enterprise Synthetic Monitoring
      • Synthetic Classic
        • Synthetic Classic Open Q&A
  • Home /
  • Public Forums /
  • Dynatrace /
  • Dynatrace Open Q&A /
avatar image
Question by Jakub H. · Jan 21 at 01:06 PM · android

Dynatrace Xamarin Native Android Auto Instrumentation

Hi All,

I'd like to monitor my Native Android Xamarin app with Dynatrace OneAgent.

To auto-instrument my app I have tried the below (using Visual Studio)

1. Firstly, I have tried to auto-instrument by following this guide. Basically, all it tells (for native android) is to add Dynatrace.OneAgent.Xamarin nuget package and add Dynatrace.properties file in the assets folder. This has not worked, I did not see any data in the Dynatrace portal.

2. Secondly, I have tried the below after which I was able to see app data coming in Dynatrace portal - meaning the auto-instrumentation has worked. This is as per instructions on the dynatrace portal (instrumentation section)

  1. Download OneAgent for Android
  2. Created Dynatrace.properties file
  3. build and copy my apk file into the OneAgent folder
  4. call instrument.cmd apk=<AppName>.apk prop=Dynatrace.propertie

I was under impression that the nuget package automagically injects the mobile agent into my app (no source code modification required). Can someone who has successfully auto-instrumented a native android xamarin app tell me if there is anything else that needs to be done when using the nuget package?

Thanks

Jakub

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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

2 Replies

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

Answer by Matthias H. · Jan 21 at 02:41 PM

Hello Jakub,

You are right usually this should work out of the box as we are adding the target automatically. It seems something didn't work as intended. As workaround you can add the Target snippet which is described in the documentation (https://www.nuget.org/packages/Dynatrace.OneAgent.... to your csproj file.

In the mean time I will try to find out why applying the target didn't work.

Comment
Jakub H.

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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image

Answer by Jakub H. · Jan 21 at 03:19 PM

Hi Matthias,

Thanks for the suggestion, I can confirm that the workaround has worked.

Comment

People who like this

0 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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

Join the conversation!

First steps in the forum
Community User Guide

LIVE WEBINAR

"Power Demo: Software Intelligence for Cloud Infrastructure"


DECEMBER 12, 10:00 AM GMT / 2:00 PM ET

Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 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

How to set up user tagging in hybrid mobile app 2 Answers

Android Monitoring - Change max limit of user actions per session 2 Answers

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

Drill down to Purepath NOT available for Android App 1 Answer

Android Monitoring : User Session Timeout Configuration 4 Answers

Forum Tags

mobile monitoring dotnet iis chat kubernetes servicenow amazon web services mysql rest api cassandra dashboard oneagent sdk cmc application monitoring smartscape request attributes monitoring ui developer community user tagging log monitoring services ufo activegate auto-detection high five award webserver uem test automation license web performance monitoring ios migration management zones web services sso notifications host monitoring reports browser monitors java sap vmware maintenance window javascript appmon ai availability tipstricks automation extensions session replay permissions faq documentation problem detection http monitors easytravel 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 hosts user actions postgresql synthetic locations oneagent security Dynatrace Managed user management python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation database mission control apache mobileapp RUM php azure purepath davis plugins 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
      • Enterprise Synthetic Monitoring
    • Synthetic Classic
      • Synthetic Classic Open Q&A