发生Azure功能故障,要创建哪个App Insights Alert? [英] Azure Function failures occurring, which App Insights Alert to create?

查看:79
本文介绍了发生Azure功能故障,要创建哪个App Insights Alert?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

E!整个上午进行故障排除无济于事.

Eh! Troubleshooting this all morning to no avail.

背景:

  • 内容:Azure功能
  • 运行时:Python
  • 触发:带有高级过滤器的EventGrid
  • 高级过滤器(注意:最近30天内工作正常):
  • 订阅:存储帐户;仅Blob上传
  • Auth:系统分配的托管身份(功能SAMI作为 BlobDataReader 角色添加到存储帐户"
  • 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)

问题:

  • 将.csv文件上传到Blob容器不会触发功能
  • 以及各种"ClientOtherError"和"AuthenticationError"消息显示在请求分解"中.刀片

问题:

  1. 这些新错误是什么?
  2. 如何创建可捕获它们的App Insight警报?

推荐答案

创建针对天蓝色函数错误的应用程序洞察警报很简单.

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

您应该知道,所有错误都将流入应用程序见解中的 exceptions表.创建警报时,应选择自定义日志搜索作为信号.接下来,您可以编写查询以查询例外表中的错误.

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.

这篇关于发生Azure功能故障,要创建哪个App Insights Alert?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆