<?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: [Hack of the week] expand Metric Event duration simply with rollup in Dynatrace tips</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-tips/Hack-of-the-week-expand-Metric-Event-duration-simply-with-rollup/m-p/251643#M1319</link>
    <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/26886"&gt;@uros_djukic1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Your multiple rollup is really an interesting hack. Also gave me some ideas, but it seems something like an abuse &lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Rollup rapidly gets out of control when used with most metrics. You might get affected by throttling quite fast, as I documented in &lt;A href="https://community.dynatrace.com/t5/Alerting/Metric-events-that-sum-values-in-a-certain-time-period/m-p/217633" target="_blank"&gt;https://community.dynatrace.com/t5/Alerting/Metric-events-that-sum-values-in-a-certain-time-period/m-p/217633&lt;/A&gt; &amp;nbsp;but really would have to test how it goes with your idea ...&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2024 18:15:36 GMT</pubDate>
    <dc:creator>AntonioSousa</dc:creator>
    <dc:date>2024-07-25T18:15:36Z</dc:date>
    <item>
      <title>[Hack of the week] expand Metric Event duration simply with rollup</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Hack-of-the-week-expand-Metric-Event-duration-simply-with-rollup/m-p/251588#M1317</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This trick is applied using the metric expression (Metrics API - Metrics Selector).&lt;BR /&gt;[Batch/ Job case] :&lt;BR /&gt;To meet a particular need, in particular that of a batch/job which fails randomly and thus generates only one piece of data at a time, we will very quickly be inundated with alerts. Compared to the IA limitation (Sliding window + Dealerting samples), no more than 60min.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;rollup transformation is the solution :&lt;/STRONG&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uros_djukic1_1-1721899982167.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/21383i58D12A7547BC6BA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uros_djukic1_1-1721899982167.png" alt="uros_djukic1_1-1721899982167.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Like I said, if you're only using a single rollup, we're dealing with limitations, so missing data will end the problem...&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;*** WORKAROUND&lt;/STRONG&gt;&lt;BR /&gt;To answer this we can use the rollup transformation. As illustrated below, we see how to extend the analysis window when we have detected the failed event at least once in the last 24 hours.&lt;/P&gt;
&lt;P&gt;The advantage is to therefore avoid the repetition of the known event which will require correction.&lt;BR /&gt;Therefore, reduces the number of problems in the Dynatrace sense and avoids spamming notifications.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uros_djukic1_0-1721899574550.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/21382i9A12B0D3463A91A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uros_djukic1_0-1721899574550.png" alt="uros_djukic1_0-1721899574550.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Given the 60 minutes limitation on rollup, 24 was set to ensure we cover one time slot per day and is very useful if at least 1 single datapoint is generated (e.g. metric C above = red area).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Metric B = represents the number of times the batch fails (purple points).&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Result of detection:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uros_djukic1_2-1721900177847.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/21384i18307EFA785218EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uros_djukic1_2-1721900177847.png" alt="uros_djukic1_2-1721900177847.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 12:34:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Hack-of-the-week-expand-Metric-Event-duration-simply-with-rollup/m-p/251588#M1317</guid>
      <dc:creator>uros_djukic1</dc:creator>
      <dc:date>2024-07-30T12:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: [Hack of the week] expand Metric Event duration simply with rollup</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Hack-of-the-week-expand-Metric-Event-duration-simply-with-rollup/m-p/251603#M1318</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://community.dynatrace.com/html/@9BD876A77FEF3D5EF4BC972CF8A97CB1/images/emoticons/take_my_money.png" alt=":take_my_money:" title=":take_my_money:" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 10:46:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Hack-of-the-week-expand-Metric-Event-duration-simply-with-rollup/m-p/251603#M1318</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-07-25T10:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: [Hack of the week] expand Metric Event duration simply with rollup</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Hack-of-the-week-expand-Metric-Event-duration-simply-with-rollup/m-p/251643#M1319</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/26886"&gt;@uros_djukic1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Your multiple rollup is really an interesting hack. Also gave me some ideas, but it seems something like an abuse &lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Rollup rapidly gets out of control when used with most metrics. You might get affected by throttling quite fast, as I documented in &lt;A href="https://community.dynatrace.com/t5/Alerting/Metric-events-that-sum-values-in-a-certain-time-period/m-p/217633" target="_blank"&gt;https://community.dynatrace.com/t5/Alerting/Metric-events-that-sum-values-in-a-certain-time-period/m-p/217633&lt;/A&gt; &amp;nbsp;but really would have to test how it goes with your idea ...&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 18:15:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Hack-of-the-week-expand-Metric-Event-duration-simply-with-rollup/m-p/251643#M1319</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2024-07-25T18:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: [Hack of the week] expand Metric Event duration simply with rollup</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Hack-of-the-week-expand-Metric-Event-duration-simply-with-rollup/m-p/253798#M1348</link>
      <description>&lt;P&gt;Good Trick!!!! Thanks for share.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 13:26:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Hack-of-the-week-expand-Metric-Event-duration-simply-with-rollup/m-p/253798#M1348</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2024-08-21T13:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: [Hack of the week] expand Metric Event duration simply with rollup</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Hack-of-the-week-expand-Metric-Event-duration-simply-with-rollup/m-p/253802#M1349</link>
      <description>&lt;P&gt;Wait, we can hack the rollup to higher than 1h? Wow, lol!!&lt;/P&gt;&lt;P&gt;That's awesome!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 13:57:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Hack-of-the-week-expand-Metric-Event-duration-simply-with-rollup/m-p/253802#M1349</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2024-08-21T13:57:58Z</dc:date>
    </item>
  </channel>
</rss>

