<?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 Manual Instrumentation DtRum API in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Manual-Instrumentation-DtRum-API/m-p/247404#M6038</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROBLEM:&lt;/STRONG&gt; We're currently in the process of instrumenting a web application in Dynatrace, and while we have OneAgent installed, we've noticed discrepancies in the data captured by RUM (Real User Monitoring) compared to our actual user experience on the web app. For instance,&lt;U&gt; visually, the page appears to load within 5 seconds, but it takes around 20 seconds before it becomes fully functional for interaction.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;To address this, we're considering switching to &lt;STRONG&gt;manual instrumentation&lt;/STRONG&gt; to gather as much accurate information as possible. Our goal is to understand if it's feasible to nest &lt;STRONG&gt;`enterAction`&lt;/STRONG&gt; and&lt;STRONG&gt; `leaveAction`&lt;/STRONG&gt; in Dynatrace. Let me elaborate further:&lt;U&gt; we aim to establish a primary action that signifies the complete rendering of the page, and within this primary action, we'd like to include smaller actions to track additional details.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QUESTION:&lt;/STRONG&gt; Therefore, my question is twofold: Is it possible to achieve this nesting of actions in Dynatrace and see it in watherfall analysis, and if so, what specific components or functions do we need to utilize within the manual instrumentation API to accomplish this? Any insights or guidance would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2024 08:07:43 GMT</pubDate>
    <dc:creator>Piermarco</dc:creator>
    <dc:date>2024-06-05T08:07:43Z</dc:date>
    <item>
      <title>Manual Instrumentation DtRum API</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Manual-Instrumentation-DtRum-API/m-p/247404#M6038</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROBLEM:&lt;/STRONG&gt; We're currently in the process of instrumenting a web application in Dynatrace, and while we have OneAgent installed, we've noticed discrepancies in the data captured by RUM (Real User Monitoring) compared to our actual user experience on the web app. For instance,&lt;U&gt; visually, the page appears to load within 5 seconds, but it takes around 20 seconds before it becomes fully functional for interaction.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;To address this, we're considering switching to &lt;STRONG&gt;manual instrumentation&lt;/STRONG&gt; to gather as much accurate information as possible. Our goal is to understand if it's feasible to nest &lt;STRONG&gt;`enterAction`&lt;/STRONG&gt; and&lt;STRONG&gt; `leaveAction`&lt;/STRONG&gt; in Dynatrace. Let me elaborate further:&lt;U&gt; we aim to establish a primary action that signifies the complete rendering of the page, and within this primary action, we'd like to include smaller actions to track additional details.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QUESTION:&lt;/STRONG&gt; Therefore, my question is twofold: Is it possible to achieve this nesting of actions in Dynatrace and see it in watherfall analysis, and if so, what specific components or functions do we need to utilize within the manual instrumentation API to accomplish this? Any insights or guidance would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 08:07:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Manual-Instrumentation-DtRum-API/m-p/247404#M6038</guid>
      <dc:creator>Piermarco</dc:creator>
      <dc:date>2024-06-05T08:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Manual Instrumentation DtRum API</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Manual-Instrumentation-DtRum-API/m-p/247429#M6039</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In your case&lt;/SPAN&gt;&lt;SPAN&gt;, to solve your problem I would try&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;dtrum.setLoadEndManually();&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN&gt;After something loaded&amp;nbsp; (simple&amp;nbsp; JS&amp;nbsp; check)&amp;nbsp; - you control&amp;nbsp; when ~20s:&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%" height="30px"&gt;dtrum.signalLoadEnd();&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN&gt;Something&amp;nbsp; like this&lt;/SPAN&gt;&lt;SPAN&gt;. You will get - User Action&amp;nbsp; with&amp;nbsp; user&amp;nbsp; action&amp;nbsp; duration time ~20s.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You&amp;nbsp; would have one action, also you (customers developers) can control&amp;nbsp; this.&lt;/P&gt;&lt;P&gt;=====&lt;/P&gt;&lt;P&gt;to&amp;nbsp; second&amp;nbsp; your&amp;nbsp; question:&amp;nbsp; simple&amp;nbsp; answer -&amp;nbsp;&lt;STRONG&gt; &lt;SPAN&gt;Depends on the task and goals you want to achieve&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I recommend Instrument a simple page where everything is clear&lt;/SPAN&gt;&lt;SPAN&gt;, see what level of nesting can be achieved &lt;/SPAN&gt;&lt;SPAN&gt;- using the example &lt;/SPAN&gt;&lt;SPAN&gt;"hello world&lt;/SPAN&gt;&lt;SPAN&gt;" html page.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;---- below example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;for catching loading some block on page we use custom action. For other blocks - We send information as user action property and have App metrics.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For first block - we measure user action duration - "block load time"&lt;/P&gt;&lt;P&gt;For others - we measure blocks load time and push it as user action property, because this infromation used via&amp;nbsp; user&amp;nbsp; session&amp;nbsp; export to&amp;nbsp; elastic.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Romanenkov_Al3x_0-1717584467430.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/20330i59426E6C5D25FDD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Romanenkov_Al3x_0-1717584467430.png" alt="Romanenkov_Al3x_0-1717584467430.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above information may be inaccurate and is subject to certain limitations,&amp;nbsp; only&amp;nbsp; as&amp;nbsp; example,&amp;nbsp; what&amp;nbsp; can we&amp;nbsp; do&amp;nbsp; with DT_RUM.&lt;/P&gt;&lt;P&gt;For SaaS Dynatrace, maybe there are better solutions available through logs,&amp;nbsp; maybe Grail.&lt;/P&gt;&lt;P&gt;It's&amp;nbsp; better to explore other approaches and read information in blogs\docs if you are using Dynatrace SaaS.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alex Romanenkov&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 10:47:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Manual-Instrumentation-DtRum-API/m-p/247429#M6039</guid>
      <dc:creator>Romanenkov_Al3x</dc:creator>
      <dc:date>2024-06-05T10:47:56Z</dc:date>
    </item>
  </channel>
</rss>

