<?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 auto-instrumentation - Overhead in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/180588#M4787</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;I want to perform automatic instrumentation for Android (Dynatrace Android Gradle plugin) and iOS and I want to know how much the weight of the mobile application will increase and how much data consumption (internet) will be after performing the instrumentation.&amp;nbsp;I was asking and they gave me an answer&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/doc/appmon/user-experience-management/mobile-uem/how-to-instrument-an-android-app/android-agent-7x/android-agent-setup-and-instrumentation/#anchor_limit" target="_blank"&gt;Android manual setup and instrumentation | AppMon documentation (dynatrace.com)&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/doc/appmon/user-experience-management/mobile-uem/#anchor_overhead" target="_blank"&gt;Mobile UEM | AppMon documentation (dynatrace.com)&lt;/A&gt;.&amp;nbsp;The drawback is that this information is from AppMon and is not very recent, ¿Is there another document that I can review or a more recent version that has this information?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 10 Feb 2022 17:38:48 GMT</pubDate>
    <dc:creator>Sara</dc:creator>
    <dc:date>2022-02-10T17:38:48Z</dc:date>
    <item>
      <title>auto-instrumentation - Overhead</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/180588#M4787</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;I want to perform automatic instrumentation for Android (Dynatrace Android Gradle plugin) and iOS and I want to know how much the weight of the mobile application will increase and how much data consumption (internet) will be after performing the instrumentation.&amp;nbsp;I was asking and they gave me an answer&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/doc/appmon/user-experience-management/mobile-uem/how-to-instrument-an-android-app/android-agent-7x/android-agent-setup-and-instrumentation/#anchor_limit" target="_blank"&gt;Android manual setup and instrumentation | AppMon documentation (dynatrace.com)&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/doc/appmon/user-experience-management/mobile-uem/#anchor_overhead" target="_blank"&gt;Mobile UEM | AppMon documentation (dynatrace.com)&lt;/A&gt;.&amp;nbsp;The drawback is that this information is from AppMon and is not very recent, ¿Is there another document that I can review or a more recent version that has this information?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 17:38:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/180588#M4787</guid>
      <dc:creator>Sara</dc:creator>
      <dc:date>2022-02-10T17:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: auto-instrumentation - Overhead</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/180601#M4788</link>
      <description>&lt;P&gt;CPU overhead is so low I can't really be measured. The application binary size will increase slightly (not sure about the current size but it was ~500kB last time I tried to compare it). And regarding the data consumption - it's best to measure it by yourself if you are worried. The payloads are effective, compressed and sent out in batches from the instrumented application.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 07:29:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/180601#M4788</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2022-02-11T07:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: auto-instrumentation - Overhead</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/180862#M4789</link>
      <description>&lt;P&gt;Hello Julius&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;¿Do you know a tool to measure data consumption ?&amp;nbsp; and ¿How can it be identified the dynatrace batches?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 00:07:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/180862#M4789</guid>
      <dc:creator>ljavelac</dc:creator>
      <dc:date>2022-02-17T00:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: auto-instrumentation - Overhead</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/180946#M4790</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/38588"&gt;@ljavelac&lt;/a&gt;&amp;nbsp;you will need to measure it by yourself somehow. The beacon URL contains /dtmb or /mbeacon depending on the configuration of your application and the SDK version used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 07:12:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/180946#M4790</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2022-02-18T07:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: auto-instrumentation - Overhead</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/180965#M4791</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/38588"&gt;@ljavelac&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't have root/jailbreaked device, the most correct way to acknowledge the Dynatrace traffic is to capture it on the network side. I know this is not easy, but it is the most correct way. This is because you will then have to filter out Dynatrace traffic, as in a typical situation, phones are very network chatty, your app will probably be using it's own data, and also you might have other 3rd parties like Firebase.&lt;/P&gt;&lt;P&gt;I have done this before, and it's only a few KBs per user action, but it can vary, depending on multiple factors, including of course the ones &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt; mentioned.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 09:16:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/180965#M4791</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2022-02-18T09:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: auto-instrumentation - Overhead</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/183172#M4792</link>
      <description>&lt;P&gt;I performed some tests to measure the data consumption of the mobile RUM in a native android application instrumented via Dynatrace Android Gradle plugin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I just want to post my experience and results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used theese tools and I got a good experience, but you should use them under your responsability:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Tpacketcapture, this app is available in play store, and this is a vpn app that capture the network traffic of the smartphone and save it in a .pcap file.&lt;/LI&gt;&lt;LI&gt;WireShark for PC to analyze the .pcap file.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;I performed 3 tests, 2 using wifi and 1 using mobile data. Then I checked the user sessions in Dynatrace Saas to determine the number of user action, errors, crash, events and session properties reported.&lt;/P&gt;&lt;P&gt;Then I analyzed each .pcap file, here it was a little difficult to identify the Dynatrace IPs so I tried with resolving the domain by running a nslookup command to the mobile beacon of the tenant, finally I got 5 distinct IPs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I filtered the IPs and verified the payloads to be sure about the Dynatrace traffic nodes. Here I found some references to amazon and the mbeacon.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here a result table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ljavelac_2-1648074276331.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4972i2AFB2FC33B1993B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="ljavelac_2-1648074276331.png" alt="ljavelac_2-1648074276331.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I realized that there were incoming an outcoming traffic in the app for the Dynatrace communication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;App incoming traffic from dynatrace = mostly security validations, TLS certificates (aws, dynatrace)....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;App outcoming traffic to dynatrace= mostly mobile rum reported data.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Finally&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data consumption for a user session with no crashes is around:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;test 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;outcoming = 16.91 KB rounded to 17 KB&lt;BR /&gt;incoming = 47.91 KB rounded to 48 KB&lt;BR /&gt;Total = 64.82 KB rounded to 65 KB&lt;/P&gt;&lt;P&gt;User actions = 33&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;test 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;outcoming = 18.7 KB rounded to 19 KB&lt;BR /&gt;incoming = 48.1 KB rounded to 48 KB&lt;BR /&gt;Total = 66.8 KB rounded to 67 KB&lt;/P&gt;&lt;P&gt;User actions = 38&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So, if I take the outcoming KB and divide by the number of user actions I get around 0,5 KB per user action.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data consumption for a user session with crash is around:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;test 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;outcoming = 24,7 KB rounded to 25 KB&lt;BR /&gt;incoming = 73,6 KB rounded to 74 KB&lt;BR /&gt;Total = 98.3 KB rounded to 98 KB&lt;/P&gt;&lt;P&gt;User actions = 16&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The Data consumption increased, I think it could be because of the crash stacktrace reported.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So, if I take the outcoming KB and divide by the number of user actions I get around 1,5 KB per user action.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For ending this post, I tried to raise a equation using useraction as variable and depending if the user action have crash or doesn´t. But this is very very experimental an is based only in 3 tests so there aren't enought data points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ljavelac_3-1648074382211.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4973i5E67BA9AC2F61B6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="ljavelac_3-1648074382211.png" alt="ljavelac_3-1648074382211.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The customer was concerned about data consumption, so this challenge was interesting and we got information that helped the customer to trust more in Dynatrace.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 22:30:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/183172#M4792</guid>
      <dc:creator>ljavelac</dc:creator>
      <dc:date>2022-03-23T22:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: auto-instrumentation - Overhead</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/183173#M4793</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/38588"&gt;@ljavelac&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for you investigation! I suppose that the traffic you mention is only the Dynatrace traffic, as 500 bytes per user action is even lower that what I had imagined!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 22:41:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/183173#M4793</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2022-03-23T22:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: auto-instrumentation - Overhead</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/183175#M4794</link>
      <description>&lt;P&gt;You're right, the traffic mention is only the Dynatrace traffic.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 22:47:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/auto-instrumentation-Overhead/m-p/183175#M4794</guid>
      <dc:creator>ljavelac</dc:creator>
      <dc:date>2022-03-23T22:47:14Z</dc:date>
    </item>
  </channel>
</rss>

