<?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 Pro Tip: Prevent RUM Collisions on Legacy Sub-Paths in Dynatrace tips</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-tips/Pro-Tip-Prevent-RUM-Collisions-on-Legacy-Sub-Paths/m-p/293992#M1872</link>
    <description>&lt;P&gt;Heya Community,&lt;/P&gt;
&lt;P&gt;In large organizations, we often deal with complex web applications where different sub-paths (like /notebooks or /checkout) are managed by different teams using different tech stacks.&lt;/P&gt;
&lt;P&gt;Imagine Team A manages the main site home.dynatrace.com on a modern stack, but Team B manages home.dynatrace.com/notebooks on an older version of WebLogic. Following a OneAgent update, you might find that the RUM (Real User Monitoring) JavaScript injection causes a functional conflict on that older sub-path.&lt;/P&gt;
&lt;P&gt;If this happens in Production, you can't afford to lose functionality while waiting for a platform upgrade. You need to stop the injection &lt;STRONG&gt;immediately&lt;/STRONG&gt;—but there is a common trap most people fall into.&lt;/P&gt;
&lt;H3&gt;The Common Mistake: Disabling the Sub-App&lt;/H3&gt;
&lt;P&gt;Most admins think: &lt;I&gt;"I'll just disable monitoring for the 'Notebooks' application in Dynatrace or disable injection at the host level."&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Why this fails:&lt;/STRONG&gt; If a user starts their journey on the &lt;STRONG&gt;Home Page&lt;/STRONG&gt; (which is still monitored), Dynatrace starts a user session. To maintain end-to-end visibility, the RUM agent "follows" the user. Even if you've "disabled" the sub-app, the injection rules from the parent domain often still apply because the session cookie and headers are already active.&lt;/P&gt;
&lt;H3&gt;The Solution: Custom Injection Rules&lt;/H3&gt;
&lt;P&gt;To truly "silence" Dynatrace on a specific part of your site, you must tell the &lt;STRONG&gt;main application&lt;/STRONG&gt; specifically where &lt;I&gt;not&lt;/I&gt; to go.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How to do it:&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Navigate to your &lt;STRONG&gt;Main Application&lt;/STRONG&gt; (e.g., the Home Page app) in the Dynatrace UI.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Go to &lt;STRONG&gt;Settings&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Injection&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Custom Injection Rules&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Click &lt;STRONG&gt;Add Item&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Set the rule to &lt;STRONG&gt;"URL contains"&lt;/STRONG&gt; (e.g., /notebooks).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Change the rule behavior to &lt;STRONG&gt;"Do not inject"&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;Why this matters&lt;/H3&gt;
&lt;P&gt;By doing this, you ensure that as soon as the user hits that specific path, the RUM agent stands down, preventing any JS conflicts with legacy code.&lt;/P&gt;
&lt;H3&gt;A Word of Caution&lt;/H3&gt;
&lt;P&gt;While this restores your application's functionality instantly, remember: &lt;STRONG&gt;this is a workaround, not a permanent fix.&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Turning off monitoring and calling it "fixed" is like putting a piece of black tape over your car's "Check Engine" light.&lt;/STRONG&gt; The light is gone, and you can see the road better, but the underlying issue remains.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Keep this in your back pocket for emergencies, but ensure the legacy teams have a plan to upgrade their stack to stay compatible with modern monitoring!&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Happy Monitoring!&lt;BR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76275"&gt;@Maheedhar_T&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Feb 2026 08:12:29 GMT</pubDate>
    <dc:creator>Maheedhar_T</dc:creator>
    <dc:date>2026-02-02T08:12:29Z</dc:date>
    <item>
      <title>Pro Tip: Prevent RUM Collisions on Legacy Sub-Paths</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Pro-Tip-Prevent-RUM-Collisions-on-Legacy-Sub-Paths/m-p/293992#M1872</link>
      <description>&lt;P&gt;Heya Community,&lt;/P&gt;
&lt;P&gt;In large organizations, we often deal with complex web applications where different sub-paths (like /notebooks or /checkout) are managed by different teams using different tech stacks.&lt;/P&gt;
&lt;P&gt;Imagine Team A manages the main site home.dynatrace.com on a modern stack, but Team B manages home.dynatrace.com/notebooks on an older version of WebLogic. Following a OneAgent update, you might find that the RUM (Real User Monitoring) JavaScript injection causes a functional conflict on that older sub-path.&lt;/P&gt;
&lt;P&gt;If this happens in Production, you can't afford to lose functionality while waiting for a platform upgrade. You need to stop the injection &lt;STRONG&gt;immediately&lt;/STRONG&gt;—but there is a common trap most people fall into.&lt;/P&gt;
&lt;H3&gt;The Common Mistake: Disabling the Sub-App&lt;/H3&gt;
&lt;P&gt;Most admins think: &lt;I&gt;"I'll just disable monitoring for the 'Notebooks' application in Dynatrace or disable injection at the host level."&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Why this fails:&lt;/STRONG&gt; If a user starts their journey on the &lt;STRONG&gt;Home Page&lt;/STRONG&gt; (which is still monitored), Dynatrace starts a user session. To maintain end-to-end visibility, the RUM agent "follows" the user. Even if you've "disabled" the sub-app, the injection rules from the parent domain often still apply because the session cookie and headers are already active.&lt;/P&gt;
&lt;H3&gt;The Solution: Custom Injection Rules&lt;/H3&gt;
&lt;P&gt;To truly "silence" Dynatrace on a specific part of your site, you must tell the &lt;STRONG&gt;main application&lt;/STRONG&gt; specifically where &lt;I&gt;not&lt;/I&gt; to go.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How to do it:&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Navigate to your &lt;STRONG&gt;Main Application&lt;/STRONG&gt; (e.g., the Home Page app) in the Dynatrace UI.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Go to &lt;STRONG&gt;Settings&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Injection&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Custom Injection Rules&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Click &lt;STRONG&gt;Add Item&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Set the rule to &lt;STRONG&gt;"URL contains"&lt;/STRONG&gt; (e.g., /notebooks).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Change the rule behavior to &lt;STRONG&gt;"Do not inject"&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;Why this matters&lt;/H3&gt;
&lt;P&gt;By doing this, you ensure that as soon as the user hits that specific path, the RUM agent stands down, preventing any JS conflicts with legacy code.&lt;/P&gt;
&lt;H3&gt;A Word of Caution&lt;/H3&gt;
&lt;P&gt;While this restores your application's functionality instantly, remember: &lt;STRONG&gt;this is a workaround, not a permanent fix.&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Turning off monitoring and calling it "fixed" is like putting a piece of black tape over your car's "Check Engine" light.&lt;/STRONG&gt; The light is gone, and you can see the road better, but the underlying issue remains.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Keep this in your back pocket for emergencies, but ensure the legacy teams have a plan to upgrade their stack to stay compatible with modern monitoring!&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Happy Monitoring!&lt;BR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76275"&gt;@Maheedhar_T&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 08:12:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Pro-Tip-Prevent-RUM-Collisions-on-Legacy-Sub-Paths/m-p/293992#M1872</guid>
      <dc:creator>Maheedhar_T</dc:creator>
      <dc:date>2026-02-02T08:12:29Z</dc:date>
    </item>
  </channel>
</rss>

