Запросы для таблицы 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