如何监控 Azure 中的连续异常? (库斯托)

How to monitor consecutive exceptions in Azure? (Kusto)

我要监控连续异常

例如,如果我连续收到 'X' 次“500”次异常,我希望它触发一个操作组。

如何在 Kusto 中编写此内容?

我知道如何监控 1 分钟内的异常数量,但我对如何监控连续异常有点困惑。

您正在寻找在 AppInsights

上设置 custom log alert

这里是 step by step guide 如何设置

您可以将以下查询与 Summarize Operator

结合使用
exceptions
| where timestamp >= datetime('2019-01-01')
| summarize min(timestamp) by operation_Id

请使用如下查询:

Exceptions
| summarize count() by xxx

有关汇总运算符的更多详细信息,请参阅此article