Share via


ACSJobRouterIncomingOperations 數據表的查詢

作業路由器作業

傳回作業路由器作業和版本組的所有不同組合。

ACSJobRouterIncomingOperations
| distinct OperationName, OperationVersion 
| limit 100

計算作業路由器作業持續時間百分位數

計算每個聊天作業的 90、95 和第 99 個執行持續時間百分位數,以毫秒為單位。 您可以針對單一作業或其他百分位數自定義它。

ACSJobRouterIncomingOperations
// where OperationName == "<operation>" // This can be uncommented and specified to calculate only a single operation's duration percentiles
| summarize percentiles(DurationMs, 90, 95, 99) by OperationName, OperationVersion // calculate 90th, 95th, and 99th percentiles of each Operation
| limit 100

每個作業路由器作業的前 5 個 IP 位址

針對每個作業路由器作業,擷取最多呼叫該作業的 5 個 IP 位址。

ACSJobRouterIncomingOperations
// | where OperationName == "<operation>" // This can be uncommented and specified to calculate only a single operation's count
| top-nested of OperationName by dummy=max(0), // For all the Operations...
  top-nested 5 of CallerIpAddress by count() // List the IP address that have called that operation the most
| project-away dummy // Remove dummy line from the result set
| limit 100

作業路由器作業錯誤

列出依重新存取排序的每個作業路由器錯誤。

ACSJobRouterIncomingOperations
| where ResultType == "Failed"
| project TimeGenerated, OperationName, OperationVersion, ResultSignature, ResultDescription
| order by TimeGenerated desc
| limit 100

作業路由器作業結果計數

針對每個作業路由器作業,計算傳回結果的類型。

ACSJobRouterIncomingOperations
| summarize Count = count() by OperationName, OperationVersion, ResultType, SdkType, EntityType //, ResultSignature // This can also be uncommented to determine the count of each ResultSignature for each ResultType 
| order by OperationName asc, Count desc
| limit 100