Azure / azure-monitor-baseline-alerts

Azure Monitor Baseline Alerts
MIT License
163 stars 237 forks source link

Add a trigger value as a parameter in json configuration #333

Closed ChrisPolewiak closed 1 month ago

ChrisPolewiak commented 1 month ago

https://github.com/Azure/azure-monitor-baseline-alerts/blob/b367149b2b09d78054155fc52a15b72d4c8b8b37/services/Cdn/profiles/Deploy-CDNP-Percentage4XX-Alert.json#L188

Brunoga-MS commented 1 month ago

Hello @ChrisPolewiak , thanks for your feedback. Could you please expand a bit more on the problem and the change you would like to propose?

Thanks, Bruno.

ChrisPolewiak commented 1 month ago

There is a feature in Alert Rule Details to do not automatically resolve alerts. [cid:05af522c-64ed-43c5-9546-6f33c4c181a0]

Sometime, when an issue happens more than one time per day, it generates more than one Alert - so we have double info for an incident. Having this option disabled we will have only one instance of alert until we will resolve it manually...

Brunoga-MS commented 1 month ago

Hello @ChrisPolewiak , the feature you are talking about is already a parameter. We have the *AutoMitigate which controls exactly what you are looking for and it is normally set to True but can change its value in the parameter file for the alerts you need.

image image

We also have the EvaluationPeriods and FailingPeriods that control the number of time a failure needs to happen in a given time range before firing the alert

image image

Let me know if this bring clarity and addresses your request.

Thanks, Bruno.

Brunoga-MS commented 1 month ago

Hello @ChrisPolewiak , was my answer of help? Let me know if we can consider this issue resolved or if it need more attention.

Thanks, Bruno.

ChrisPolewiak commented 1 month ago

Yes. Of course. we can close the issue :) Thanks a lot.