microsoft / microsoft/AzureMonitorCommunity
Disable Alerts after 7 days?
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1.2k
- Forks
- 493
- PR merge metrics
- No merged PRs in 30d
Description
I have a question related to behaviour as seen below.
We deploy about 300 alerts for our customers which are mostly based upon log searches.
I gave read that when an alert rule is failing for 7 days it gets disabled automatically.
As I understood the documentation this also happens when the syntax of the query is ok but if the table/column does not yet exist in log analytics.
Since we bootstrap our environments with all these alerts it could obviously be that a customer will not deploy all the resources that have an alert within a 7 day period. It could take months for somebody to actually deploy an AKS cluster for example.
Is the "7 day disable automation by MS" applicable to:
- v1 and v2 alert rules
Is there a way to prevent this from happening?
Did I understand the mechanism correctly?
"alert 123 is disabled by the System due to : Alert has been failing consistently with the same exception for the past week"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the issue's questions about Azure Monitor alert rules, the seven-day failure disablement, and differences between v1 and v2 rules. Check the relevant Azure Monitor documentation and record whether the behavior applies, how missing tables or columns are treated, and whether it can be prevented; done means each question has a clear documented answer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud, observability
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100