Application Insights 分析让运营商

Application Insights analytics Let operator

以下查询有什么问题?:

let errIds = exceptions
| where operation_Name == "My Special Operation" 
| summarize by operation_Id
traces
| where operation_Name == "My Special Operation" and operation_Id !in (errIds)
| summarize count() by operation_Id 

我正在尝试获取未生成异常的操作...

要获取未生成异常的跟踪,如何使用 exceptions 执行 join,如下所示。将 join 的种类设置为 anti 以便它获得 所有没有任何关联异常的跟踪 .

traces
    | where operation_Name == "My Special Operation"
    | join kind=anti (exceptions) on operation_Id
    | summarize count() by operation_Id 

实际上,我只缺少 let 语句后的 ;