Create a threshold for how many times a job can fail before raising an alert.
We have jobs that fire every minute, or every 5 minutes - similar to heartbeat jobs. If the job fails once or twice, we don't care. If it fails 10 times in a row we do care.
iliyan Rashev commented
It would be great if we have that option enabled.
For example you have a regularly executed job(every 15 minutes or every hour) which sometimes fails 2-3 times a day for deadlock issue that is out of your control - it will be of great help if we can put such option for job alerts to prevent multiple alerts generated on each failure.
SQL Data commented
Yes! This would be a fantastic add.