<?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: 0 Canceled Xhr request in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/0-Canceled-Xhr-request/m-p/215376#M4434</link>
    <description>&lt;P&gt;Hey there,&amp;nbsp;&lt;BR /&gt;So the details of the errors you're looking at are usually errors/responses returned by the server or requests attempting to leave the browser.&lt;BR /&gt;An XHR that is canceled isn't really an error but usually is something on the browser level that gives up to make that request.&lt;/P&gt;
&lt;P&gt;that being said you won't be able to monitor a request like that. It produces no error message, no response code, and sometimes canceled xhrs can occur frequently for users depending on how the web application is set up. (loading a new page in a middle of an xhr for example) so Dynatrace not capturing it makes sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That being said, if you have a very specific use case where you know an XHR is being canceled, ability to modify your own code base for the web application and want to capture it as a custom action or error, then you can probably use the RUM JavaScript library to manually make that action when it occurs or picked up by your JavaScript&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html" target="_blank"&gt;https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But again, that requires you to add the logic to check the cancel request in your javascript and then using our javascript functions to make that call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Darko&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2023 15:00:23 GMT</pubDate>
    <dc:creator>DarkoA</dc:creator>
    <dc:date>2023-06-19T15:00:23Z</dc:date>
    <item>
      <title>0 Canceled Xhr request</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/0-Canceled-Xhr-request/m-p/215022#M4423</link>
      <description>&lt;P&gt;Is there a way to monitor for 0 Canceled xhr requests on the RUM side of Dynatrace?&lt;/P&gt;
&lt;P&gt;These can be due to a number of reasons, but would be helpful to monitor for them.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jchabot86_0-1686765470844.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12248iFE6B8EDF324F9821/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jchabot86_0-1686765470844.png" alt="jchabot86_0-1686765470844.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 14:20:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/0-Canceled-Xhr-request/m-p/215022#M4423</guid>
      <dc:creator>jchabot86</dc:creator>
      <dc:date>2023-06-15T14:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: 0 Canceled Xhr request</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/0-Canceled-Xhr-request/m-p/215376#M4434</link>
      <description>&lt;P&gt;Hey there,&amp;nbsp;&lt;BR /&gt;So the details of the errors you're looking at are usually errors/responses returned by the server or requests attempting to leave the browser.&lt;BR /&gt;An XHR that is canceled isn't really an error but usually is something on the browser level that gives up to make that request.&lt;/P&gt;
&lt;P&gt;that being said you won't be able to monitor a request like that. It produces no error message, no response code, and sometimes canceled xhrs can occur frequently for users depending on how the web application is set up. (loading a new page in a middle of an xhr for example) so Dynatrace not capturing it makes sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That being said, if you have a very specific use case where you know an XHR is being canceled, ability to modify your own code base for the web application and want to capture it as a custom action or error, then you can probably use the RUM JavaScript library to manually make that action when it occurs or picked up by your JavaScript&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html" target="_blank"&gt;https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But again, that requires you to add the logic to check the cancel request in your javascript and then using our javascript functions to make that call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Darko&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 15:00:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/0-Canceled-Xhr-request/m-p/215376#M4434</guid>
      <dc:creator>DarkoA</dc:creator>
      <dc:date>2023-06-19T15:00:23Z</dc:date>
    </item>
  </channel>
</rss>

