# Anomaly detection analyzing 6 hour window

**URL:** <https://community.dynatrace.com/t/anomaly-detection-analyzing-6-hour-window/44014>\
**Category:** Alerting\
**Tags:** problem-detection, anomaly-detection, problems-classic\
**Created:** [February 7, 2024, 1:40pm UTC](https://community.dynatrace.com/t/anomaly-detection-analyzing-6-hour-window/44014 "2024-02-07T13:40:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wellpplava](https://avatars.discourse-cdn.com/v4/letter/w/d26b3c/32.png) [@wellpplava](https://community.dynatrace.com/u/wellpplava)\
**Post date:** [February 7, 2024, 1:40pm UTC](https://community.dynatrace.com/t/anomaly-detection-analyzing-6-hour-window/44014/1 "2024-02-07T13:40:57Z")

</div>

Guys, I need to create an anomaly detection that generates a problem if within 3 hours there is no new data in my metric (Metric Events).

The problem is that I can only set a 60 minute window. I even thought about using rollup, but it is also limited to 60 minutes.

Is there any alternative or is the maximum I can analyze really 60 minutes?

---

<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:** [February 13, 2024, 4:55pm UTC](https://community.dynatrace.com/t/anomaly-detection-analyzing-6-hour-window/44014/2 "2024-02-13T16:55:33Z")

</div>

At times you can get around these types of limitations via the API. I just tried it but it errored:

```auto
"message": "Given property 'samples' with value: '90' violates the following constraint: Value must be between 3 and 60."

```

I have submitted a RFE on your behalf. [https://community.dynatrace.com/t5/Product-ideas/Expand-Sample-set-outside-the-60min-window/idi-p/237011](https://community.dynatrace.com/post/237011)
