<?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 create an alert for a metric whenever it crosses a monthly threshold in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/create-an-alert-for-a-metric-whenever-it-crosses-a-monthly/m-p/297694#M6267</link>
    <description>&lt;P&gt;I need to create an alert for a metric to notify me whenever it crosses a monthly threshold.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;timeseries total = sum(service.Metric),&lt;BR /&gt;from: now()@M,&lt;BR /&gt;to: now(),&lt;BR /&gt;interval: 24h&lt;BR /&gt;| fieldsAdd deposits_cumulative=arrayMovingSum(total,60)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ellery_0-1776220610847.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/32714i96D4EA24051CECFE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ellery_0-1776220610847.png" alt="Ellery_0-1776220610847.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Apr 2026 06:51:39 GMT</pubDate>
    <dc:creator>Ellery</dc:creator>
    <dc:date>2026-04-15T06:51:39Z</dc:date>
    <item>
      <title>create an alert for a metric whenever it crosses a monthly threshold</title>
      <link>https://community.dynatrace.com/t5/Alerting/create-an-alert-for-a-metric-whenever-it-crosses-a-monthly/m-p/297694#M6267</link>
      <description>&lt;P&gt;I need to create an alert for a metric to notify me whenever it crosses a monthly threshold.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;timeseries total = sum(service.Metric),&lt;BR /&gt;from: now()@M,&lt;BR /&gt;to: now(),&lt;BR /&gt;interval: 24h&lt;BR /&gt;| fieldsAdd deposits_cumulative=arrayMovingSum(total,60)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ellery_0-1776220610847.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/32714i96D4EA24051CECFE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ellery_0-1776220610847.png" alt="Ellery_0-1776220610847.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 06:51:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/create-an-alert-for-a-metric-whenever-it-crosses-a-monthly/m-p/297694#M6267</guid>
      <dc:creator>Ellery</dc:creator>
      <dc:date>2026-04-15T06:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: create an alert for a metric whenever it crosses a monthly threshold</title>
      <link>https://community.dynatrace.com/t5/Alerting/create-an-alert-for-a-metric-whenever-it-crosses-a-monthly/m-p/297700#M6268</link>
      <description>&lt;P&gt;It's always a hacking job to get anomaly detectors running for large timeframes. You can try overriding the interval field with interval=toDuration(1m), but you will run into different issues.&lt;BR /&gt;&lt;BR /&gt;Two possible workarounds instead of using Anomaly detector:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use a (scheduled) workflow, do the DQL there and send notifications or create an event. It won't be a simple workflow, so take your workflow cost into account.&lt;/LI&gt;&lt;LI&gt;Use Site Reliability Guardian for it instead. My recommended solution so far. Schedule it to run using a simple workflow. Have OpenPipeline triggering Davis events (so you have alerts) from the Site reliability guardian result data (bizevents). Check this &lt;A href="https://community.dynatrace.com/t5/DQL/Combine-makeTimeseries-with-Summarize-in-DQL-for-Advanced/m-p/289063#M2723" target="_blank"&gt;thread&lt;/A&gt; where I discussed the same approach.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 06:39:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/create-an-alert-for-a-metric-whenever-it-crosses-a-monthly/m-p/297700#M6268</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2026-04-15T06:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: create an alert for a metric whenever it crosses a monthly threshold</title>
      <link>https://community.dynatrace.com/t5/Alerting/create-an-alert-for-a-metric-whenever-it-crosses-a-monthly/m-p/297844#M6284</link>
      <description>&lt;P&gt;Thanks a lot,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;i try with this solutions, i will reply the results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks again&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2026 12:58:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/create-an-alert-for-a-metric-whenever-it-crosses-a-monthly/m-p/297844#M6284</guid>
      <dc:creator>Ellery</dc:creator>
      <dc:date>2026-04-16T12:58:35Z</dc:date>
    </item>
  </channel>
</rss>

