Dela via


Frågor för tabellen ACSJobRouterIncomingOperations

Information om hur du använder dessa frågor i Azure-portalen finns i Log Analytics-självstudien. Information om REST-API:et finns i Fråga.

Operationer för jobbrouter

Returnerar alla distinkta kombinationer av jobbrouteråtgärder och versionspar.

ACSJobRouterIncomingOperations
| distinct OperationName, OperationVersion 
| limit 100

Beräkna driftstidsprocentiler för Job Router

Beräknar den 90:e, 95:e och 99:e percentilen av körtidens varaktighet i millisekunder för varje chattoperation. Det kan anpassas för att köras för en enda operation eller för andra procentiler.

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

De 5 främsta IP-adresserna per jobbrouteråtgärd

För varje jobbrouter-åtgärd, hämta de fem IP-adresser som har använt den åtgärden mest.

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

Driftfel för Jobbrouter

Lista alla jobbrouterfel i ordning efter senaste.

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

Resultaträkning för jobbrouteråtgärd

Räkna typerna av returnerade resultat för varje jobbrouteråtgärd.

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