Sdílet prostřednictvím


Dotazy na tabulku ACSJobRouterIncomingOperations

Operace směrovače úloh

Vrátí všechny odlišné kombinace operací směrovače úloh a párů verzí.

ACSJobRouterIncomingOperations
| distinct OperationName, OperationVersion 
| limit 100

Výpočet percentilů doby trvání operace směrovače úloh

Vypočítá 90., 95. a 99. percentil doby trvání spuštění v milisekundách pro každou operaci chatu. Dá se přizpůsobit tak, aby se spouštěla pro jednu operaci nebo pro jiné percentily.

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

Prvních 5 IP adres na operaci směrovače úloh

Pro každou operaci směrovače úloh načtěte 5 IP adres, které tuto operaci volaly nejčastěji.

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

Provozní chyby směrovače úloh

Vypíše všechny chyby směrovače úloh seřazené podle aktuálnosti.

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

Počty výsledků operací směrovače úloh

Pro každou operaci směrovače úloh spočítejte typy vrácených výsledků.

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