Created
February 16, 2022 18:32
-
-
Save thdotnet/83bc3da9fca5fb183c0a295bd7ffe067 to your computer and use it in GitHub Desktop.
kusto query samples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies | |
| extend contextId = tostring(customDimensions["ProcessFunction-Context ID"]) | |
| extend rowsCount = toint(customDimensions["ProcessFunction-Context ID|RowsCount"]) | |
| extend processedCount = toint(customDimensions["ProcessFunction-RowsInjected"]) | |
| where contextId == "d459341f-5d68-469e-bec1-27090bda91dc" | |
| project rowsCount, processedCount, timestamp | |
| render columnchart kind=unstacked | |
dependencies | |
| extend parentId = tostring(customDimensions["ChangeFeedProcessor-Context ID"]) | |
| where target == "ChangeFeedProcessor" | |
| where success == "True" | |
| where parentId == "d459341f-5d68-469e-bec1-27090bda91dc" | |
| count | |
dependencies | |
| extend contextId = tostring(customDimensions["ChangeFeedProcessor-Context ID"]) | |
| where target == "ChangeFeedProcessor" | |
| where success == "False" | |
| where contextId == "d459341f-5d68-469e-bec1-27090bda91dc" | |
| count | |
dependencies | |
| extend contextId = tostring(customDimensions["ChangeFeedProcessor-Context ID"]) | |
| where target == "ChangeFeedProcessor" | |
| where success == "False" | |
| where contextId == "d459341f-5d68-469e-bec1-27090bda91dc" | |
| project customDimensions["ChangeFeedProcessor-Error"], | |
customDimensions["ChangeFeedProcessor-Stack Trace"], | |
timestamp | |
https://docs.microsoft.com/en-us/azure/data-explorer/kusto/api/netfx/about-kusto-data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment