<?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: Exclude a domain from auto injection by OneAgent in Dynatrace tips</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-tips/Exclude-a-domain-from-auto-injection-by-OneAgent/m-p/21721#M8</link>
    <description>&lt;P&gt;We have multiple ways of achieving this in Dynatrace:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;From the Burger menu on the top right hand corner of your environment, go to Monitoring Settings. Under these settings you can stop the injection in two ways:&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Go to Process Groups:&lt;/STRONG&gt; Select the process which is rendering the end user pages (Nginx, Apache, Node.js) and click on the Edit button. Under these settings find the option to turn off Automatically inject real user monitoring JavaScript tag&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;STRONG&gt;Go to Applications:&lt;/STRONG&gt; &lt;/STRONG&gt;Find the domain for which you do not want the Real User Monitoring tag to be injected turn the Monitoring switch off. In order for you to see the domain in this list of Applications, create an application for that domain first.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/11857-autoinject-1.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. Dynatrace can also inject into certain pages based on the URL. This can be done by going to the Application in which you want to make the injection changes. Click on the Edit button located on the header. Navigate to Advanced Setup and add a rule for JavaScript Injection as shown:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/11858-autoinject-2.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Once the setting is made, you can be assured that the OneAgent will not auto-inject into the specified domain and also not provide any real user monitoring metrics for the same.&lt;/P&gt;&lt;P&gt;Safia&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 11 Dec 2019 19:53:49 GMT</pubDate>
    <dc:creator>Karolina_Linda</dc:creator>
    <dc:date>2019-12-11T19:53:49Z</dc:date>
    <item>
      <title>Exclude a domain from auto injection by OneAgent</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Exclude-a-domain-from-auto-injection-by-OneAgent/m-p/21720#M7</link>
      <description>&lt;P&gt;OneAgent auto-injects into all the web applications that are being rendered by the server on which the agent is installed. In the case where you have multiple environments running off the same web server and would like to monitor the performance of some domains and not all, it is just a simple switch flip which will override the default behavior of the OneAgent and not inject into the domain of your choice.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Sep 2023 09:18:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Exclude-a-domain-from-auto-injection-by-OneAgent/m-p/21720#M7</guid>
      <dc:creator>safia_habib</dc:creator>
      <dc:date>2023-09-04T09:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude a domain from auto injection by OneAgent</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Exclude-a-domain-from-auto-injection-by-OneAgent/m-p/21721#M8</link>
      <description>&lt;P&gt;We have multiple ways of achieving this in Dynatrace:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;From the Burger menu on the top right hand corner of your environment, go to Monitoring Settings. Under these settings you can stop the injection in two ways:&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Go to Process Groups:&lt;/STRONG&gt; Select the process which is rendering the end user pages (Nginx, Apache, Node.js) and click on the Edit button. Under these settings find the option to turn off Automatically inject real user monitoring JavaScript tag&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;STRONG&gt;Go to Applications:&lt;/STRONG&gt; &lt;/STRONG&gt;Find the domain for which you do not want the Real User Monitoring tag to be injected turn the Monitoring switch off. In order for you to see the domain in this list of Applications, create an application for that domain first.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/11857-autoinject-1.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. Dynatrace can also inject into certain pages based on the URL. This can be done by going to the Application in which you want to make the injection changes. Click on the Edit button located on the header. Navigate to Advanced Setup and add a rule for JavaScript Injection as shown:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/11858-autoinject-2.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Once the setting is made, you can be assured that the OneAgent will not auto-inject into the specified domain and also not provide any real user monitoring metrics for the same.&lt;/P&gt;&lt;P&gt;Safia&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Dec 2019 19:53:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Exclude-a-domain-from-auto-injection-by-OneAgent/m-p/21721#M8</guid>
      <dc:creator>Karolina_Linda</dc:creator>
      <dc:date>2019-12-11T19:53:49Z</dc:date>
    </item>
  </channel>
</rss>

