question

msftsyn7270 avatar image
1 Vote"
msftsyn7270 asked MartinJaffer-MSFT commented

Configuring Alert Rules to Not Send Secondary Resolved Notification

We have set up an alert rule to notify us when a pipeline has failed in our synapse works (when pipeline failure > 0). The evaluation is based on a period of 5 minutes with a frequency of evaluation every 1 minute. The set up works well in notifying us of a pipeline failure; the only caveat is it sends us another notification once the pipeline failure = 0 again. We are looking for a way to modify the alert to NOT send the second notification that states everything is resolved. One thing to note is in our case we want to use alert rules and not Azure Monitor. If you have any thoughts or ideas, they would be much appreciated. Thanks!!

azure-synapse-analyticsazure-monitor
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @MoorePaytonE-7270,
Thanks for the ask and using the forum .
Logically this should not be the case . Can you please let us know what is the "Aggregation granuality " set to ?
It could be even better if you can share the Alert snapshot , so that we can try to repro the same .

49576-2020-12-18-17-40-15-configure-signal-logic-microso.png

Thanks
Himanshu


0 Votes 0 ·

Hello @HimanshuSinha-MSFT , Thank you for the response. See below for a snapshot of our alert. When a pipeline failure occurs, we receive a notification for the failure, but then we receive another notification that the failure has been resolved. We would not like to see that second email notification.

49993-synapse-alert1.jpg


50061-synapse-alert2.jpg


0 Votes 0 ·
synapse-alert1.jpg (167.1 KiB)
synapse-alert2.jpg (198.5 KiB)

@HimanshuSinha-MSFT Thanks for your comment on my question. I have provided the Alert snapshot above. Please let me know if you have any questions.

0 Votes 0 ·

@MoorePaytonE-7270 did my answer solve your issue? If it did, please mark as accepted answer, otherwise let me know how I may better assist.

0 Votes 0 ·

@MartinJaffer-MSFT thank you so much for taking the time to respond to my question. I walked through the answer you provided last week and tested; it has been working perfectly ever since. Really appreciate your input.

0 Votes 0 ·

Thank you for the positive feedback. Happy new year!

0 Votes 0 ·

1 Answer

MartinJaffer-MSFT avatar image
0 Votes"
MartinJaffer-MSFT answered

Hello @MoorePaytonE-7270 . I think I have a solution. We can use an action rule to suppress the "resolved" notifications.

  1. Go to your Data Factory in the Azure Portal

  2. Go to the Alerts Blade

  3. Click Manage Actions

52683-toactions.jpg

  1. Select Action rules (preview)

  2. Click New action rule

52632-manageactions.jpg

Now you will see an empty action rule form.
52712-actionruleform.jpg

The "scope" is the Data Factory you want to suppress notifications about. You will have to navigate to it.
For "filter", we want to select "Monitor Conditions equals Resolved"
For "Define on this scope" , select "Suppression".
Then you can edit the "Suppression" config. Since you do not want to receive the email ever again, choose "Suppressed always".
52633-action-rule-suppress.jpg



toactions.jpg (194.5 KiB)
manageactions.jpg (132.8 KiB)
actionruleform.jpg (118.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.