# Problem alerting profile issue

**URL:** <https://community.dynatrace.com/t/problem-alerting-profile-issue/49066>\
**Category:** Alerting\
**Tags:** alerting-profile, problem-detection, metric-events, problems\
**Created:** [November 26, 2024, 2:08pm UTC](https://community.dynatrace.com/t/problem-alerting-profile-issue/49066 "2024-11-26T14:08:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kobkob](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kobkob](https://community.dynatrace.com/u/kobkob)\
**Post date:** [November 26, 2024, 2:08pm UTC](https://community.dynatrace.com/t/problem-alerting-profile-issue/49066/1 "2024-11-26T14:08:39Z")

</div>

Hi community,

I have an issue while problem that based on metric event I created is opened.

The metric event type is metric selector that follows response time on the&nbsp;\*service\* level (entitySelector("type(service)).

The dimension ket of entity events is also \*service\*.

When a problem is opened and the affected entities are service \*and\* host, all the alerting profiles in the \*host\* also attached to the problem.

I tried to filter it by adding a tag called “service” to all of the services and a rule to the alerting profile that says “only include entities that have all tags” and the relevant tag and the “service” tag (which of course the host doesnt have the “service” tag") but it didnt work.

Any ideas?

Thanks in advance.

---

<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:** [November 26, 2024, 2:11pm UTC](https://community.dynatrace.com/t/problem-alerting-profile-issue/49066/2 "2024-11-26T14:11:56Z")

</div>

Hi,

Can you define another dimension in metric event? What do you try to achieve with that metric event?

Best regards

---

<div class="post-metadata">

**Author:** ![kobkob](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kobkob](https://community.dynatrace.com/u/kobkob)\
**Post date:** [November 26, 2024, 2:22pm UTC](https://community.dynatrace.com/t/problem-alerting-profile-issue/49066/3 "2024-11-26T14:22:11Z")

</div>

[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;No, I can only add “property” which I’m not sure what is that.

I’m just trying to open a specific problem on the service level, and it works, but the issue is with the alerting profile attached.

---

<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:** [November 26, 2024, 5:38pm UTC](https://community.dynatrace.com/t/problem-alerting-profile-issue/49066/4 "2024-11-26T17:38:12Z")

</div>

Hi,

You can add a property to metric event, and create some negate condition in alerting profile base on that property.

1. Adding property “X” to metric event.
2. Adding negate property filter in alerting profiles.

Best regards

---

<div class="post-metadata">

**Author:** ![kobkob](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kobkob](https://community.dynatrace.com/u/kobkob)\
**Post date:** [November 26, 2024, 7:03pm UTC](https://community.dynatrace.com/t/problem-alerting-profile-issue/49066/5 "2024-11-26T19:03:09Z")

</div>

[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;Sure, but the question is what. Can you give an example?

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [November 27, 2024, 9:10am UTC](https://community.dynatrace.com/t/problem-alerting-profile-issue/49066/6 "2024-11-27T09:10:13Z")

</div>

Hello&nbsp;[@kobkob](https://community.dynatrace.com/user/66137)

In addition to the suggestion provided by&nbsp;[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;, PFA Resources for resolution:

- [Problem alerting profiles — Dynatrace Docs](https://docs.dynatrace.com/docs/analyze-explore-automate/notifications-and-alerting/alerting-profiles)
- [Metric events — Dynatrace Docs](https://docs.dynatrace.com/docs/discover-dynatrace/platform/davis-ai/anomaly-detection/set-up-a-customized-anomaly-detector/how-to-set-up/metric-events)
- [Metric selector events — Dynatrace Docs](https://docs.dynatrace.com/docs/discover-dynatrace/platform/davis-ai/anomaly-detection/set-up-a-customized-anomaly-detector/how-to-set-up/metric-events/metric-selector-events)
- [Metric events: Set up anomaly detection based on your business needs](https://www.dynatrace.com/news/blog/metric-events-set-up-anomaly-detection-based-on-your-business-needs/)
- [https://www.youtube.com/watch?v=NVuiTwOYHQA](https://www.youtube.com/watch?v=NVuiTwOYHQA)

Hoping it adds value,

BR,

Peter
