<?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: Aggregate a metric by avg(response_time) and by amount of item in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258837#M4412</link>
    <description>&lt;P&gt;Just a small detail here - in the legend: is there any way to not show Bin 0 and then Bin 10; instead showing Bin from 0 to 9, bin from 10 to 19, etc.. ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="y_buccellato_0-1728572502125.png" style="width: 860px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23504iD18FCD10B015CFB0/image-dimensions/860x144?v=v2" width="860" height="144" role="button" title="y_buccellato_0-1728572502125.png" alt="y_buccellato_0-1728572502125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Thu, 10 Oct 2024 15:02:36 GMT</pubDate>
    <dc:creator>y_buccellato</dc:creator>
    <dc:date>2024-10-10T15:02:36Z</dc:date>
    <item>
      <title>Aggregate a metric by avg(response_time) and by amount of item</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258624#M4407</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I do have log containing response of each transaction and also quantity of item ordered in the same transaction.&lt;/P&gt;&lt;TABLE width="241"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="64"&gt;&lt;STRONG&gt;order.id&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;STRONG&gt;quantity&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="113"&gt;&lt;STRONG&gt;response.time.ms&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AB_987&lt;/TD&gt;&lt;TD&gt;29&lt;/TD&gt;&lt;TD&gt;10000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Out of those logs I'm building metrics.&lt;BR /&gt;&lt;BR /&gt;What is the best way of building a visual timeseries distribution based on response time and amount of items?&lt;BR /&gt;(I'd like to observe if based on amount of item ordered the response time goes high on avg).&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 14:58:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258624#M4407</guid>
      <dc:creator>y_buccellato</dc:creator>
      <dc:date>2024-10-08T14:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate a metric by avg(response_time) and by amount of item</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258636#M4408</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/4804"&gt;@y_buccellato&lt;/a&gt;&amp;nbsp;, you can try something similar to response time by request count? Use line chart for response time and bar for quantity in your case .Hope I understood your query correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries response_time = avg(dt.service.request.response_time), request_count = sum(dt.service.request.count)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_devulapalli_0-1728427633087.png" style="width: 739px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23454i3289814CFF00ABB1/image-dimensions/739x410?v=v2" width="739" height="410" role="button" title="p_devulapalli_0-1728427633087.png" alt="p_devulapalli_0-1728427633087.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 22:49:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258636#M4408</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2024-10-08T22:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate a metric by avg(response_time) and by amount of item</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258640#M4409</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/4804"&gt;@y_buccellato&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Based on what you're trying to find out you could try using the makeTimeseries command along with binning the order quantity to see if you can find trends that way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my example below each timeseries is grouped by the number of items in an order. For example the first group, the blue line, are orders with numbers of items between 0 and 49. The next group, white, is comprised of orders with items between 50 and 99. And so on. This can be modified to suite your needs, you could bin them into smaller groups if the maximum number of items is 50 or 100 or something like that you might bin by 5 or 10.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fin_Ubels_0-1728429380467.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23455iD5F1963AA7149D5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fin_Ubels_0-1728429380467.png" alt="Fin_Ubels_0-1728429380467.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My example raw data looks like below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fin_Ubels_1-1728429661512.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23456iB6D9C6E8F98EA384/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fin_Ubels_1-1728429661512.png" alt="Fin_Ubels_1-1728429661512.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Alternatively you could use makeTimeseries but just split by order quantity if the range of items in orders is fairly low and the number of total orders is high enough to create a nice timeseries.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 23:24:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258640#M4409</guid>
      <dc:creator>Fin_Ubels</dc:creator>
      <dc:date>2024-10-08T23:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate a metric by avg(response_time) and by amount of item</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258659#M4410</link>
      <description>&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;P&gt;You first example is kinda perfect. And you made me think: maybe while processing the data in a pipeline I can create a log field item.number.category ( less then X, between X and Y, more than Y) and this way the field can later on become a dimension (that doesn’t grow too much) for a possible metric so I make users visualise metrics and not consume logs.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 05:44:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258659#M4410</guid>
      <dc:creator>y_buccellato</dc:creator>
      <dc:date>2024-10-09T05:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate a metric by avg(response_time) and by amount of item</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258665#M4411</link>
      <description>&lt;P&gt;Thank you, this was also an option which I had thought of but the real implementation looks more in the way Fin suggested &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 06:02:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258665#M4411</guid>
      <dc:creator>y_buccellato</dc:creator>
      <dc:date>2024-10-09T06:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate a metric by avg(response_time) and by amount of item</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258837#M4412</link>
      <description>&lt;P&gt;Just a small detail here - in the legend: is there any way to not show Bin 0 and then Bin 10; instead showing Bin from 0 to 9, bin from 10 to 19, etc.. ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="y_buccellato_0-1728572502125.png" style="width: 860px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23504iD18FCD10B015CFB0/image-dimensions/860x144?v=v2" width="860" height="144" role="button" title="y_buccellato_0-1728572502125.png" alt="y_buccellato_0-1728572502125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 15:02:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258837#M4412</guid>
      <dc:creator>y_buccellato</dc:creator>
      <dc:date>2024-10-10T15:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate a metric by avg(response_time) and by amount of item</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258857#M4413</link>
      <description>&lt;P&gt;I think you could use the filterOut command or you can remove them from the visualization tab.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 17:39:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/258857#M4413</guid>
      <dc:creator>StrangerThing</dc:creator>
      <dc:date>2024-10-10T17:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate a metric by avg(response_time) and by amount of item</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/259046#M4420</link>
      <description>&lt;P&gt;You would take the field you've put the bin amount into and use some string modifications to change it. As seen below I used concat to add " - #" to the end of each bin amount to show the range.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fin_Ubels_0-1728856767924.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23580i1CE12D0EC7E67336/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fin_Ubels_0-1728856767924.png" alt="Fin_Ubels_0-1728856767924.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2024 22:00:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Aggregate-a-metric-by-avg-response-time-and-by-amount-of-item/m-p/259046#M4420</guid>
      <dc:creator>Fin_Ubels</dc:creator>
      <dc:date>2024-10-13T22:00:02Z</dc:date>
    </item>
  </channel>
</rss>

