cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Send an email when the value of a certain metric is below "x"

gcasanovas
Visitor

Hello!

I'm trying to create an alert based on the value of a metric. The goal is to trigger an email notification whenever the metric falls below 80%. Based on what I've gathered from the documentation and community discussions, the following steps seem to be the correct approach. However, something might be missing, as I haven't been able to get it working.

I’d really appreciate any help or guidance. Thanks in advance!

Note: I'm trying to test the implementation by sending metrics below the specified value.

The steps I'm following:

  • Creation of the metric, with an specific Tag that will be used in the metric event to be filtered by.

metric.png

  • Creation of an alert profile, with a custom alert to include only entities that have the tag specified in the previous step.

alert_profile.png

  • Creation of the email notification, with the alert profile attached.

email_alert.png

  • Creation of a metric event with the specified metric and threshold.

metric_event_1.png

metric_event_2.png

metric_event_3.png

 

2 REPLIES 2

Mizső
DynaMight Guru
DynaMight Guru

Hi @gcasanovas,

Have you seen the opened problem (in the PROBLEM view?)  about this issue when you generate the test data? Have you simulated it in the metric event (1day? 3 day? 7 day?) Have you seen something during the alert simulation? 

I think the problem is that you can not use the metric tag for filter the alerting.

Delete the dimenional filter from the metric event, delete all tag filters from alerting profile.

Put some idetifier to the metric event title or description and then use an event filter in the alerting profile (Custom not predefined) for the title or description.

I hope it helps.

Best regards,

János

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

Hi @Mizső ,

Simplifying all the steps, such as removing filters and tags helped. I didn't know that the errors should appear in Problems. I still would like to have some additional customization on the specific custom metric but I will figure it out.

Thanks a lot for your help! 🙂

Regards,

Gerard

Featured Posts