<?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 Alert Creation in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Alert-Creation/m-p/293089#M3035</link>
    <description>&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;I have been trying to create an alert for when a rate = 0.00 for ALL service names I have, but I'm unclear how to complete it.&amp;nbsp; Any advise would be appreciated.&amp;nbsp; Below is what I have already (created using a log metric)&lt;/P&gt;&lt;P&gt;These are the servicenames for example PT01 and PT02&lt;/P&gt;&lt;P&gt;DQL IS:&lt;/P&gt;&lt;P&gt;timeseries zero = sum(log.risk, default:0.00), interval:1m, by: { servicename, rate }&lt;/P&gt;&lt;P&gt;| fieldsAdd tpsrate = toDoublesrate)&lt;BR /&gt;| filter rate == 0.00&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jan 2026 15:21:32 GMT</pubDate>
    <dc:creator>Gib80</dc:creator>
    <dc:date>2026-01-14T15:21:32Z</dc:date>
    <item>
      <title>Alert Creation</title>
      <link>https://community.dynatrace.com/t5/DQL/Alert-Creation/m-p/293089#M3035</link>
      <description>&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;I have been trying to create an alert for when a rate = 0.00 for ALL service names I have, but I'm unclear how to complete it.&amp;nbsp; Any advise would be appreciated.&amp;nbsp; Below is what I have already (created using a log metric)&lt;/P&gt;&lt;P&gt;These are the servicenames for example PT01 and PT02&lt;/P&gt;&lt;P&gt;DQL IS:&lt;/P&gt;&lt;P&gt;timeseries zero = sum(log.risk, default:0.00), interval:1m, by: { servicename, rate }&lt;/P&gt;&lt;P&gt;| fieldsAdd tpsrate = toDoublesrate)&lt;BR /&gt;| filter rate == 0.00&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2026 15:21:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Alert-Creation/m-p/293089#M3035</guid>
      <dc:creator>Gib80</dc:creator>
      <dc:date>2026-01-14T15:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alert Creation</title>
      <link>https://community.dynatrace.com/t5/DQL/Alert-Creation/m-p/293120#M3036</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I think, that the&amp;nbsp;issue is that you are grouping by rate (by:{ servicename, rate }). That makes rate a dimension, so you can’t reliably evaluate “rate = 0” per service. Group only by servicename, calculate the series value, and filter the latest point.&lt;BR /&gt;Try this, if you want 0 un last 5 min, set interval 5min&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries rate = sum(log.risk, default:0), interval:1m, by:{servicename}
| fieldsAdd last = arrayLast(rate)
| filter last == 0&lt;/LI-CODE&gt;&lt;P&gt;Or in the metric event, configure split by dimension: servicename, like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries rate = sum(log.risk, default:0), interval:5m, by:{servicename}
| fieldsAdd last = arrayLast(rate)
| filter last == 0&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 14 Jan 2026 22:47:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Alert-Creation/m-p/293120#M3036</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2026-01-14T22:47:21Z</dc:date>
    </item>
  </channel>
</rss>

