<?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: DQL - count how many consecutive minutes a metric is above threshold in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Count-Consecutive-Minutes-a-Metric-Exceeds-Threshold-Using-DQL/m-p/291788#M2925</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/87132"&gt;@Omerre&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what works best for you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Dec 2025 10:45:36 GMT</pubDate>
    <dc:creator>IzabelaRokita</dc:creator>
    <dc:date>2025-12-18T10:45:36Z</dc:date>
    <item>
      <title>Count Consecutive Minutes a Metric Exceeds Threshold Using DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Count-Consecutive-Minutes-a-Metric-Exceeds-Threshold-Using-DQL/m-p/277692#M2125</link>
      <description>&lt;P&gt;Hey all,&lt;BR /&gt;I need to create an alert when a certain metric* is above a threshold for more than 2 hours. Since the maximum length of the Anomaly Detection sliding window is 60 minutes, I thought of this workaround:&lt;/P&gt;
&lt;P&gt;creating a DQL query that would chart&lt;STRONG&gt; how&amp;nbsp;many consecutive minutes this metric was above the threshold&lt;/STRONG&gt;, and create an&amp;nbsp;&lt;STRONG&gt;alert when this value exceeds 120&lt;/STRONG&gt;. Is this possible?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;*&lt;EM&gt;confluent_kafka_server_consumer_lag_offsets&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 10:46:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Count-Consecutive-Minutes-a-Metric-Exceeds-Threshold-Using-DQL/m-p/277692#M2125</guid>
      <dc:creator>Omerre</dc:creator>
      <dc:date>2025-12-18T10:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: DQL - count how many consecutive minutes a metric is above threshold</title>
      <link>https://community.dynatrace.com/t5/DQL/Count-Consecutive-Minutes-a-Metric-Exceeds-Threshold-Using-DQL/m-p/277736#M2126</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In your case, I recommend adjusting the alerting profile. You can configure it to generate a problem when the metric shows an anomaly—this can be based on a 5-minute sliding window, for example.&lt;/P&gt;&lt;P&gt;To reduce noise, you can set the alert to trigger only if the problem remains open for at least 2 hours before sending a notification.&lt;BR /&gt;&lt;BR /&gt;You can use DQL with a count function only if it is a static threshold that you know (so you can put it in the DQL query).&lt;/P&gt;&lt;P&gt;Let me know if you need help setting this up!&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 20:22:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Count-Consecutive-Minutes-a-Metric-Exceeds-Threshold-Using-DQL/m-p/277736#M2126</guid>
      <dc:creator>yanezza</dc:creator>
      <dc:date>2025-05-21T20:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: DQL - count how many consecutive minutes a metric is above threshold</title>
      <link>https://community.dynatrace.com/t5/DQL/Count-Consecutive-Minutes-a-Metric-Exceeds-Threshold-Using-DQL/m-p/277963#M2133</link>
      <description>&lt;P&gt;Hi yanezza, thank you for your help!&lt;BR /&gt;The thing is a normal behavior in our case always includes periodic spikes. Our concern is when the &lt;STRONG&gt;duration&lt;/STRONG&gt; of the spikes exceeds some threshold, and not necessarily abnormality with the metric values.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omerre_0-1748154988516.png" style="width: 771px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28188iD6BEC7F1F46164EA/image-dimensions/771x135?v=v2" width="771" height="135" role="button" title="Omerre_0-1748154988516.png" alt="Omerre_0-1748154988516.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Although your suggestion might help with sending notifications when a real problem will arise, it would still fill our environment with huge number of false problems.&lt;BR /&gt;&lt;BR /&gt;Is there any proper way to handle this with DQL? i.e. instead of getting the resulted metric values by time, we would like to get the resulted&amp;nbsp;&lt;STRONG&gt;duration&lt;/STRONG&gt; of certain metric values.&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 07:37:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Count-Consecutive-Minutes-a-Metric-Exceeds-Threshold-Using-DQL/m-p/277963#M2133</guid>
      <dc:creator>Omerre</dc:creator>
      <dc:date>2025-05-26T07:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: DQL - count how many consecutive minutes a metric is above threshold</title>
      <link>https://community.dynatrace.com/t5/DQL/Count-Consecutive-Minutes-a-Metric-Exceeds-Threshold-Using-DQL/m-p/291788#M2925</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/87132"&gt;@Omerre&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what works best for you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 10:45:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Count-Consecutive-Minutes-a-Metric-Exceeds-Threshold-Using-DQL/m-p/291788#M2925</guid>
      <dc:creator>IzabelaRokita</dc:creator>
      <dc:date>2025-12-18T10:45:36Z</dc:date>
    </item>
  </channel>
</rss>

