Here’s a really simple but powerful query charting the most common exceptions causing requests to fail.
We do this by first getting all the failed requests, and joining them to exceptions according to operation_id.
Then we just chart it using a timechart.
requests
| where timestamp > ago(3d)
| where success == "False"
| project timestamp, duration, id, operation_Id
| join (exceptions
| where timestamp > ago(3d)
| project type, method, operation_Id) on operation_Id
| summarize count() by type, timestamp bin = time(1h)
| render timechart
2 thoughts on “Cool AppInsights Analytics: Charting common exceptions causing failed requests”