<?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 Davis Anomaly Detector -  “used/available (GiB) Disk space” in the problem without creating a new one in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Davis-Anomaly-Detector-used-available-GiB-Disk-space-in-the/m-p/289605#M6000</link>
    <description>&lt;P class=""&gt;&lt;STRONG&gt;Goal&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=""&gt;I want a Davis anomaly detector for &lt;I&gt;disk usage %&lt;/I&gt; (e.g., alert when &lt;SPAN class=""&gt;dt.host.disk.used.percent&lt;/SPAN&gt; is high), &lt;SPAN class=""&gt;&lt;STRONG&gt;and&lt;/STRONG&gt;&lt;/SPAN&gt; I’d like the problem to also show &lt;SPAN class=""&gt;&lt;STRONG&gt;used&lt;/STRONG&gt;&lt;/SPAN&gt; and &lt;SPAN class=""&gt;&lt;STRONG&gt;available&lt;/STRONG&gt;&lt;/SPAN&gt; capacity (in GiB) for the affected disk.&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;STRONG&gt;The issue&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=""&gt;When I attach “used/avail” as scalar context via a &lt;SPAN class=""&gt;join&lt;/SPAN&gt; in the detector DQL, Dynatrace starts opening &lt;SPAN class=""&gt;&lt;STRONG&gt;new problems&lt;/STRONG&gt;&lt;/SPAN&gt; whenever those values change (e.g., ±1 GiB) — even though it’s the same host/disk and the same underlying breach.&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;Here’s the DQL I ended up with (simplified):&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;timeseries {&lt;BR /&gt;value = avg(dt.host.disk.used.percent)&lt;BR /&gt;}, by:{ `dt.entity.host_group`, `dt.entity.host`, `dt.entity.disk`, dt.cost.costcenter }&lt;/P&gt;
&lt;P&gt;| fieldsAdd&lt;BR /&gt;host_group_name = entityName(`dt.entity.host_group`),&lt;BR /&gt;host_name = entityName(`dt.entity.host`),&lt;BR /&gt;disk_name = entityName(`dt.entity.disk`)&lt;BR /&gt;| filter disk_name != "/var/log/audit"&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;| join [&lt;BR /&gt;timeseries {&lt;BR /&gt;used_ts = avg(dt.host.disk.used),&lt;BR /&gt;avail_ts = avg(dt.host.disk.avail)&lt;BR /&gt;}, by:{ `dt.entity.disk` }&lt;BR /&gt;| fields&lt;BR /&gt;`dt.entity.disk`,&lt;BR /&gt;used_last_bytes = arrayLast(arrayRemoveNulls(used_ts)),&lt;BR /&gt;avail_last_bytes = arrayLast(arrayRemoveNulls(avail_ts))&lt;BR /&gt;],&lt;BR /&gt;on:{ `dt.entity.disk` }, kind: leftOuter&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;| fieldsAdd&lt;BR /&gt;used_last_GiB = right.used_last_bytes / 1073741824.0,&lt;BR /&gt;avail_last_GiB = right.avail_last_bytes / 1073741824.0&lt;/P&gt;
&lt;P&gt;| fieldsAdd used_GiB = round(used_last_GiB, decimals:0),&lt;BR /&gt;avail_GiB = round(avail_last_GiB, decimals:0)&lt;BR /&gt;| fieldsAdd total_GiB = used_GiB + avail_GiB&lt;/P&gt;
&lt;P&gt;| fieldsRemove right.used_last_bytes, right.avail_last_bytes, used_last_GiB, avail_last_GiB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;STRONG&gt;Observed behavior&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=""&gt;Every time &lt;SPAN class=""&gt;used_GB&lt;/SPAN&gt; / &lt;SPAN class=""&gt;avail_GB&lt;/SPAN&gt; changes, the detector starts a &lt;SPAN class=""&gt;&lt;STRONG&gt;new&lt;/STRONG&gt;&lt;/SPAN&gt; problem (instead of keeping one open), which creates noise.&lt;/P&gt;
&lt;P class=""&gt;Is there a supported/best-practice way to &lt;SPAN class=""&gt;&lt;STRONG&gt;include dynamic context (used/avail)&lt;/STRONG&gt;&lt;/SPAN&gt; in the problem &lt;SPAN class=""&gt;&lt;STRONG&gt;without&lt;/STRONG&gt;&lt;/SPAN&gt; causing Davis to treat it like a “new series” and open a new problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Dec 2025 10:28:47 GMT</pubDate>
    <dc:creator>patryk_ozimek2</dc:creator>
    <dc:date>2025-12-18T10:28:47Z</dc:date>
    <item>
      <title>Davis Anomaly Detector -  “used/available (GiB) Disk space” in the problem without creating a new one</title>
      <link>https://community.dynatrace.com/t5/Alerting/Davis-Anomaly-Detector-used-available-GiB-Disk-space-in-the/m-p/289605#M6000</link>
      <description>&lt;P class=""&gt;&lt;STRONG&gt;Goal&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=""&gt;I want a Davis anomaly detector for &lt;I&gt;disk usage %&lt;/I&gt; (e.g., alert when &lt;SPAN class=""&gt;dt.host.disk.used.percent&lt;/SPAN&gt; is high), &lt;SPAN class=""&gt;&lt;STRONG&gt;and&lt;/STRONG&gt;&lt;/SPAN&gt; I’d like the problem to also show &lt;SPAN class=""&gt;&lt;STRONG&gt;used&lt;/STRONG&gt;&lt;/SPAN&gt; and &lt;SPAN class=""&gt;&lt;STRONG&gt;available&lt;/STRONG&gt;&lt;/SPAN&gt; capacity (in GiB) for the affected disk.&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;STRONG&gt;The issue&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=""&gt;When I attach “used/avail” as scalar context via a &lt;SPAN class=""&gt;join&lt;/SPAN&gt; in the detector DQL, Dynatrace starts opening &lt;SPAN class=""&gt;&lt;STRONG&gt;new problems&lt;/STRONG&gt;&lt;/SPAN&gt; whenever those values change (e.g., ±1 GiB) — even though it’s the same host/disk and the same underlying breach.&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;Here’s the DQL I ended up with (simplified):&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;timeseries {&lt;BR /&gt;value = avg(dt.host.disk.used.percent)&lt;BR /&gt;}, by:{ `dt.entity.host_group`, `dt.entity.host`, `dt.entity.disk`, dt.cost.costcenter }&lt;/P&gt;
&lt;P&gt;| fieldsAdd&lt;BR /&gt;host_group_name = entityName(`dt.entity.host_group`),&lt;BR /&gt;host_name = entityName(`dt.entity.host`),&lt;BR /&gt;disk_name = entityName(`dt.entity.disk`)&lt;BR /&gt;| filter disk_name != "/var/log/audit"&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;| join [&lt;BR /&gt;timeseries {&lt;BR /&gt;used_ts = avg(dt.host.disk.used),&lt;BR /&gt;avail_ts = avg(dt.host.disk.avail)&lt;BR /&gt;}, by:{ `dt.entity.disk` }&lt;BR /&gt;| fields&lt;BR /&gt;`dt.entity.disk`,&lt;BR /&gt;used_last_bytes = arrayLast(arrayRemoveNulls(used_ts)),&lt;BR /&gt;avail_last_bytes = arrayLast(arrayRemoveNulls(avail_ts))&lt;BR /&gt;],&lt;BR /&gt;on:{ `dt.entity.disk` }, kind: leftOuter&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;| fieldsAdd&lt;BR /&gt;used_last_GiB = right.used_last_bytes / 1073741824.0,&lt;BR /&gt;avail_last_GiB = right.avail_last_bytes / 1073741824.0&lt;/P&gt;
&lt;P&gt;| fieldsAdd used_GiB = round(used_last_GiB, decimals:0),&lt;BR /&gt;avail_GiB = round(avail_last_GiB, decimals:0)&lt;BR /&gt;| fieldsAdd total_GiB = used_GiB + avail_GiB&lt;/P&gt;
&lt;P&gt;| fieldsRemove right.used_last_bytes, right.avail_last_bytes, used_last_GiB, avail_last_GiB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;STRONG&gt;Observed behavior&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=""&gt;Every time &lt;SPAN class=""&gt;used_GB&lt;/SPAN&gt; / &lt;SPAN class=""&gt;avail_GB&lt;/SPAN&gt; changes, the detector starts a &lt;SPAN class=""&gt;&lt;STRONG&gt;new&lt;/STRONG&gt;&lt;/SPAN&gt; problem (instead of keeping one open), which creates noise.&lt;/P&gt;
&lt;P class=""&gt;Is there a supported/best-practice way to &lt;SPAN class=""&gt;&lt;STRONG&gt;include dynamic context (used/avail)&lt;/STRONG&gt;&lt;/SPAN&gt; in the problem &lt;SPAN class=""&gt;&lt;STRONG&gt;without&lt;/STRONG&gt;&lt;/SPAN&gt; causing Davis to treat it like a “new series” and open a new problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 10:28:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Davis-Anomaly-Detector-used-available-GiB-Disk-space-in-the/m-p/289605#M6000</guid>
      <dc:creator>patryk_ozimek2</dc:creator>
      <dc:date>2025-12-18T10:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Davis Anomaly Detector -  “used/available (GiB) Disk spae” in the problem without creating new problems</title>
      <link>https://community.dynatrace.com/t5/Alerting/Davis-Anomaly-Detector-used-available-GiB-Disk-space-in-the/m-p/289714#M6014</link>
      <description>&lt;P&gt;are you using {dims:&lt;SPAN&gt;total_GiB} in your problem ? then what i understood is anything in {dims:xxx} changes when used under the problem , DT considers it as change and closes and opens a new prob from this thread that i am facing , try with {fields: as suggested , but it dint help in my case}&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.dynatrace.com/t5/Alerting/alerting-site-wise/td-p/289655" target="_blank"&gt;alerting site wise - Dynatrace Community&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 17:33:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Davis-Anomaly-Detector-used-available-GiB-Disk-space-in-the/m-p/289714#M6014</guid>
      <dc:creator>O11y_Noob</dc:creator>
      <dc:date>2025-11-17T17:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Davis Anomaly Detector -  “used/available (GiB) Disk spae” in the problem without creating new problems</title>
      <link>https://community.dynatrace.com/t5/Alerting/Davis-Anomaly-Detector-used-available-GiB-Disk-space-in-the/m-p/289792#M6023</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/49174"&gt;@patryk_ozimek2&lt;/a&gt;&amp;nbsp;I've come across this limitation before and this is a expected behavior if you include dimensions that change . Here is an idea that I raised for the same&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Product-ideas/Include-variable-dimensions-in-event-description-for-anomaly/idi-p/279184" target="_blank"&gt;https://community.dynatrace.com/t5/Product-ideas/Include-variable-dimensions-in-event-description-for-anomaly/idi-p/279184&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 23:13:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Davis-Anomaly-Detector-used-available-GiB-Disk-space-in-the/m-p/289792#M6023</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2025-11-18T23:13:53Z</dc:date>
    </item>
  </channel>
</rss>

