<?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: Average size of Full-Stack spans? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Average-size-of-Full-Stack-spans/m-p/277622#M36551</link>
    <description>&lt;P&gt;Digging into the new Distributed Tracing app shows some of the data I'm looking for. It has several variables that we can filter &amp;amp; see. Particularly interesting seem to be "Ingest size" and "Retain size":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntonioSousa_0-1747765592677.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28097i120DBFDD148A97FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="AntonioSousa_0-1747765592677.png" alt="AntonioSousa_0-1747765592677.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is from the playground, but I have dived into other clients, and here are some of my initial findings:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Exceptions are one of the factors that more contributes to big span/trace data. I have seen some with 35KB, and this was just the beginning.&lt;/LI&gt;&lt;LI&gt;Most of the times, Code call stack is also a big contributor in data ingest size.&lt;/LI&gt;&lt;LI&gt;Big SQL queries, along with the Code call stack, also are pretty heavy&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But, if you want more detail, you can open a trace in Notebooks, and get an idea of the data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntonioSousa_1-1747767187700.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28098iFE0D2F5074A5E6C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="AntonioSousa_1-1747767187700.png" alt="AntonioSousa_1-1747767187700.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Lot's more to discover in the near future, so I can optimize ATM &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 May 2025 18:54:38 GMT</pubDate>
    <dc:creator>AntonioSousa</dc:creator>
    <dc:date>2025-05-20T18:54:38Z</dc:date>
    <item>
      <title>Average size of Full-Stack spans?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Average-size-of-Full-Stack-spans/m-p/277597#M36549</link>
      <description>&lt;P&gt;Especially with DPS, it's important due to ATM, to have good efficiency in trace data being grabbed.&lt;/P&gt;
&lt;P&gt;Looking at the "Full-Stack trace volume and Adaptive Traffic Management" dashboard, one interesting tile is related to the average size of full-stack spans. I see several values across different tenants:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntonioSousa_0-1747748951413.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28088i5F13CD8677BED322/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntonioSousa_0-1747748951413.png" alt="AntonioSousa_0-1747748951413.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntonioSousa_1-1747748993352.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28089i728B6142C81A87EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntonioSousa_1-1747748993352.png" alt="AntonioSousa_1-1747748993352.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntonioSousa_2-1747749025563.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28090iBCF6B2B62C344E5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntonioSousa_2-1747749025563.png" alt="AntonioSousa_2-1747749025563.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;In the notes, Dynatrace says that "&lt;EM&gt;While spans can vary widely, the average size is typically 1.5-2 KiB.&lt;/EM&gt;". I'm getting values below that.&lt;/P&gt;
&lt;P&gt;But I'm curious how this can be optimized further? I imagine the more Request Attributes, for example, the bigger the size.&lt;/P&gt;
&lt;P&gt;But instead of wondering, I would like some real facts. I believe I can get there with traces DQL. Anybody have an idea?&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 07:31:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Average-size-of-Full-Stack-spans/m-p/277597#M36549</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2025-05-21T07:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Average size of Full-Stack spans?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Average-size-of-Full-Stack-spans/m-p/277622#M36551</link>
      <description>&lt;P&gt;Digging into the new Distributed Tracing app shows some of the data I'm looking for. It has several variables that we can filter &amp;amp; see. Particularly interesting seem to be "Ingest size" and "Retain size":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntonioSousa_0-1747765592677.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28097i120DBFDD148A97FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="AntonioSousa_0-1747765592677.png" alt="AntonioSousa_0-1747765592677.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is from the playground, but I have dived into other clients, and here are some of my initial findings:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Exceptions are one of the factors that more contributes to big span/trace data. I have seen some with 35KB, and this was just the beginning.&lt;/LI&gt;&lt;LI&gt;Most of the times, Code call stack is also a big contributor in data ingest size.&lt;/LI&gt;&lt;LI&gt;Big SQL queries, along with the Code call stack, also are pretty heavy&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But, if you want more detail, you can open a trace in Notebooks, and get an idea of the data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntonioSousa_1-1747767187700.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28098iFE0D2F5074A5E6C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="AntonioSousa_1-1747767187700.png" alt="AntonioSousa_1-1747767187700.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Lot's more to discover in the near future, so I can optimize ATM &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 18:54:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Average-size-of-Full-Stack-spans/m-p/277622#M36551</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2025-05-20T18:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Average size of Full-Stack spans?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Average-size-of-Full-Stack-spans/m-p/277643#M36552</link>
      <description>&lt;P&gt;Looking at it in the playground it seems like on average failed requests will generate larger spans due to the additional information captured. Interestingly, you can also see on average OTEL traces are smaller suggesting the OneAgent is capturing more by default. With OTEL you could absolutely attach as much information as you like making some fat spans if you really wanted.&lt;/P&gt;&lt;P&gt;Also, with the below, the largest spans (max column) came from not failed requests, with both OneAgent and OTEL captured successful spans beating out the max sized failed spans.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fin_Ubels_0-1747803259200.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28104i69C37211747ACB39/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fin_Ubels_0-1747803259200.png" alt="Fin_Ubels_0-1747803259200.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Again, this was from the playground environment so your actual results could easily change environment to environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the above you could also make any field a dimension to see how different types of spans change in size due to data captured.&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 05:00:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Average-size-of-Full-Stack-spans/m-p/277643#M36552</guid>
      <dc:creator>Fin_Ubels</dc:creator>
      <dc:date>2025-05-21T05:00:00Z</dc:date>
    </item>
  </channel>
</rss>

