Condividi tramite


Query per la tabella ACSChatIncomingOperations

Operazioni di chat

Restituisce tutte le combinazioni distinte di coppie di operazioni di chat e di versione.

ACSChatIncomingOperations
| distinct OperationName, OperationVersion 
| limit 100

Calcolare i percentile della durata dell'operazione di chat

Calcola il 90°, il 95° e il 99° percentile di durata dell'esecuzione in millisecondi per ogni operazione di chat. Può essere personalizzato per l'esecuzione per una singola operazione o per altri percentile.

ACSChatIncomingOperations
// 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

Primi 5 indirizzi IP per ogni operazione di chat

Per ogni operazione di chat recuperare i 5 indirizzi IP che hanno chiamato tale operazione la maggior parte.

ACSChatIncomingOperations
// | 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

Errori operativi della chat

Elencare ogni errore di chat ordinato in base alla recency.

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

Conteggi dei risultati dell'operazione chat

Per ogni operazione di chat, contare i tipi di risultati restituiti.

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