# Anomaly detection configuration

**URL:** <https://community.dynatrace.com/t/anomaly-detection-configuration/46028>\
**Category:** Alerting\
**Tags:** problem-detection, anomaly-detection, problems-classic\
**Created:** [June 10, 2024, 6:58pm UTC](https://community.dynatrace.com/t/anomaly-detection-configuration/46028 "2024-06-10T18:58:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kobkob](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kobkob](https://community.dynatrace.com/u/kobkob)\
**Post date:** [June 10, 2024, 6:58pm UTC](https://community.dynatrace.com/t/anomaly-detection-configuration/46028/1 "2024-06-10T18:58:30Z")

</div>

Hi,

I created metric event for response time of services and I’m trying to reduce the noise from alerts.

There is an option on the metric event itself:

 ![kobkob_0-1718045624059.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/b/abcd9381a7f173bdd6fea27421d839010d2ac3cb.png)

And there is an option on the service configuration under anomaly detesction on the settings:

 ![kobkob_1-1718045708082.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/b/7b58755af996686868cd8f5cc935d6d0a89d9d30.png)

Is the 2nd option is affecting the metric events or it’s not related?

If it does, updating this will update the sample duration in the “sliding window”?

![kobkob_2-1718045780285.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/6/866c595e0a48f89dd05a9ea53d1c642aa9cf5139.png)

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![erh\_inetum](https://avatars.discourse-cdn.com/v4/letter/e/48db29/32.png) [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Post date:** [June 11, 2024, 2:37pm UTC](https://community.dynatrace.com/t/anomaly-detection-configuration/46028/2 "2024-06-11T14:37:23Z")

</div>

Hi&nbsp;[@kobkob](https://community.dynatrace.com/user/66137)&nbsp;,

It’s not related to.  
On metric event you define a monitor for an specific custom metric and you only can define static thresholds as monitoring strategy.  
The anomaly detection service settings is global, so it applies to all services , and you can use static threshold or automatic as monitoring strategies.

[Here](https://docs.dynatrace.com/docs/shortlink/anomaly-detection-configuration#sliding-window) you have information about sliding-window for metric events.

Hope it helps.

Regards,  
Elena.
