# Metric Events Query Failed - missing alerts

**URL:** <https://community.dynatrace.com/t/metric-events-query-failed-missing-alerts/55428>\
**Category:** DQL\
**Tags:** dql, dynatrace-managed\
**Created:** [March 31, 2026, 1:24pm UTC](https://community.dynatrace.com/t/metric-events-query-failed-missing-alerts/55428 "2026-03-31T13:24:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vijayt](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Vijayt](https://community.dynatrace.com/u/Vijayt)\
**Post date:** [March 31, 2026, 1:24pm UTC](https://community.dynatrace.com/t/metric-events-query-failed-missing-alerts/55428/1 "2026-03-31T13:24:29Z")

</div>

Hi

i am configuring Warning alerts for OS mount points only not application mount points.

Configured it using DSQL with filtering disk names /, /opt, /var but i am getting metric event QUERY\_FAILED.

builtin:host.disk.usedPct:filter(and(  
or(or(in(“dt.entity.disk”,entitySelector(“type(disk),entityName.equals(~”/~“)”))),  
or(in(“dt.entity.disk”,entitySelector(“type(disk),entityName.equals(~”/opt~“)”))),  
or(in(“dt.entity.disk”,entitySelector(“type(disk),entityName.equals(~”/var~“)”))),  
or(in(“dt.entity.disk”,entitySelector(“type(disk),entityName.equals(~”/root~“)”))),  
or(in(“dt.entity.disk”,entitySelector(“type(disk),entityName.equals(~”/home~“)”))),  
or(in(“dt.entity.disk”,entitySelector(“type(disk),entityName.equals(~”/tmp~“)”)))),  
or(in(“dt.entity.host”,entitySelector(“type(host),networkZone(~“nw-2105~”)”)),  
or(in(“dt.entity.host”,entitySelector(“type(host),tag(~“team:Linux11~”)”)))))  
:splitBy(“dt.entity.host”,“dt.entity.disk”)

Tagged those disks and with tag DSQL still the same Query\_FAILED

i could not configure metric key based one as entity filer only for server not for disks

How to solve this issue

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [March 31, 2026, 1:38pm UTC](https://community.dynatrace.com/t/metric-events-query-failed-missing-alerts/55428/2 "2026-03-31T13:38:48Z")

</div>

Hi,

For alerting about mount points, maybe you use [Filesystem monitoring extension](https://www.dynatrace.com/hub/detail/filesystem-monitoring-extension-v2/?query=filesystem&filter=all).

Best regards

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [March 31, 2026, 2:45pm UTC](https://community.dynatrace.com/t/metric-events-query-failed-missing-alerts/55428/3 "2026-03-31T14:45:02Z")

</div>

Hi,

QUERY\_FAILED usually means the issue is with the metric selector itself, not with disk alerting.

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”)).

: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.

Something like this:

```markup
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")

```

If your goal is to alert on specific mount points (e.g. only /, /var), a better approach would be what [@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp; suggested, using the Filesystem Monitoring extension. It natively supports mount point checks and allows alerting per path, without the need for complex selectors.
