# Tagging events based on custom metric

**URL:** <https://community.dynatrace.com/t/tagging-events-based-on-custom-metric/39675>\
**Category:** Alerting\
**Tags:** dynatrace-managed, tagging, events\
**Created:** [May 11, 2023, 6:43am UTC](https://community.dynatrace.com/t/tagging-events-based-on-custom-metric/39675 "2023-05-11T06:43:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JAR1](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@JAR1](https://community.dynatrace.com/u/JAR1)\
**Post date:** [May 11, 2023, 6:43am UTC](https://community.dynatrace.com/t/tagging-events-based-on-custom-metric/39675/1 "2023-05-11T06:43:05Z")

</div>

Hello everybody.  
I have event metrics to generate a problem. It is included in an alerting profile to send the notification by email.

The fact is that I have to send in an automatic tag for each notification.

Does anyone have any idea how to do it?  
Tagging the metric? Tagging the event?

Thanks for your ideas.

JAR

---

<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:** [May 11, 2023, 8:13am UTC](https://community.dynatrace.com/t/tagging-events-based-on-custom-metric/39675/2 "2023-05-11T08:13:38Z")

</div>

Hi,

Maybe metric event properties, you can include key-value pairs:

 ![AntonPineiro_0-1683792800635.png](https://global.discourse-cdn.com/dynatrace/original/1X/d4df0c9355d263db8e03f3905daa70a339144ca9.png)

Best regards

---

<div class="post-metadata">

**Author:** ![agata.wlodarczyk](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/agata.wlodarczyk/32/22_2.png) [@agata.wlodarczyk](https://community.dynatrace.com/u/agata.wlodarczyk)\
**Post date:** [May 12, 2023, 11:20am UTC](https://community.dynatrace.com/t/tagging-events-based-on-custom-metric/39675/3 "2023-05-12T11:20:23Z")

</div>

[@JAR1](https://community.dynatrace.com/user/57153)&nbsp;did a hint from&nbsp;[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;help you?

---

<div class="post-metadata">

**Author:** ![JAR1](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@JAR1](https://community.dynatrace.com/u/JAR1)\
**Post date:** [May 12, 2023, 11:26am UTC](https://community.dynatrace.com/t/tagging-events-based-on-custom-metric/39675/4 "2023-05-12T11:26:20Z")

</div>

Hello&nbsp;[@AgataWlodarczyk](https://community.dynatrace.com/user/45226)&nbsp;  
this option does not cover the need. In my use case I need to send in an automatic tag for each notification.  
These tags are simply information that stays in the metric but does not go to notifications.

 ![JAR1_0-1683890797405.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/a/facc7040551626a22a4d889bef6a7e70a95af198.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:** [May 16, 2023, 10:31am UTC](https://community.dynatrace.com/t/tagging-events-based-on-custom-metric/39675/5 "2023-05-16T10:31:58Z")

</div>

Hi,

I think this might be a product idea to be raised.

Best regards

---

<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:** [May 17, 2023, 1:57pm UTC](https://community.dynatrace.com/t/tagging-events-based-on-custom-metric/39675/6 "2023-05-17T13:57:22Z")

</div>

Product idea is [here](https://community.dynatrace.com/post/212410).
