<?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 Re: PRO TIP - RUM injection check tips in Dynatrace tips</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-RUM-injection-check-tips/m-p/245459#M1241</link>
    <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/17213"&gt;@AntonioSousa&lt;/a&gt;&amp;nbsp;these are code module IDs. I think it's visible if you download the support archive, but I'm not sure how to find them in the UI without DebugUI access.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2024 21:08:46 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2024-05-13T21:08:46Z</dc:date>
    <item>
      <title>PRO TIP - RUM injection check tips</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-RUM-injection-check-tips/m-p/173825#M264</link>
      <description>&lt;P&gt;Sometimes you might encounter issues with RUM injection by OneAgent. This may have different reasons.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Use the dtHealthCheck as the user-agent header in your request to validate the injection. For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl --user-agent "dtHealthCheck" https://your.site -v -o /dev/null&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Then check the response headers. It should contain the x-dthealthcheck headers such as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;x-dthealthcheck: OK|0xd75620e4e0330b23
x-dthealthcheck: ALREADY_INJECTED_HEADER_FOUND|0xea94eb939e4beabd&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These contain useful information - if the injection was tried and what was the result. In this example, RUM was injected by an application server and also tried on the webserver, but it was already injected.&lt;BR /&gt;&lt;BR /&gt;A lot of RUM injection errors can be diagnosed this way.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you are still not successful with the RUM JavaScript injection, check:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if the agent is deployed and application processes restarted&lt;/LI&gt;&lt;LI&gt;if you have remaining DEM licenses in your environment as injection won't happen if there are no remaining DEM licenses&lt;/LI&gt;&lt;LI&gt;check your application detection rules in&amp;nbsp;Settings &amp;gt;&amp;nbsp;Web and mobile monitoring &amp;gt;&amp;nbsp;Application detection and check if the application URL resolves to the desired application in Dynatrace&lt;/LI&gt;&lt;LI&gt;check if the Application in Dynatrace is enabled&lt;/LI&gt;&lt;LI&gt;check if injection for the process groups where it should happen is enabled&lt;/LI&gt;&lt;LI&gt;some Java web frameworks (ZK framework for example) already produce compressed output and Dynatrace is unable to inject there. You can try to issue the request without Accept-Encoding header and check if the injection is performed or not.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Some built-in Java webservers such as undertow in certain combinations have issues with injection. Try setting the Deep Monitoring flag&amp;nbsp; "Java Real user monitoring v2" for the process groups.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 23 Nov 2021 20:49:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-RUM-injection-check-tips/m-p/173825#M264</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2021-11-23T20:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: PRO TIP - RUM injection check tips</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-RUM-injection-check-tips/m-p/201814#M656</link>
      <description>&lt;P&gt;Great Pro Tip&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 16:40:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-RUM-injection-check-tips/m-p/201814#M656</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-01-09T16:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: PRO TIP - RUM injection check tips</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-RUM-injection-check-tips/m-p/238206#M1166</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;When I have a RUM injection issue, I always follow your checklist and what was shown in &lt;A href="https://community.dynatrace.com/t5/Videos/Dynatrace-Tips-amp-Tricks-Episode-2-with-Julius-Loman/m-p/196493" target="_blank"&gt;https://community.dynatrace.com/t5/Videos/Dynatrace-Tips-amp-Tricks-Episode-2-with-Julius-Loman/m-p/196493&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Just want to contribute something mind-boggling that happened to me in the last days, as it might happen to others:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ruxitagentjs was being injected in the HTML correctly, with application id, endpoint, etc.&lt;/LI&gt;&lt;LI&gt;ruxitagentjs was being downloaded from the server with an HTTP/200&lt;/LI&gt;&lt;LI&gt;rb_* were not being sent back to the server&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Everything seemed to be OK. It was only when I got an HAR of the tests that it was clear to me: the ruxitagentjs being sent was an HTML page, and not Javascript! The request was being intercepted by an ISAPI filter that was rewriting it below the OneAgent level &lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, if it seems to be downloading OK, but it doesn't work, please check if the ruxitagentjs is really the Dynatrace RUM Javascript code...&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 21:01:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-RUM-injection-check-tips/m-p/238206#M1166</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2024-02-26T21:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: PRO TIP - RUM injection check tips</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-RUM-injection-check-tips/m-p/245454#M1240</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I have tried to interpret what the hex values that end the dtHealthCheck headers are, but no luck. They don't seem to be IDs for Hosts, PGIs, PGs, Services or Applications. Any idea?&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 19:39:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-RUM-injection-check-tips/m-p/245454#M1240</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2024-05-13T19:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: PRO TIP - RUM injection check tips</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-RUM-injection-check-tips/m-p/245459#M1241</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/17213"&gt;@AntonioSousa&lt;/a&gt;&amp;nbsp;these are code module IDs. I think it's visible if you download the support archive, but I'm not sure how to find them in the UI without DebugUI access.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 21:08:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-RUM-injection-check-tips/m-p/245459#M1241</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2024-05-13T21:08:46Z</dc:date>
    </item>
  </channel>
</rss>

