简体   繁体   中英

Send email when an application error occurs in Azure web app

Use case is as soon as an error occurs in application, support team should receive a notification.

Looking for an out of box solution in Azure.

Current system configured for Diagnostic logs with below settings:

  • Application Logging (Blob) - On
  • Logging Level - Error
  • Retention period - X days.

As far as I know, azure app service has Alerts feature. By using this feature, you could define which metrics will send the email.

About how to use it, you could refer to below images:

1.Find the alters in your from azure portal app service.

在此处输入图片说明

2.Click add alerts

在此处输入图片说明

3.Define alert rule

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM