# How to setup email notification from custom metric?

**URL:** <https://community.dynatrace.com/t/how-to-setup-email-notification-from-custom-metric/49122>\
**Category:** Alerting\
**Tags:** problem-notification\
**Created:** [November 29, 2024, 8:35am UTC](https://community.dynatrace.com/t/how-to-setup-email-notification-from-custom-metric/49122 "2024-11-29T08:35:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ele30](https://avatars.discourse-cdn.com/v4/letter/e/e95f7d/32.png) [@ele30](https://community.dynatrace.com/u/ele30)\
**Post date:** [November 29, 2024, 8:35am UTC](https://community.dynatrace.com/t/how-to-setup-email-notification-from-custom-metric/49122/1 "2024-11-29T08:35:22Z")

</div>

Hi there. I have created a custom user action metric based on some errors , how can I setup an email notification in case this custom metric reports 2 errors in a time spawn of 10 minutes? Thank you.

---

<div class="post-metadata">

**Author:** ![PedroSantos](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pedrosantos/32/28150_2.png) [@PedroSantos](https://community.dynatrace.com/u/PedroSantos)\
**Post date:** [November 29, 2024, 9:56am UTC](https://community.dynatrace.com/t/how-to-setup-email-notification-from-custom-metric/49122/2 "2024-11-29T09:56:38Z")

</div>

First, you create an alerting profile that matches the problem you’re detecting. Do this under Settings-\>Alerting-\> Problem alerting profiles.

Then go to Settings-\>Integration-\>Problem notification and set up a notification by email that matches your created alerting profile

---

<div class="post-metadata">

**Author:** ![rastislav\_danis](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@rastislav\_danis](https://community.dynatrace.com/u/rastislav_danis)\
**Post date:** [November 29, 2024, 10:00am UTC](https://community.dynatrace.com/t/how-to-setup-email-notification-from-custom-metric/49122/3 "2024-11-29T10:00:18Z")

</div>

Use Anomaly detection / Metric events to create Problems based on your conditions (thresholds, amount of failures in time, ..). Use some specific identification (f.e. Problem title) for your problems in metric event definition. Then create Alerting profile to filter your problems (either via Problem title or other way) and finally create email notification policy connected to your Alerting profile.

---

<div class="post-metadata">

**Author:** ![Abidyaseen](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/abidyaseen/32/19726_2.png) [@Abidyaseen](https://community.dynatrace.com/u/Abidyaseen)\
**Post date:** [November 29, 2024, 10:02am UTC](https://community.dynatrace.com/t/how-to-setup-email-notification-from-custom-metric/49122/4 "2024-11-29T10:02:42Z")

</div>

First, you need to create an alerting profile that aligns with the issue you’re trying to detect. You can do this under **Settings** → **Alerting** → **Problem alerting profiles**.

Next, navigate to **Settings** → **Integration** → **Problem notification** , and configure an email notification that corresponds to the alerting profile you’ve set up please check the screenshots for your reference

 ![Abidyaseen_0-1732874449155.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/0/f0deeeee588528bbeff6ba23f41c7aefab8c017a.png)

 ![Abidyaseen_1-1732874523666.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/3/833a07beefb9e2bbd61d23d3117ba83fc2ab482a.png)
