# Another dilemma with anomaly detection wow

**URL:** <https://community.dynatrace.com/t/another-dilemma-with-anomaly-detection-wow/55235>\
**Category:** Open Q&A\
**Tags:** dynatrace-managed, documentation, infrastructure-operations\
**Created:** [March 11, 2026, 8:34am UTC](https://community.dynatrace.com/t/another-dilemma-with-anomaly-detection-wow/55235 "2026-03-11T08:34:55Z")\
**Posts on this page:** 3\
**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:** [March 11, 2026, 8:34am UTC](https://community.dynatrace.com/t/another-dilemma-with-anomaly-detection-wow/55235/1 "2026-03-11T08:34:55Z")

</div>

Good morning everybody,

When running an extension sometimes you get a metric that is more a status.

Example numbers 1 and 2 meaning up and down (it is just an example), so what I really would like to do is translate a number 2 to an event.

In the documentation it states that the preferred way to go I should use the anomaly detection APP.

Is it the correct way to go and say to davis: 3 times above 1 is and event …

Who has some thoughts about this?

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [March 11, 2026, 9:24am UTC](https://community.dynatrace.com/t/another-dilemma-with-anomaly-detection-wow/55235/2 "2026-03-11T09:24:58Z")

</div>

[@henk\_stobbe](https://community.dynatrace.com/user/11427)

For status‑type metrics (like 1 = up, 2 = down), the usual approach is to create a metric event with a static threshold.  
For example: alert when the value equals 2 and requires 3 consecutive violating data points. That gives you exactly the “3 times above 1 = event” logic.

The Anomaly Detection app is only needed if you want more advanced logic. For most extension status metrics, a basic metric event is enough and works well with Davis.

So in short:  
If 2 always means “down”, just create a metric event → threshold = 2 → alert after 3 samples

---

<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:** [March 11, 2026, 10:35am UTC](https://community.dynatrace.com/t/another-dilemma-with-anomaly-detection-wow/55235/3 "2026-03-11T10:35:46Z")

</div>

Great, thanks for you quick answer, I assume I got the emphasis wrong.😀

![image.png](https://global.discourse-cdn.com/dynatrace/optimized/3X/d/5/d5ac2d27568e9cb3f48073a7acedc9f0b78b4950_2_690x30.png)

Thanks again and have a nice day.
