оповещения по электронной почте для Azure Logi c не удалось запустить приложение - PullRequest
0 голосов
/ 13 июля 2020

Мне нужно уведомление по электронной почте для каждого запуска приложения logi c со статусом Failed, как показано на скриншоте ниже. enter image description here

I tried to configure Runs Failed alerts in logic app but things are not very clear to me. what should be the excect entry for Threshold value, Operator , aggression type, Period and frequency to get alert notification on every failed run. введите описание изображения здесь

1 Ответ

1 голос
/ 14 июля 2020

Для этого требования, я думаю, вы можете выбрать Static в « Threshold » и установить условие как Great than Count 0. В « Оценивается на основе » вы можете установить 5 минут как « Гранулярность агрегирования (период) » и установить 5 минут как « Частота оценки ». Как показано на скриншоте ниже:

enter image description here

The "Evaluated based on" you choose as 24hours and every 5 minutes is not particularly good. Because once the alert triggered, its "Monitor condition" will become "fired", and if it hasn't been solved, the alert will not be triggered again.(For example, your logic failed on 1:00, the alert will be triggered in 5 minutes. But it will not be triggered again if there is a failure during the last 24 hour when evaluate every 5 minutes).

By the way, you can also test it by yourself. You can create a logic app as below, it is allowed to be saved and will fail when run it.

введите описание изображения здесь

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...