Azure Function failures occurring, which App Insights Alert to create?

时间秒杀一切 提交于 2021-02-11 18:26:45

问题


Eh! Troubleshooting this all morning to no avail.

Background:

  • What: Azure Function
  • Runtime: Python
  • Trigger: EventGrid w/ Advanced Filters
  • Advanced Filters (NOTE: Working just fine for last 30+ days):
  • Subscribed to: Storage Account; blob upload only
  • Auth: System-assigned Managed Identity (Function SAMI added as BlobDataReader role to Storage Account)

Issue:

  • Uploading .csv files to blob container does not trigger the Function
  • AND various "ClientOtherError" and "AuthenticationError" messages are shown in "Request Breakdown" blade

Questions:

  1. What are these new errors?
  2. How do I create an App Insight alert that catches them?

回答1:


It's simple to create an application insights alert for an azure function error.

You should know that all the errors will flow into the exceptions table in application insights. When create an alert, you should choose the custom log search as signal. next, you can write a query to query the errors from exceptions table.



来源:https://stackoverflow.com/questions/65635640/azure-function-failures-occurring-which-app-insights-alert-to-create

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!