<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SDK configuration for custom Android app in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/SDK-configuration-for-custom-Android-app/m-p/224730#M5320</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi, we are instrumenting an android app with the dynatrace SDK version: 8.273.1.1003 (&lt;A href="https://www.dynatrace.com/support/help/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-oneagent-sdk/oneagent-sdk-for-android" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-oneagent-sdk/oneagent-sdk-for-android&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Due to technical limitations on networking, we would like to limit the monitor&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;only to&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;the actions set in the code in this way:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DTXAction webAction = Dynatrace.&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN&gt;enterAction&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;("ACTION NAME");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(&lt;A href="https://www.dynatrace.com/support/help/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-oneagent-sdk/oneagent-sdk-for-android#create-custom-actions" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-oneagent-sdk/oneagent-sdk-for-android#create-custom-actions&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unfortunately, we are still seeing actions not set such as this:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN&gt;Loading&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;SmartphoneHomeActivity&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN&gt;Loading&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;SPAN&gt;FAST Pax Staging&lt;/SPAN&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN&gt;Touch on&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN&gt;LinearLayout&lt;/SPAN&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN&gt;Touch on&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;SPAN&gt;&amp;nbsp;ImageView&lt;/SPAN&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;In this link:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/oneagent-sdk-for-android#disable-lifecycle-monitoring" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/shortlink/oneagent-sdk-for-android#disable-lifecycle-monitoring&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have seen that is possible to disable the Automatic monitor of the app but is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are any configurations that we need to set to achieve the result?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 10:40:08 GMT</pubDate>
    <dc:creator>andreaCaria</dc:creator>
    <dc:date>2023-10-06T10:40:08Z</dc:date>
    <item>
      <title>SDK configuration for custom Android app</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/SDK-configuration-for-custom-Android-app/m-p/224730#M5320</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, we are instrumenting an android app with the dynatrace SDK version: 8.273.1.1003 (&lt;A href="https://www.dynatrace.com/support/help/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-oneagent-sdk/oneagent-sdk-for-android" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-oneagent-sdk/oneagent-sdk-for-android&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Due to technical limitations on networking, we would like to limit the monitor&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;only to&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;the actions set in the code in this way:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DTXAction webAction = Dynatrace.&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN&gt;enterAction&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;("ACTION NAME");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(&lt;A href="https://www.dynatrace.com/support/help/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-oneagent-sdk/oneagent-sdk-for-android#create-custom-actions" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-oneagent-sdk/oneagent-sdk-for-android#create-custom-actions&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unfortunately, we are still seeing actions not set such as this:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN&gt;Loading&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;SmartphoneHomeActivity&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN&gt;Loading&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;SPAN&gt;FAST Pax Staging&lt;/SPAN&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN&gt;Touch on&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN&gt;LinearLayout&lt;/SPAN&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN&gt;Touch on&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;SPAN&gt;&amp;nbsp;ImageView&lt;/SPAN&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;In this link:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/oneagent-sdk-for-android#disable-lifecycle-monitoring" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/shortlink/oneagent-sdk-for-android#disable-lifecycle-monitoring&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have seen that is possible to disable the Automatic monitor of the app but is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are any configurations that we need to set to achieve the result?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 10:40:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/SDK-configuration-for-custom-Android-app/m-p/224730#M5320</guid>
      <dc:creator>andreaCaria</dc:creator>
      <dc:date>2023-10-06T10:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: SDK configuration for custom Android app</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/SDK-configuration-for-custom-Android-app/m-p/224733#M5321</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;&lt;BR /&gt;I assume you instrument your app with the Dynatrace Android Gradle plugin, because user actions like "Touch on ImageView" are only generated when auto-instrumentation (via the plugin) is enabled. You can verify this assumption by looking at the build.gradle files and check if the snippets from this &lt;A href="https://www.dynatrace.com/support/help/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-plugin/instrumentation-via-plugin" target="_self"&gt;page&lt;/A&gt; were added.&lt;BR /&gt;The linked setting "withActivityMonitoring" only deactivate monitoring for activity lifecycle events. Only the action "Loading SmartphoneHomeActivity" falls into this category. The other actions are generated by the different auto-instrumentation features of the Dynatrace Android Gradle plugin.&lt;BR /&gt;&lt;BR /&gt;The Dynatrace Android Gradle plugin allows users to deactivate all auto-instrumentation features via the plugin DSL. When you want to deactivate ALL auto-instrumentation features, then Dynatrace recommends to remove the plugin snippets from your build.gradle files and instead use &lt;A href="https://www.dynatrace.com/support/help/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-oneagent-sdk/manual-instrumentation" target="_self"&gt;standalone-manual instrumentation&lt;/A&gt;, because the plugin affects the build time of non-incremental builds.&lt;BR /&gt;&lt;BR /&gt;When the standalone-manual instrumentation is used, only two monitoring features are enabled by default: crash reporting and activity lifecycle monitoring. You can deactivate both features via the configuration builder (see &lt;A href="https://www.dynatrace.com/support/doc/javadoc/oneagent/android/agent/com/dynatrace/android/agent/conf/ConfigurationBuilder.html" target="_self"&gt;JavaDoc&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 11:19:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/SDK-configuration-for-custom-Android-app/m-p/224733#M5321</guid>
      <dc:creator>Thomas_Wirth1</dc:creator>
      <dc:date>2023-10-06T11:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: SDK configuration for custom Android app</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/SDK-configuration-for-custom-Android-app/m-p/224742#M5322</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you for your meaningful answer. I double-checked but it does not seem we are using the plugin. We did not see any code snippet that you mentioned...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have simply added this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;dependencies&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;SPAN&gt;implementation("com.dynatrace.agent:agent-android:8.273.1.1003")&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in the&lt;STRONG&gt; build.gradle.kts&lt;/STRONG&gt; file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And then start the monitoring using this guide:&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;STRONG&gt;https://www.dynatrace.com/support/help/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-oneagent-sdk/oneagent-sdk-for-android#start-oneagent&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you have any other clue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks a lot,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 12:46:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/SDK-configuration-for-custom-Android-app/m-p/224742#M5322</guid>
      <dc:creator>andreaCaria</dc:creator>
      <dc:date>2023-10-06T12:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: SDK configuration for custom Android app</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/SDK-configuration-for-custom-Android-app/m-p/224758#M5323</link>
      <description>&lt;P&gt;User action monitoring is only available with auto-instrumentation or by manually generating "Touch on &amp;lt;component&amp;gt;" user actions. Based on the user actions names, I would assume that these actions are generated by auto-instrumentation. Because of the flexibility of Gradle, there are several other possibilities how the Dynatrace Android Gradle plugin could be added to the Android build.&lt;BR /&gt;We would have to take a look at the monitoring data or the &lt;A href="https://www.dynatrace.com/support/help/platform-modules/digital-experience/mobile-applications/instrument-android-app/troubleshooting/debug-logging-oneagent" target="_self"&gt;agent debug logs&lt;/A&gt; to determine who generated these user actions. Therefore I recommend to create a support ticket, where you can privately share details about your app and Dynatrace can assist you in troubleshooting this problem.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 14:25:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/SDK-configuration-for-custom-Android-app/m-p/224758#M5323</guid>
      <dc:creator>Thomas_Wirth1</dc:creator>
      <dc:date>2023-10-06T14:25:30Z</dc:date>
    </item>
  </channel>
</rss>

