# How to detect plummet / spike in metric like disk free % before they are a problem?

**URL:** <https://community.dynatrace.com/t/how-to-detect-plummet-spike-in-metric-like-disk-free-before-they-are-a-problem/51874>\
**Category:** Alerting\
**Tags:** problem-detection, anomaly-detection\
**Created:** [May 29, 2025, 2:29pm UTC](https://community.dynatrace.com/t/how-to-detect-plummet-spike-in-metric-like-disk-free-before-they-are-a-problem/51874 "2025-05-29T14:29:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandon\_camp](https://avatars.discourse-cdn.com/v4/letter/b/b38774/32.png) [@brandon\_camp](https://community.dynatrace.com/u/brandon_camp)\
**Post date:** [May 29, 2025, 2:29pm UTC](https://community.dynatrace.com/t/how-to-detect-plummet-spike-in-metric-like-disk-free-before-they-are-a-problem/51874/1 "2025-05-29T14:29:47Z")

</div>

What is the recommended approach to detect a sudden surge in a metric like disk free?

Some context:

- My Prod environment has 60k Disks so automation is required
- I am using a Workflow with Davis Forecast Task to predict future disk space exhaustion.&nbsp; However the Workflow runs once a day and will not detect sudden surges in disk usage spikes that occur in between runs of the Forecast.
- These surges in disk usage can cause disk free % to plummet in 1-2 hours but aren’t yet low enough to register a Problem in DT.&nbsp; e.g. 80% free to 20% free in an hour (see graph below)

 ![brandon_camp_0-1748528447800.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/d/ad01007e0047575bae9a7cd9f912cc56d4d03e54.png)

Assuming our Workflow Forecast will catch slow disk growth over time, how can we detect sudden dips in disk free %?&nbsp; Was considering creating a calculated metric for rate of change but thought that was too heavyweight.&nbsp; Also was not sure if Anomaly Detection was appropriate for this use case.&nbsp; Any thoughts?

Thanks!

---

<div class="post-metadata">

**Author:** ![StrangerThing](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/strangerthing/32/12182_2.png) [@StrangerThing](https://community.dynatrace.com/u/StrangerThing)\
**Post date:** [May 29, 2025, 4:38pm UTC](https://community.dynatrace.com/t/how-to-detect-plummet-spike-in-metric-like-disk-free-before-they-are-a-problem/51874/2 "2025-05-29T16:38:49Z")

</div>

I think anomaly detection through either a metric event or Davis Anomaly Detection would solve your issue here. You can set an auto-baselined threshold to be “outside” the bounds, which would alert whether the data points dip or surge. You can tweak the sensitivity of the auto-adaptive threshold as well to suit your needs. We use this across all of our servers, with different thresholds for OS drive versus other drives.
