以下查询有什么问题?:
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
我试图获取未产生异常的操作......
答案 0 :(得分:1)
要获取未生成异常的跟踪,请如何使用exceptions
执行join
,如下所示。将join
的类型设置为anti
,以使其所有没有任何相关例外的跟踪。
traces
| where operation_Name == "My Special Operation"
| join kind=anti (exceptions) on operation_Id
| summarize count() by operation_Id
答案 1 :(得分:1)
实际上,在;
声明
let