<?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: Metric Events Query Failed - missing alerts in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Metric-Events-Query-Failed-missing-alerts/m-p/297003#M3236</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For alerting about mount points, maybe you use &lt;A title="Filesystem monitoring extension" href="https://www.dynatrace.com/hub/detail/filesystem-monitoring-extension-v2/?query=filesystem&amp;amp;filter=all" target="_blank" rel="noopener"&gt;Filesystem monitoring extension&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Tue, 31 Mar 2026 13:38:48 GMT</pubDate>
    <dc:creator>AntonPineiro</dc:creator>
    <dc:date>2026-03-31T13:38:48Z</dc:date>
    <item>
      <title>Metric Events Query Failed - missing alerts</title>
      <link>https://community.dynatrace.com/t5/DQL/Metric-Events-Query-Failed-missing-alerts/m-p/297001#M3235</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am configuring Warning alerts for OS mount points only not application mount points.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Configured it using DSQL with filtering disk names /, /opt, /var but i am getting metric event QUERY_FAILED.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;builtin:host.disk.usedPct:filter(and(&lt;BR /&gt;or(or(in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"/~")"))),&lt;BR /&gt;or(in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"/opt~")"))),&lt;BR /&gt;or(in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"/var~")"))),&lt;BR /&gt;or(in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"/root~")"))),&lt;BR /&gt;or(in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"/home~")"))),&lt;BR /&gt;or(in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"/tmp~")")))),&lt;BR /&gt;or(in("dt.entity.host",entitySelector("type(host),networkZone(~"nw-2105~")")),&lt;BR /&gt;or(in("dt.entity.host",entitySelector("type(host),tag(~"team:Linux11~")")))))&lt;BR /&gt;:splitBy("dt.entity.host","dt.entity.disk")&lt;/P&gt;&lt;P&gt;Tagged those disks and with tag DSQL still the same Query_FAILED&amp;nbsp;&lt;/P&gt;&lt;P&gt;i could not configure metric key based one as entity filer only for server not for disks&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to solve this issue&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2026 13:24:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Metric-Events-Query-Failed-missing-alerts/m-p/297001#M3235</guid>
      <dc:creator>Vijayt</dc:creator>
      <dc:date>2026-03-31T13:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Metric Events Query Failed - missing alerts</title>
      <link>https://community.dynatrace.com/t5/DQL/Metric-Events-Query-Failed-missing-alerts/m-p/297003#M3236</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For alerting about mount points, maybe you use &lt;A title="Filesystem monitoring extension" href="https://www.dynatrace.com/hub/detail/filesystem-monitoring-extension-v2/?query=filesystem&amp;amp;filter=all" target="_blank" rel="noopener"&gt;Filesystem monitoring extension&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2026 13:38:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Metric-Events-Query-Failed-missing-alerts/m-p/297003#M3236</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2026-03-31T13:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Metric Events Query Failed - missing alerts</title>
      <link>https://community.dynatrace.com/t5/DQL/Metric-Events-Query-Failed-missing-alerts/m-p/297010#M3240</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;QUERY_FAILED usually means the issue is with the metric selector itself, not with disk alerting.&lt;/P&gt;&lt;P&gt;In your case, the selector is overly complex and has incorrect or(...) nesting. Also make sure you're using proper entity selector syntax (type("DISK"), type("HOST")).&lt;/P&gt;&lt;P&gt;:Start with a single mount point (e.g. /) and validate it in Data Explorer (Advanced mode). Then gradually add more (/opt, /var, etc.), then use it in a metric event.&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:host.disk.usedPct
:filter(
  and(
    in("dt.entity.disk",entitySelector("type(\"DISK\"),entityName.equals(\"/\")")),
    in("dt.entity.host",entitySelector("type(\"HOST\"),tag(\"team:Linux11\")"))
  )
)
:splitBy("dt.entity.host","dt.entity.disk")&lt;/LI-CODE&gt;&lt;P&gt;If your goal is to alert on specific mount points (e.g. only /, /var), a better approach would be what &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;&amp;nbsp; suggested, using the Filesystem Monitoring extension. It natively supports mount point checks and allows alerting per path, without the need for complex selectors.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2026 14:45:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Metric-Events-Query-Failed-missing-alerts/m-p/297010#M3240</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2026-03-31T14:45:02Z</dc:date>
    </item>
  </channel>
</rss>

