# Custom Alert with multiple conditions

**URL:** <https://community.dynatrace.com/t/custom-alert-with-multiple-conditions/47696>\
**Category:** Alerting\
**Tags:** data-explorer, anomaly-detection, problems-classic\
**Created:** [September 16, 2024, 9:59am UTC](https://community.dynatrace.com/t/custom-alert-with-multiple-conditions/47696 "2024-09-16T09:59:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vikas\_g1997](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@Vikas\_g1997](https://community.dynatrace.com/u/Vikas_g1997)\
**Post date:** [September 16, 2024, 9:59am UTC](https://community.dynatrace.com/t/custom-alert-with-multiple-conditions/47696/1 "2024-09-16T09:59:36Z")

</div>

Hi Team,  
We have a requirement from the customer&nbsp; to set an alert for the provider URL with multiple conditions as  
Measure average response time over 1 hour. If in the last 5 minutes above 15% over the average, alert. Can anyone please tell me how we can do it in advance mode and create alerts for it?

 ![Vikas_g1997_0-1726480705701.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/c14ad313ed2f17f5d2bb1ed22be63dc228bd4e5f.png)

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [September 16, 2024, 11:32pm UTC](https://community.dynatrace.com/t/custom-alert-with-multiple-conditions/47696/2 "2024-09-16T23:32:02Z")

</div>

Hey Vikas,  
I’m not sure this would be possible without a workflow with custom JS. The closest out of the box method I can think of would be something like the auto-adaptive thresholds as detailed here.&nbsp;[Auto-adaptive thresholds for anomaly detection — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/anomaly-detection-adaptive-threshold#calculation)

---

<div class="post-metadata">

**Author:** ![Vikas\_g1997](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@Vikas\_g1997](https://community.dynatrace.com/u/Vikas_g1997)\
**Post date:** [September 17, 2024, 5:44am UTC](https://community.dynatrace.com/t/custom-alert-with-multiple-conditions/47696/3 "2024-09-17T05:44:34Z")

</div>

hi&nbsp;[@Fin\_Ubels](https://community.dynatrace.com/user/47376)&nbsp;,

Even we have tried with DQL but the metric for Custom Mobile App is not available.

Regards,

Vikas A Goud

---

<div class="post-metadata">

**Author:** ![Gosia\_Murawska](https://avatars.discourse-cdn.com/v4/letter/g/2bfe46/32.png) [@Gosia\_Murawska](https://community.dynatrace.com/u/Gosia_Murawska)\
**Post date:** [December 17, 2024, 10:29am UTC](https://community.dynatrace.com/t/custom-alert-with-multiple-conditions/47696/4 "2024-12-17T10:29:07Z")

</div>

Hi&nbsp;[@Vikas\_g1997](https://community.dynatrace.com/user/57336), did you solve this one? It would be great if you share it with the Community 🙂
