<?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 Issue with Network Type and Load Time for Web Application Sessions in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Issue-with-Network-Type-and-Load-Time-for-Web-Application/m-p/271098#M35833</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello Community,&lt;/P&gt;
&lt;P&gt;I’m reaching out regarding an issue I encountered after following Dynatrace’s recommendation "&lt;A href="https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/266375#M6691" target="_blank" rel="noopener"&gt;Solved: Re: Does DT capture the exact network type (ex:3G/4G/wifi) for [web application's] sessions? - Dynatrace Community&lt;/A&gt;" to use the navigator.connection.effectiveType JavaScript variable to retrieve network type information for web sessions.&lt;/P&gt;
&lt;H3&gt;The Issue Now:&lt;/H3&gt;
&lt;P&gt;I tried running the query and, while it works, it’s not fully accurate. The query I'm using is:&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class=""&gt;*&lt;/SPAN&gt; &lt;SPAN class=""&gt;FROM&lt;/SPAN&gt; usersession &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;WHERE&lt;/SPAN&gt; useraction.application &lt;SPAN class=""&gt;=&lt;/SPAN&gt; "Dealers_oneagent" &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;and&lt;/SPAN&gt; useraction.stringProperties.webnetworksession &lt;SPAN class=""&gt;=&lt;/SPAN&gt; "2g"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;This query should only return sessions where the network type is "2g." However, it is also returning sessions where the network type is "3g." ex) there are 4 sessions of 2g should be returned, however, the first two sessions show as "2g," but when I select the third and fourth session, I see it as "3g."&lt;/P&gt;
&lt;P&gt;2g session:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aboud_0-1740586473084.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26674iD245B27924F12F80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aboud_0-1740586473084.png" alt="Aboud_0-1740586473084.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3g session:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aboud_1-1740586495173.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26675i7E7B192EC33B0AF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aboud_1-1740586495173.png" alt="Aboud_1-1740586495173.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;What I Noticed:&lt;/H3&gt;
&lt;P&gt;In the third session which is "3g", different actions show different network types. Some actions are listed as "3g," while others are listed as "2g." I’m confused as to why the session is represented as "2g" when the network type varies across actions.&lt;/P&gt;
&lt;H3&gt;The Objective:&lt;/H3&gt;
&lt;P&gt;For your information, the objective of this exercise is to retrieve the load time of the web apps, excluding sessions with "2g" and "3g" network types. When I exclude these, I should be seeing better load times. However, this is not happening.&lt;/P&gt;
&lt;P&gt;When I check the load time for just the "2g" network, the values seem misleading, showing a significantly lower load time. I suspect this is due to the incorrect network type being returned, as described earlier.&lt;/P&gt;
&lt;H3&gt;Query to Retrieve Load Time:&lt;/H3&gt;
&lt;P&gt;Here’s the query I use to retrieve the load time, in case anyone wants to test it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt; PERCENTILE(useraction.domContentLoadedTime,&lt;SPAN class=""&gt;80&lt;/SPAN&gt;) &lt;SPAN class=""&gt;AS&lt;/SPAN&gt; "Duration-80%" &lt;SPAN class=""&gt;FROM&lt;/SPAN&gt; useraction &lt;SPAN class=""&gt;WHERE&lt;/SPAN&gt; useraction.application &lt;SPAN class=""&gt;IN&lt;/SPAN&gt; ("my_web_app") &lt;SPAN class=""&gt;AND&lt;/SPAN&gt; useraction.stringProperties.webnetworksession &lt;SPAN class=""&gt;=&lt;/SPAN&gt; "2g"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;H3&gt;Questions:&lt;/H3&gt;
&lt;OL&gt;
&lt;LI&gt;Has anyone experienced a similar issue where sessions with mixed network types (e.g., "2g" and "3g") show an incorrect overall network type?&lt;/LI&gt;
&lt;LI&gt;Does anyone have any suggestions on how to correct the inaccurate load times when filtering for specific network type ex) "2g" sessions?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Looking forward to your thoughts and any potential solutions!&lt;/P&gt;</description>
    <pubDate>Thu, 27 Feb 2025 13:13:25 GMT</pubDate>
    <dc:creator>Aboud</dc:creator>
    <dc:date>2025-02-27T13:13:25Z</dc:date>
    <item>
      <title>Issue with Network Type and Load Time for Web Application Sessions</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Issue-with-Network-Type-and-Load-Time-for-Web-Application/m-p/271098#M35833</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello Community,&lt;/P&gt;
&lt;P&gt;I’m reaching out regarding an issue I encountered after following Dynatrace’s recommendation "&lt;A href="https://community.dynatrace.com/t5/Real-User-Monitoring/Does-DT-capture-the-exact-network-type-ex-3G-4G-wifi-for-web/m-p/266375#M6691" target="_blank" rel="noopener"&gt;Solved: Re: Does DT capture the exact network type (ex:3G/4G/wifi) for [web application's] sessions? - Dynatrace Community&lt;/A&gt;" to use the navigator.connection.effectiveType JavaScript variable to retrieve network type information for web sessions.&lt;/P&gt;
&lt;H3&gt;The Issue Now:&lt;/H3&gt;
&lt;P&gt;I tried running the query and, while it works, it’s not fully accurate. The query I'm using is:&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class=""&gt;*&lt;/SPAN&gt; &lt;SPAN class=""&gt;FROM&lt;/SPAN&gt; usersession &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;WHERE&lt;/SPAN&gt; useraction.application &lt;SPAN class=""&gt;=&lt;/SPAN&gt; "Dealers_oneagent" &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;and&lt;/SPAN&gt; useraction.stringProperties.webnetworksession &lt;SPAN class=""&gt;=&lt;/SPAN&gt; "2g"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;This query should only return sessions where the network type is "2g." However, it is also returning sessions where the network type is "3g." ex) there are 4 sessions of 2g should be returned, however, the first two sessions show as "2g," but when I select the third and fourth session, I see it as "3g."&lt;/P&gt;
&lt;P&gt;2g session:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aboud_0-1740586473084.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26674iD245B27924F12F80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aboud_0-1740586473084.png" alt="Aboud_0-1740586473084.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3g session:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aboud_1-1740586495173.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26675i7E7B192EC33B0AF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aboud_1-1740586495173.png" alt="Aboud_1-1740586495173.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;What I Noticed:&lt;/H3&gt;
&lt;P&gt;In the third session which is "3g", different actions show different network types. Some actions are listed as "3g," while others are listed as "2g." I’m confused as to why the session is represented as "2g" when the network type varies across actions.&lt;/P&gt;
&lt;H3&gt;The Objective:&lt;/H3&gt;
&lt;P&gt;For your information, the objective of this exercise is to retrieve the load time of the web apps, excluding sessions with "2g" and "3g" network types. When I exclude these, I should be seeing better load times. However, this is not happening.&lt;/P&gt;
&lt;P&gt;When I check the load time for just the "2g" network, the values seem misleading, showing a significantly lower load time. I suspect this is due to the incorrect network type being returned, as described earlier.&lt;/P&gt;
&lt;H3&gt;Query to Retrieve Load Time:&lt;/H3&gt;
&lt;P&gt;Here’s the query I use to retrieve the load time, in case anyone wants to test it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt; PERCENTILE(useraction.domContentLoadedTime,&lt;SPAN class=""&gt;80&lt;/SPAN&gt;) &lt;SPAN class=""&gt;AS&lt;/SPAN&gt; "Duration-80%" &lt;SPAN class=""&gt;FROM&lt;/SPAN&gt; useraction &lt;SPAN class=""&gt;WHERE&lt;/SPAN&gt; useraction.application &lt;SPAN class=""&gt;IN&lt;/SPAN&gt; ("my_web_app") &lt;SPAN class=""&gt;AND&lt;/SPAN&gt; useraction.stringProperties.webnetworksession &lt;SPAN class=""&gt;=&lt;/SPAN&gt; "2g"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;H3&gt;Questions:&lt;/H3&gt;
&lt;OL&gt;
&lt;LI&gt;Has anyone experienced a similar issue where sessions with mixed network types (e.g., "2g" and "3g") show an incorrect overall network type?&lt;/LI&gt;
&lt;LI&gt;Does anyone have any suggestions on how to correct the inaccurate load times when filtering for specific network type ex) "2g" sessions?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Looking forward to your thoughts and any potential solutions!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 13:13:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Issue-with-Network-Type-and-Load-Time-for-Web-Application/m-p/271098#M35833</guid>
      <dc:creator>Aboud</dc:creator>
      <dc:date>2025-02-27T13:13:25Z</dc:date>
    </item>
  </channel>
</rss>

