# Threshold's for a metric using custom event

**URL:** <https://community.dynatrace.com/t/thresholds-for-a-metric-using-custom-event/34886>\
**Category:** Alerting\
**Tags:** problem-detection, anomaly-detection, problems-classic\
**Created:** [April 19, 2022, 11:55am UTC](https://community.dynatrace.com/t/thresholds-for-a-metric-using-custom-event/34886 "2022-04-19T11:55:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amitbsht321](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@amitbsht321](https://community.dynatrace.com/u/amitbsht321)\
**Post date:** [April 19, 2022, 11:55am UTC](https://community.dynatrace.com/t/thresholds-for-a-metric-using-custom-event/34886/1 "2022-04-19T11:55:18Z")

</div>

Hi Team,

Is it possible to set-up two thresholds(Caution/Danger) for a single metric, using custom event ??

Regards,

Amit Singh Bisht

---

<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:** [April 19, 2022, 12:23pm UTC](https://community.dynatrace.com/t/thresholds-for-a-metric-using-custom-event/34886/2 "2022-04-19T12:23:30Z")

</div>

Hi,

2 different custom metrics should be defined for this need.

---

<div class="post-metadata">

**Author:** ![amitbsht321](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@amitbsht321](https://community.dynatrace.com/u/amitbsht321)\
**Post date:** [April 19, 2022, 2:10pm UTC](https://community.dynatrace.com/t/thresholds-for-a-metric-using-custom-event/34886/3 "2022-04-19T14:10:41Z")

</div>

Hi Malaik,

So we can’t define 2 threshold for 1 custom metric.

Regards,

Amit Singh Bisht

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [April 19, 2022, 2:24pm UTC](https://community.dynatrace.com/t/thresholds-for-a-metric-using-custom-event/34886/4 "2022-04-19T14:24:17Z")

</div>

You can create, but it will result you with two alerts when the most critical (high sensitive) threshold hits.

That’s because you can only set “below” and “above” and not “between” thresholds.

Similar question was also posted here:  
[https://community.dynatrace.com/t5/Alerting/Threshold-Based-custom-alerts/td-p/183182](https://community.dynatrace.com/topic/183182)

Take a look on the suggestion from&nbsp;[@DanielS](https://community.dynatrace.com/user/35788)&nbsp;[here, using SLO.](https://community.dynatrace.com/post/185002).

---

<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:** [April 20, 2022, 6:26am UTC](https://community.dynatrace.com/t/thresholds-for-a-metric-using-custom-event/34886/5 "2022-04-20T06:26:22Z")

</div>

Hi,

No I mean, crating 2 different custom metrics for the same purpose with 2 different thresholds.

Because in the settings, you have only&nbsp;below/above and not between.
