# Anomaly detection based on absolute threshold

**URL:** <https://community.dynatrace.com/t/anomaly-detection-based-on-absolute-threshold/33880>\
**Category:** Alerting\
**Tags:** problem-detection, anomaly-detection\
**Created:** [January 26, 2022, 8:02am UTC](https://community.dynatrace.com/t/anomaly-detection-based-on-absolute-threshold/33880 "2022-01-26T08:02:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin\_schuetz1](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@martin\_schuetz1](https://community.dynatrace.com/u/martin_schuetz1)\
**Post date:** [January 26, 2022, 8:02am UTC](https://community.dynatrace.com/t/anomaly-detection-based-on-absolute-threshold/33880/1 "2022-01-26T08:02:02Z")

</div>

Hi,

I want to open an alert based on a (single) exception for a dedicated service.

Therefore I updated the _service settings / error detection_ and added my custom marker exception.

Then I tried to configure the _service settings / anomaly detection --\> failure rate_ to handle occurrences of my exception.

Basically I want to open an alert for 1 minute if there is at least 1 impacted request and automatically close that alert if there is no exception in the following time frame.

What’s best practice to configure absolute threshold? If I’m right, both _automatic_ as well as _fixed threshold&nbsp;detection_ are based on relative thresholds (at least I run into problems to automatically close alerts if there’s high throughput).

As the exception is not logged log-monitoring is not an option.

Thanks in advance!

---

<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:** [March 30, 2022, 5:34pm UTC](https://community.dynatrace.com/t/anomaly-detection-based-on-absolute-threshold/33880/2 "2022-03-30T17:34:18Z")

</div>

I dont think you can define the duration of an alert, Rather Raise an alert if X amount of breaches, in X amount of time. We recommend using AI, that’s what your paying for, and if the case presents itself you can always define a custom event on a case by case basis.
