diff --git a/public/app/plugins/datasource/azuremonitor/dashboards/adx.json b/public/app/plugins/datasource/azuremonitor/dashboards/adx.json
index db6ebc0998c..0a579f29068 100644
--- a/public/app/plugins/datasource/azuremonitor/dashboards/adx.json
+++ b/public/app/plugins/datasource/azuremonitor/dashboards/adx.json
@@ -1,22 +1,18 @@
{
+ "__inputs": [],
+ "__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
- "version": "7.4.3"
+ "version": "10.4.7"
},
{
"type": "datasource",
"id": "grafana-azure-monitor-datasource",
"name": "Azure Monitor",
- "version": "0.3.0"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
+ "version": "1.0.0"
},
{
"type": "panel",
@@ -29,18 +25,42 @@
"id": "table",
"name": "Table",
"version": ""
+ },
+ {
+ "type": "panel",
+ "id": "timeseries",
+ "name": "Time series",
+ "version": ""
}
],
+ "annotations": {
+ "list": [
+ {
+ "builtIn": 1,
+ "datasource": {
+ "type": "grafana",
+ "uid": "-- Grafana --"
+ },
+ "enable": true,
+ "hide": true,
+ "iconColor": "rgba(0, 211, 255, 1)",
+ "name": "Annotations & Alerts",
+ "type": "dashboard"
+ }
+ ]
+ },
+ "description": "The dashboard provides insights of Azure Data Explorer Cluster Resource overview, key mettrics, usage, tables, cache and ingestion.",
"editable": true,
- "gnetId": null,
+ "fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
- "iteration": 1622241391232,
"links": [],
"panels": [
{
"collapsed": false,
- "datasource": "$ds",
+ "datasource": {
+ "uid": "$ds"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -49,18 +69,29 @@
},
"id": 6,
"panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "uid": "$ds"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Overview",
"type": "row"
},
{
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
- "custom": {},
"mappings": [],
+ "noValue": "-",
"thresholds": {
"mode": "absolute",
"steps": [
@@ -79,7 +110,7 @@
},
"gridPos": {
"h": 5,
- "w": 3,
+ "w": 4,
"x": 0,
"y": 1
},
@@ -94,34 +125,29 @@
"fields": "",
"values": false
},
+ "showPercentChange": false,
"text": {},
- "textMode": "auto"
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "7.4.3",
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n
//the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "KeepAlive",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -163,29 +189,29 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "timeFrom": null,
- "timeShift": null,
"title": "Keep Alive (Avg)",
"type": "stat"
},
{
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
- "custom": {},
"mappings": [],
+ "noValue": "-",
"thresholds": {
"mode": "absolute",
"steps": [
@@ -204,8 +230,8 @@
},
"gridPos": {
"h": 5,
- "w": 3,
- "x": 3,
+ "w": 4,
+ "x": 4,
"y": 1
},
"id": 12,
@@ -219,34 +245,29 @@
"fields": "",
"values": false
},
+ "showPercentChange": false,
"text": {},
- "textMode": "auto"
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "7.4.3",
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Maximum", "Minimum"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "CPU",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -288,29 +309,29 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "timeFrom": null,
- "timeShift": null,
"title": "CPU (Avg)",
"type": "stat"
},
{
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
- "custom": {},
"mappings": [],
+ "noValue": "-",
"thresholds": {
"mode": "absolute",
"steps": [
@@ -329,8 +350,8 @@
},
"gridPos": {
"h": 5,
- "w": 3,
- "x": 6,
+ "w": 4,
+ "x": 8,
"y": 1
},
"id": 13,
@@ -344,34 +365,29 @@
"fields": "",
"values": false
},
+ "showPercentChange": false,
"text": {},
- "textMode": "auto"
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "7.4.3",
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Maximum", "Minimum"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "IngestionUtilization",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -413,29 +429,29 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "timeFrom": null,
- "timeShift": null,
"title": "Ingestion Utilization (Avg) ",
"type": "stat"
},
{
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
- "custom": {},
"mappings": [],
+ "noValue": "-",
"thresholds": {
"mode": "absolute",
"steps": [
@@ -454,8 +470,8 @@
},
"gridPos": {
"h": 5,
- "w": 3,
- "x": 9,
+ "w": 4,
+ "x": 12,
"y": 1
},
"id": 14,
@@ -469,34 +485,29 @@
"fields": "",
"values": false
},
+ "showPercentChange": false,
"text": {},
- "textMode": "auto"
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "7.4.3",
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Maximum", "Minimum"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "IngestionLatencyInSeconds",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -538,29 +549,29 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "timeFrom": null,
- "timeShift": null,
"title": "Ingestion Latency (Avg) ",
"type": "stat"
},
{
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
- "custom": {},
"mappings": [],
+ "noValue": "-",
"thresholds": {
"mode": "absolute",
"steps": [
@@ -579,8 +590,8 @@
},
"gridPos": {
"h": 5,
- "w": 3,
- "x": 12,
+ "w": 4,
+ "x": 16,
"y": 1
},
"id": 15,
@@ -594,34 +605,29 @@
"fields": "",
"values": false
},
+ "showPercentChange": false,
"text": {},
- "textMode": "auto"
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "7.4.3",
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Maximum", "Minimum"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "CacheUtilization",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -663,29 +669,29 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "timeFrom": null,
- "timeShift": null,
"title": "Cache Utilization (Avg)",
"type": "stat"
},
{
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
- "custom": {},
"mappings": [],
+ "noValue": "-",
"thresholds": {
"mode": "absolute",
"steps": [
@@ -704,8 +710,8 @@
},
"gridPos": {
"h": 5,
- "w": 3,
- "x": 15,
+ "w": 4,
+ "x": 20,
"y": 1
},
"id": 16,
@@ -719,27 +725,18 @@
"fields": "",
"values": false
},
+ "showPercentChange": false,
"text": {},
- "textMode": "auto"
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "7.4.3",
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Total"],
"aggregation": "Total",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [
{
@@ -750,8 +747,12 @@
"metricDefinition": "$ns",
"metricName": "IngestionResult",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -793,22 +794,22 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "timeFrom": null,
- "timeShift": null,
"title": "Succeeded Ingestions (#)",
"type": "stat"
},
{
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"description": "The aggregated usage in the cluster, out of the total used CPU and memory. To see more details, go to the Usage tab.",
"fieldConfig": {
"defaults": {
@@ -816,8 +817,12 @@
"mode": "thresholds"
},
"custom": {
- "align": null,
- "filterable": false
+ "align": "auto",
+ "cellOptions": {
+ "type": "auto"
+ },
+ "filterable": false,
+ "inspect": false
},
"mappings": [],
"thresholds": {
@@ -835,179 +840,140 @@
},
"id": 17,
"options": {
+ "cellHeight": "sm",
+ "footer": {
+ "countRows": false,
+ "fields": "",
+ "reducer": ["sum"],
+ "show": false
+ },
"showHeader": true
},
- "pluginVersion": "7.4.3",
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
"azureLogAnalytics": {
+ "dashboardTime": false,
"query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is KustoRunner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand \r\n | where TimeGenerated > datetime(2020-09-09T09:30:00Z) \r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak) \r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State, FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest'\r\n //| where totimespan(TotalCPU) > totimespan(0)\r\n | summarize TotalCPU=max(TotalCPU) \r\n , MemoryPeak=max(MemoryPeak)\r\n by User, ApplicationName, CorrelationId \r\n;\r\nlet totalCPU = toscalar(dataset\r\n | summarize sum((totimespan(TotalCPU) / 1s)));\r\nlet totalMemory = toscalar(dataset\r\n | summarize sum(MemoryPeak));\r\nlet topMemory = \r\n dataset\r\n | top-nested 10000 of User with others=\"Others\" by sum(MemoryPeak), top-nested 10000 of ApplicationName with others=\"Others\" by sum(MemoryPeak)\r\n | extend PercentOfTotalClusterMemoryUsed = aggregated_ApplicationName / toreal(totalMemory)\r\n;\r\nlet topCpu = \r\n dataset\r\n | top-nested 10000 of User with others=\"Others\" by sum(totimespan(TotalCPU) / 1s), top-nested 10000 of ApplicationName with others=\"Others\" by sum(totimespan(TotalCPU) / 1s)\r\n | extend PercentOfTotalClusterCpuUsed = aggregated_ApplicationName / toreal(totalCPU)\r\n;\r\ntopMemory\r\n| join kind = fullouter(topCpu) on User, ApplicationName\r\n| extend BothPercentages = PercentOfTotalClusterMemoryUsed + PercentOfTotalClusterCpuUsed\r\n| top 10 by BothPercentages desc\r\n| extend User = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", strcat(\"Kusto Data Management \", \"(\", User, \")\"),\r\n ApplicationName == \"KustoQueryRunner\", strcat(\"Kusto Query Runner \", \"(\", User, \")\"),\r\n User == \"AAD app id=e0331ea9-83fc-4409-a17d-6375364c3280\", \"DataMap Agent 001 (app id: e0331ea9-83fc-4409-a17d-6375364c3280)\", // Used for internal MS clusters \r\n User)\r\n| extend PercentOfTotalClusterMemoryUsed_display = iff(isnan(PercentOfTotalClusterMemoryUsed * 100), toreal(0), PercentOfTotalClusterMemoryUsed * 100)\r\n| extend PercentOfTotalClusterCpuUsed_display = iff(isnan(PercentOfTotalClusterCpuUsed * 100), toreal(0), PercentOfTotalClusterCpuUsed * 100)\r\n| where not (ApplicationName == \"Others\" and PercentOfTotalClusterMemoryUsed_display == 0 and PercentOfTotalClusterCpuUsed_display == 0)\r\n| project User, ApplicationName, PercentOfTotalClusterMemoryUsed_display, PercentOfTotalClusterCpuUsed_display",
- "resultFormat": "time_series",
- "workspace": "$ws"
- },
- "azureMonitor": {
- "aggOptions": [],
- "dimensionFilter": "*",
- "dimensionFilters": [],
- "metricDefinition": "select",
- "metricName": "select",
- "metricNamespace": "select",
- "resourceGroup": "select",
- "resourceName": "select",
- "timeGrain": "auto",
- "timeGrains": [],
- "top": "10"
- },
- "insightsAnalytics": {
- "query": "",
+ "resources": ["$ws"],
"resultFormat": "time_series"
},
+ "datasource": {
+ "uid": "$ds"
+ },
"queryType": "Azure Log Analytics",
"refId": "A",
"subscription": "$sub"
}
],
- "timeFrom": null,
- "timeShift": null,
"title": "Top resource consumers",
- "transparent": true,
"type": "table"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"description": "Over a sliding timeline window. Not affected by the time range parameter",
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 3,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "short"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 6
},
- "hiddenSeries": false,
"id": 2,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 3,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
"azureLogAnalytics": {
+ "dashboardTime": false,
"query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak) \r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ApplicationName != 'Kusto.WinSvc.DM.Svc'\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ApplicationName != 'Kusto.WinSvc.DM.Svc'\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User,\r\n ApplicationName,\r\n Principal,\r\n TotalCPU,\r\n MemoryPeak,\r\n CorrelationId,\r\n cluster_name;\r\nlet raw = dataset_commands_queries\r\n | where LastUpdatedOn > ago(7d)\r\n | where cluster_name == 'mitulktest'\r\n | where StartedOn > ago(365d)\r\n;\r\nraw\r\n| evaluate activity_engagement(User, StartedOn, 1d, 7d)\r\n| join kind = inner (\r\n raw\r\n | evaluate activity_engagement(User, StartedOn, 1d, 30d)\r\n )\r\n on StartedOn\r\n| project StartedOn, Daily=dcount_activities_inner, Weekly=dcount_activities_outer, Monthly = dcount_activities_outer1 \r\n| where StartedOn > ago(90d)\r\n| project Daily, StartedOn, Weekly, Monthly\r\n| sort by StartedOn asc\r\n",
- "resultFormat": "time_series",
- "workspace": "$ws"
- },
- "azureMonitor": {
- "aggOptions": [],
- "dimensionFilter": "*",
- "dimensionFilters": [],
- "metricDefinition": "select",
- "metricName": "select",
- "metricNamespace": "select",
- "resourceGroup": "select",
- "resourceName": "select",
- "timeGrain": "auto",
- "timeGrains": [],
- "top": "10"
- },
- "insightsAnalytics": {
- "query": "",
+ "resources": ["$ws"],
"resultFormat": "time_series"
},
+ "datasource": {
+ "uid": "$ds"
+ },
"queryType": "Azure Log Analytics",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Unique user count",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
"collapsed": false,
- "datasource": "$ds",
+ "datasource": {
+ "uid": "$ds"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -1016,84 +982,114 @@
},
"id": 19,
"panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "uid": "$ds"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Key Metrics",
"type": "row"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "short"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 0,
"y": 16
},
- "hiddenSeries": false,
"id": 20,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "KeepAlive",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -1135,131 +1131,114 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Keep Alive",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "percent"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 6,
"y": 16
},
- "hiddenSeries": false,
"id": 21,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Maximum", "Minimum"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "CPU",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -1301,131 +1280,114 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "CPU",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "percent",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "percent"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 12,
"y": 16
},
- "hiddenSeries": false,
"id": 22,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Maximum", "Minimum"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "CacheUtilization",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -1467,131 +1429,114 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Cache Utilization",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "percent",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "short"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 18,
"y": 16
},
- "hiddenSeries": false,
"id": 23,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Maximum", "Minimum"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "InstanceCount",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -1633,131 +1578,114 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Instance Count",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "short"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 0,
"y": 26
},
- "hiddenSeries": false,
"id": 24,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Maximum", "Minimum"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "TotalNumberOfConcurrentQueries",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -1799,124 +1727,103 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Concurrent Queries",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "ms"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 6,
"y": 26
},
- "hiddenSeries": false,
"id": 25,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Maximum", "Minimum", "Total"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [
{
@@ -1927,8 +1834,12 @@
"metricDefinition": "$ns",
"metricName": "QueryDuration",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -1970,124 +1881,103 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Query Duration",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "ms"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 12,
"y": 26
},
- "hiddenSeries": false,
"id": 26,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Maximum", "Minimum", "Total"],
"aggregation": "Total",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [
{
@@ -2098,8 +1988,12 @@
"metricDefinition": "$ns",
"metricName": "TotalNumberOfThrottledCommands",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -2141,131 +2035,114 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Throttled Commands",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "short"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 18,
"y": 26
},
- "hiddenSeries": false,
"id": 27,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Maximum", "Minimum", "Total"],
"aggregation": "Maximum",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "TotalNumberOfThrottledQueries",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -2307,131 +2184,114 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Throttled Queries",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "percent"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 0,
"y": 36
},
- "hiddenSeries": false,
"id": 28,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Maximum", "Minimum"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "IngestionUtilization",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -2473,131 +2333,114 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Ingestion Utilization",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "percent",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "s"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 6,
"y": 36
},
- "hiddenSeries": false,
"id": 29,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Maximum", "Minimum"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "IngestionLatencyInSeconds",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -2639,124 +2482,103 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Ingestion Latency",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "short"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 12,
"y": 36
},
- "hiddenSeries": false,
"id": 30,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Total"],
"aggregation": "Total",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [
{
@@ -2767,8 +2589,12 @@
"metricDefinition": "$ns",
"metricName": "IngestionResult",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -2810,124 +2636,103 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Ingestion Result",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "decbytes"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 18,
"y": 36
},
- "hiddenSeries": false,
"id": 31,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": true,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["sum"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Total", "Maximum"],
"aggregation": "Total",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [
{
@@ -2938,8 +2743,12 @@
"metricDefinition": "$ns",
"metricName": "IngestionVolumeInMB",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -2981,131 +2790,114 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Ingestion Volume",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "decbytes"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 0,
"y": 46
},
- "hiddenSeries": false,
"id": 32,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Minimum", "Maximum"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "StreamingIngestDataRate",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -3147,131 +2939,114 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Streaming Ingest Data Rate",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "ms"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 6,
"y": 46
},
- "hiddenSeries": false,
"id": 33,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average", "Minimum", "Maximum"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [],
"metricDefinition": "$ns",
"metricName": "StreamingIngestDuration",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -3313,124 +3088,252 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Streaming Ingest Duration",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "ms"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 10,
"w": 6,
"x": 12,
"y": 46
},
- "hiddenSeries": false,
- "id": 35,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
+ "id": 34,
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
+ "azureMonitor": {
+ "aggOptions": ["None", "Average", "Minimum", "Maximum", "Total", "Count"],
+ "aggregation": "None",
+ "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
+ "dimensionFilters": [],
+ "dimensions": [],
+ "metricDefinition": "$ns",
+ "metricName": "SteamingIngestRequestRate",
+ "metricNamespace": "Microsoft.Kusto/clusters",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
+ "timeGrain": "auto",
+ "timeGrains": [
+ {
+ "text": "auto",
+ "value": "auto"
+ },
+ {
+ "text": "1 minute",
+ "value": "PT1M"
+ },
+ {
+ "text": "5 minutes",
+ "value": "PT5M"
+ },
+ {
+ "text": "15 minutes",
+ "value": "PT15M"
+ },
+ {
+ "text": "30 minutes",
+ "value": "PT30M"
+ },
+ {
+ "text": "1 hour",
+ "value": "PT1H"
+ },
+ {
+ "text": "6 hours",
+ "value": "PT6H"
+ },
+ {
+ "text": "12 hours",
+ "value": "PT12H"
+ },
+ {
+ "text": "1 day",
+ "value": "P1D"
+ }
+ ],
+ "top": "10"
},
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
+ "datasource": {
+ "uid": "$ds"
},
+ "queryType": "Azure Monitor",
+ "refId": "A",
+ "subscription": "$sub"
+ }
+ ],
+ "title": "Streaming Ingest Request Rate",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "short"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 10,
+ "w": 6,
+ "x": 18,
+ "y": 46
+ },
+ "id": 35,
+ "options": {
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "10.4.7",
+ "targets": [
+ {
"azureMonitor": {
"aggOptions": ["Average"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [
{
@@ -3441,8 +3344,12 @@
"metricDefinition": "$ns",
"metricName": "StreamingIngestResults",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -3484,124 +3391,103 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Streaming Ingest Result",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "short"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 56
},
- "hiddenSeries": false,
"id": 36,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Total", "Average", "Minimum", "Maximum"],
"aggregation": "Total",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [
{
@@ -3616,8 +3502,12 @@
"metricDefinition": "$ns",
"metricName": "EventsProcessed",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -3659,124 +3549,103 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Events Processed",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
- "color": {},
- "custom": {},
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
"thresholds": {
"mode": "absolute",
- "steps": []
- }
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "short"
},
"overrides": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 56
},
- "hiddenSeries": false,
"id": 37,
- "legend": {
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": ["mean"],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
- "pluginVersion": "7.4.3",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "pluginVersion": "10.4.7",
"targets": [
{
- "appInsights": {
- "dimension": [],
- "metricName": "select",
- "timeGrain": "auto"
- },
- "azureLogAnalytics": {
- "query": "//change this example to create your own time series query\n //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by , bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
- "resultFormat": "time_series",
- "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
- },
"azureMonitor": {
"aggOptions": ["Average"],
"aggregation": "Average",
"allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
- "dimensionFilter": "*",
"dimensionFilters": [],
"dimensions": [
{
@@ -3791,8 +3660,12 @@
"metricDefinition": "$ns",
"metricName": "DiscoveryLatency",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -3834,59 +3707,22 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Monitor",
"refId": "A",
"subscription": "$sub"
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
"title": "Discovery Latency",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "type": "timeseries"
},
{
"collapsed": false,
- "datasource": "$ds",
+ "datasource": {
+ "uid": "$ds"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -3895,19 +3731,34 @@
},
"id": 40,
"panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "uid": "$ds"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Usage",
"type": "row"
},
{
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
- "align": null,
- "filterable": false
+ "align": "auto",
+ "cellOptions": {
+ "type": "auto"
+ },
+ "filterable": false,
+ "inspect": false
},
"mappings": [],
"thresholds": {
@@ -3925,9 +3776,16 @@
},
"id": 43,
"options": {
+ "cellHeight": "sm",
+ "footer": {
+ "countRows": false,
+ "fields": "",
+ "reducer": ["sum"],
+ "show": false
+ },
"showHeader": true
},
- "pluginVersion": "7.4.3",
+ "pluginVersion": "10.4.7",
"targets": [
{
"appInsights": {
@@ -3936,9 +3794,10 @@
"timeGrain": "auto"
},
"azureLogAnalytics": {
+ "dashboardTime": false,
"query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is KustoRunner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand \r\n | where TimeGenerated > datetime(2020-09-09T09:30:00Z) \r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak) \r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State, FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest'\r\n //| where totimespan(TotalCPU) > totimespan(0)\r\n | summarize TotalCPU=max(TotalCPU) \r\n , MemoryPeak=max(MemoryPeak)\r\n by User, ApplicationName, CorrelationId \r\n;\r\nlet totalCPU = toscalar(dataset\r\n | summarize sum((totimespan(TotalCPU) / 1s)));\r\nlet totalMemory = toscalar(dataset\r\n | summarize sum(MemoryPeak));\r\nlet topMemory = \r\n dataset\r\n | top-nested 10000 of User with others=\"Others\" by sum(MemoryPeak), top-nested 10000 of ApplicationName with others=\"Others\" by sum(MemoryPeak)\r\n | extend PercentOfTotalClusterMemoryUsed = aggregated_ApplicationName / toreal(totalMemory)\r\n;\r\nlet topCpu = \r\n dataset\r\n | top-nested 10000 of User with others=\"Others\" by sum(totimespan(TotalCPU) / 1s), top-nested 10000 of ApplicationName with others=\"Others\" by sum(totimespan(TotalCPU) / 1s)\r\n | extend PercentOfTotalClusterCpuUsed = aggregated_ApplicationName / toreal(totalCPU)\r\n;\r\ntopMemory\r\n| join kind = fullouter(topCpu) on User, ApplicationName\r\n| extend BothPercentages = PercentOfTotalClusterMemoryUsed + PercentOfTotalClusterCpuUsed\r\n| top 10 by BothPercentages desc\r\n| extend User = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", strcat(\"Kusto Data Management \", \"(\", User, \")\"),\r\n ApplicationName == \"KustoQueryRunner\", strcat(\"Kusto Query Runner \", \"(\", User, \")\"),\r\n User == \"AAD app id=e0331ea9-83fc-4409-a17d-6375364c3280\", \"DataMap Agent 001 (app id: e0331ea9-83fc-4409-a17d-6375364c3280)\", // Used for internal MS clusters \r\n User)\r\n| extend PercentOfTotalClusterMemoryUsed_display = iff(isnan(PercentOfTotalClusterMemoryUsed * 100), toreal(0), PercentOfTotalClusterMemoryUsed * 100)\r\n| extend PercentOfTotalClusterCpuUsed_display = iff(isnan(PercentOfTotalClusterCpuUsed * 100), toreal(0), PercentOfTotalClusterCpuUsed * 100)\r\n| where not (ApplicationName == \"Others\" and PercentOfTotalClusterMemoryUsed_display == 0 and PercentOfTotalClusterCpuUsed_display == 0)\r\n| project User, ApplicationName, PercentOfTotalClusterMemoryUsed_display, PercentOfTotalClusterCpuUsed_display",
- "resultFormat": "time_series",
- "workspace": "$ws"
+ "resources": ["$ws"],
+ "resultFormat": "time_series"
},
"azureMonitor": {
"aggOptions": ["Average"],
@@ -3959,8 +3818,12 @@
"metricDefinition": "$ns",
"metricName": "DiscoveryLatency",
"metricNamespace": "Microsoft.Kusto/clusters",
- "resourceGroup": "$rg",
- "resourceName": "$resource",
+ "resources": [
+ {
+ "resourceGroup": "$rg",
+ "resourceName": "$resource"
+ }
+ ],
"timeGrain": "auto",
"timeGrains": [
{
@@ -4002,31 +3865,35 @@
],
"top": "10"
},
- "insightsAnalytics": {
- "query": "",
- "resultFormat": "time_series"
+ "datasource": {
+ "uid": "$ds"
},
"queryType": "Azure Log Analytics",
"refId": "A",
"subscription": "$sub"
}
],
- "timeFrom": null,
- "timeShift": null,
"title": "Top resource consumers (within the CPU and memory consumption of the cluster)",
"transparent": true,
"type": "table"
},
{
- "datasource": "$ds",
+ "datasource": {
+ "type": "grafana-azure-monitor-datasource",
+ "uid": "$ds"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
- "align": null,
- "filterable": false
+ "align": "auto",
+ "cellOptions": {
+ "type": "auto"
+ },
+ "filterable": false,
+ "inspect": false
},
"mappings": [],
"thresholds": {
@@ -4044,9 +3911,16 @@
},
"id": 44,
"options": {
+ "cellHeight": "sm",
+ "footer": {
+ "countRows": false,
+ "fields": "",
+ "reducer": ["sum"],
+ "show": false
+ },
"showHeader": true
},
- "pluginVersion": "7.4.3",
+ "pluginVersion": "10.4.7",
"targets": [
{
"appInsights": {
@@ -4055,9 +3929,10 @@
"timeGrain": "auto"
},
"azureLogAnalytics": {
+ "dashboardTime": false,
"query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak)\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest'\r\n | where CommandType != 'TableSetOrAppend'\r\n | summarize Count=count() by User, ApplicationName\r\n | project User, ApplicationName, Count\r\n | extend User = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", strcat(\"Kusto Data Management \", \"(\", User, \")\"),\r\n User == \"AAD app id=e0331ea9-83fc-4409-a17d-6375364c3280\", \"DataMap Agent 001 (app id: e0331ea9-83fc-4409-a17d-6375364c3280)\", // Used for internal MS clusters\r\n User)\r\n | top 10 by Count;\r\n//| order by Count desc\r\n//