# Dynatrace Anomaly Detection

**URL:** <https://community.dynatrace.com/t/dynatrace-anomaly-detection/37196>\
**Category:** Alerting\
**Tags:** problem-detection, anomaly-detection, problems-classic\
**Created:** [November 9, 2022, 3:46am UTC](https://community.dynatrace.com/t/dynatrace-anomaly-detection/37196 "2022-11-09T03:46:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Selvam\_Sekar](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@Selvam\_Sekar](https://community.dynatrace.com/u/Selvam_Sekar)\
**Post date:** [November 9, 2022, 3:46am UTC](https://community.dynatrace.com/t/dynatrace-anomaly-detection/37196/1 "2022-11-09T03:46:18Z")

</div>

We have requirement to create health rule/problem notification for metric such as response time and transaction count with static thershold values.

For example, if transaction URL or webservice request is ‘application\_name/submit/clientname’

how we can we create alert? when the response time breaches above 3000ms for the above URL or transaction count breaches 10000/min.

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [November 9, 2022, 6:52am UTC](https://community.dynatrace.com/t/dynatrace-anomaly-detection/37196/2 "2022-11-09T06:52:53Z")

</div>

Hi&nbsp;[@Selvam\_Sekar](https://community.dynatrace.com/user/56732)

for response time you have 2 methods: You can mark your request as Key request and after that put&nbsp; a threshold.

OR:

You should create a custom calculated metric for this URL for both Response time and transaction count (2 custom calculated metrics).

After that you should be able to create a custom event for alerting based on that metric with your thresholds.

BRs,
