# What happens with Davis when it is dark?

**URL:** <https://community.dynatrace.com/t/what-happens-with-davis-when-it-is-dark/50504>\
**Category:** Alerting\
**Tags:** dql, dynatrace-managed\
**Created:** [February 28, 2025, 11:46am UTC](https://community.dynatrace.com/t/what-happens-with-davis-when-it-is-dark/50504 "2025-02-28T11:46:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [February 28, 2025, 11:46am UTC](https://community.dynatrace.com/t/what-happens-with-davis-when-it-is-dark/50504/1 "2025-02-28T11:46:29Z")

</div>

![henk_stobbe_0-1740742678082.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/2/b2ae1b03ad357a435911637e7d57f6d3b66d2338.png)

So, when I create above Davis anomaly query, what happens after 17:00:00…

Did I just found a way to do something like only create an event in the daytime?

KR Henk

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [July 9, 2025, 7:18pm UTC](https://community.dynatrace.com/t/what-happens-with-davis-when-it-is-dark/50504/2 "2025-07-09T19:18:27Z")

</div>

Based off how that reads, I would agree that it is just pulling metrics for that time frame and if a violation exists in that time frame then an alert would be triggered. Have you been able to validate that logic?

---

<div class="post-metadata">

**Author:** ![apasoquen1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/apasoquen1/32/36450_2.png) [@apasoquen1](https://community.dynatrace.com/u/apasoquen1)\
**Post date:** [July 9, 2025, 7:33pm UTC](https://community.dynatrace.com/t/what-happens-with-davis-when-it-is-dark/50504/3 "2025-07-09T19:33:20Z")

</div>

Definitely should try to validate this.&nbsp; This would be a game changer for some use cases.

---

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [July 10, 2025, 9:20am UTC](https://community.dynatrace.com/t/what-happens-with-davis-when-it-is-dark/50504/4 "2025-07-10T09:20:49Z")

</div>

Hello,

Davis does not except a timeframe in the DQL, so I have created a filter in the workflow that is triggered by the event,

KR Henk
