# Dynatarce Alert API with Metric event

**URL:** <https://community.dynatrace.com/t/dynatarce-alert-api-with-metric-event/49627>\
**Category:** Alerting\
**Tags:** alerting-profile, metric-events, dynatrace-api\
**Created:** [January 9, 2025, 4:29am UTC](https://community.dynatrace.com/t/dynatarce-alert-api-with-metric-event/49627 "2025-01-09T04:29:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gauravpayghan\_1](https://avatars.discourse-cdn.com/v4/letter/g/f1d935/32.png) [@gauravpayghan\_1](https://community.dynatrace.com/u/gauravpayghan_1)\
**Post date:** [January 9, 2025, 4:29am UTC](https://community.dynatrace.com/t/dynatarce-alert-api-with-metric-event/49627/1 "2025-01-09T04:29:15Z")

</div>

Help me with creating an alerting profile using api with severity level that is Custome\_Alert

Metric event name - xyz with CPU saturation above 65% so - I want to create a alerting profile using DT api so only this metric event can be picked into alerting profile also auto tag we can add into script and event filters as required

Do help me with above need i was trying this with the help of DT documentation but only able to create alerting profile but as per the need i need to act so please provide an output on this

---

<div class="post-metadata">

**Author:** ![Adi\_10](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@Adi\_10](https://community.dynatrace.com/u/Adi_10)\
**Post date:** [January 9, 2025, 4:31am UTC](https://community.dynatrace.com/t/dynatarce-alert-api-with-metric-event/49627/2 "2025-01-09T04:31:13Z")

</div>

[@Peter\_Youssef](https://community.dynatrace.com/user/51369)&nbsp; & [@HannahM](https://community.dynatrace.com/user/1433)&nbsp;Could you please help on this.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [January 9, 2025, 5:08pm UTC](https://community.dynatrace.com/t/dynatarce-alert-api-with-metric-event/49627/3 "2025-01-09T17:08:03Z")

</div>

I recommend that you ask on chat. Thanks

---

<div class="post-metadata">

**Author:** ![gauravpayghan\_1](https://avatars.discourse-cdn.com/v4/letter/g/f1d935/32.png) [@gauravpayghan\_1](https://community.dynatrace.com/u/gauravpayghan_1)\
**Post date:** [January 9, 2025, 5:21pm UTC](https://community.dynatrace.com/t/dynatarce-alert-api-with-metric-event/49627/4 "2025-01-09T17:21:55Z")

</div>

I am unable to open that at the moment

---

<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:** [May 23, 2025, 7:01am UTC](https://community.dynatrace.com/t/dynatarce-alert-api-with-metric-event/49627/5 "2025-05-23T07:01:44Z")

</div>

Hi&nbsp;[@gauravpayghan\_\_](https://community.dynatrace.com/user/76461)! Did you find a solution for this one? 🙂

---

<div class="post-metadata">

**Author:** ![gauravpayghan\_1](https://avatars.discourse-cdn.com/v4/letter/g/f1d935/32.png) [@gauravpayghan\_1](https://community.dynatrace.com/u/gauravpayghan_1)\
**Post date:** [June 10, 2025, 5:44am UTC](https://community.dynatrace.com/t/dynatarce-alert-api-with-metric-event/49627/6 "2025-06-10T05:44:40Z")

</div>

No not yet

---

<div class="post-metadata">

**Author:** ![lubrman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/lubrman/32/7353_2.png) [@lubrman](https://community.dynatrace.com/u/lubrman)\
**Post date:** [June 10, 2025, 10:18am UTC](https://community.dynatrace.com/t/dynatarce-alert-api-with-metric-event/49627/7 "2025-06-10T10:18:54Z")

</div>

Hi&nbsp;[@gauravpayghan\_\_](https://community.dynatrace.com/user/76461)

In line with your intent, I would rather recommend adjusting CPU saturation on the host or host group instead of creating a metric event. If it’s something you want to receive an alert for, I would take this approach instead.

 ![lubrman_2-1749550460956.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/d/9ddd4b03684fc460e436a5eb91a896fa40d49d25.png)

However, if you don’t want to adjust the global setting and prefer to use a metric event, you can validate a precisely defined message title within the alerting profile.

 ![lubrman_3-1749550710318.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/b1c5f3a504bd1071265c629b5e361b5cc010a6af.png)

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [June 10, 2025, 10:23am UTC](https://community.dynatrace.com/t/dynatarce-alert-api-with-metric-event/49627/8 "2025-06-10T10:23:33Z")

</div>

Hi,

You can create alerting profile in the UI with your filters and requirements. Later, select this API option, it will provide you POST request to create it.

 ![AntonPineiro_0-1749550990267.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/6/56ff582c7b489999648b80265c307393d7dc3c09.png)

Best regards
