2017-05-30 83 views
1

什麼是錯用下面的查詢?:應用洞察分析讓運營商

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 

我試圖讓這並不會產生異常操作...

回答

1

其實,我身上缺少let語句之後是;

1

要獲得沒痕跡」 t會產生一個異常,如何做joinexceptions如下所示。將join的種類設置爲anti,以便獲取所有沒有任何關聯例外的跟蹤

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