DWSummary Workbook updated to split standalone and workspace pools

This commit is contained in:
Nick Salch 2023-02-08 14:57:48 -08:00
Родитель 411ec27dc7
Коммит 234528a51f
5 изменённых файлов: 906 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,906 @@
{
"version": "Notebook/1.0",
"items": [
{
"type": 9,
"content": {
"version": "KqlParameterItem/1.0",
"crossComponentResources": [
"{Subscriptions}"
],
"parameters": [
{
"id": "15a2c4b1-1223-428f-80a0-53ec8e8e86a5",
"version": "KqlParameterItem/1.0",
"name": "TimeRange",
"type": 4,
"isRequired": true,
"value": {
"durationMs": 604800000
},
"typeSettings": {
"selectableValues": [
{
"durationMs": 300000
},
{
"durationMs": 900000
},
{
"durationMs": 1800000
},
{
"durationMs": 3600000
},
{
"durationMs": 14400000
},
{
"durationMs": 43200000
},
{
"durationMs": 86400000
},
{
"durationMs": 172800000
},
{
"durationMs": 259200000
},
{
"durationMs": 604800000
},
{
"durationMs": 1209600000
},
{
"durationMs": 2419200000
},
{
"durationMs": 2592000000
},
{
"durationMs": 5184000000
},
{
"durationMs": 7776000000
}
],
"allowCustom": true
}
},
{
"id": "bc3b3200-d39a-4d72-adc3-8473457d9b30",
"version": "KqlParameterItem/1.0",
"name": "Subscriptions",
"type": 6,
"isRequired": true,
"multiSelect": true,
"quote": "'",
"delimiter": ",",
"value": [
"value::all"
],
"typeSettings": {
"additionalResourceOptions": [
"value::1",
"value::all"
],
"includeAll": false
}
}
],
"style": "pills",
"queryType": 1,
"resourceType": "microsoft.resourcegraph/resources"
},
"name": "parameters - 1"
},
{
"type": 11,
"content": {
"version": "LinkItem/1.0",
"style": "tabs",
"links": [
{
"id": "d29d564f-9326-433b-8b87-678461724323",
"cellValue": "objectType",
"linkTarget": "parameter",
"linkLabel": "Dedicated Pools",
"subTarget": "dedicated",
"style": "link"
}
]
},
"name": "links - 6"
},
{
"type": 12,
"content": {
"version": "NotebookGroup/1.0",
"groupType": "editable",
"items": [
{
"type": 11,
"content": {
"version": "LinkItem/1.0",
"style": "tabs",
"links": [
{
"id": "933d2413-fcd3-4a62-827d-de0aeefd2632",
"cellValue": "selectedTab",
"linkTarget": "parameter",
"linkLabel": "Synapse Dedicated Pools",
"subTarget": "synapseDP",
"preText": "selec",
"style": "link"
},
{
"id": "e821e971-adcf-4c8b-8cf8-47bf91576670",
"cellValue": "selectedTab",
"linkTarget": "parameter",
"linkLabel": "Standalone Dedicated Pools",
"subTarget": "standaloneDP",
"style": "link"
}
]
},
"name": "links - 3"
},
{
"type": 9,
"content": {
"version": "KqlParameterItem/1.0",
"crossComponentResources": [
"{Subscriptions}"
],
"parameters": [
{
"id": "8998a008-ea1b-4f4b-bcc2-44e15deba715",
"version": "KqlParameterItem/1.0",
"name": "SQLDWDBs",
"label": "Standalone Pools",
"type": 5,
"isRequired": true,
"multiSelect": true,
"quote": "'",
"delimiter": ",",
"query": "resources \r\n| where type =~ 'microsoft.sql/servers/databases'\r\n| where sku has \"DataWarehouse\"\r\n| where resourceGroup !startswith \"synapseworkspace-managedrg-\" \r\n| where resourceGroup !startswith \"workspacemanagedrg-\"\r\n| project id",
"crossComponentResources": [
"{Subscriptions}"
],
"typeSettings": {
"additionalResourceOptions": [
"value::1",
"value::10",
"value::all"
],
"showDefault": false
},
"timeContext": {
"durationMs": 0
},
"timeContextFromParameter": "TimeRange",
"defaultValue": "value::all",
"queryType": 1,
"resourceType": "microsoft.resourcegraph/resources",
"value": [
"value::all"
]
}
],
"style": "pills",
"queryType": 1,
"resourceType": "microsoft.resourcegraph/resources"
},
"conditionalVisibility": {
"parameterName": "selectedTab",
"comparison": "isEqualTo",
"value": "standaloneDP"
},
"name": "Parameters - SQL DW"
},
{
"type": 9,
"content": {
"version": "KqlParameterItem/1.0",
"crossComponentResources": [
"{Subscriptions}"
],
"parameters": [
{
"id": "b8eda6e3-e18a-47bc-9d3f-8df41a29a95c",
"version": "KqlParameterItem/1.0",
"name": "SynapseDedicatedPools",
"type": 5,
"multiSelect": true,
"quote": "'",
"delimiter": ",",
"query": "resources\r\n| where type == \"microsoft.synapse/workspaces/sqlpools\"\r\n| project id",
"crossComponentResources": [
"{Subscriptions}"
],
"typeSettings": {
"additionalResourceOptions": [
"value::10",
"value::all"
],
"showDefault": false
},
"timeContext": {
"durationMs": 0
},
"timeContextFromParameter": "TimeRange",
"defaultValue": "value::all",
"queryType": 1,
"resourceType": "microsoft.resourcegraph/resources",
"value": [
"value::all"
]
}
],
"style": "pills",
"queryType": 1,
"resourceType": "microsoft.resourcegraph/resources"
},
"conditionalVisibility": {
"parameterName": "selectedTab",
"comparison": "isEqualTo",
"value": "synapseDP"
},
"name": "Parameters - SQL DW - Copy"
},
{
"type": 12,
"content": {
"version": "NotebookGroup/1.0",
"groupType": "editable",
"items": [
{
"type": 10,
"content": {
"chartId": "workbookf1358ff0-0e10-4ac2-ab2d-2fdfdb74dc2f",
"version": "MetricsItem/2.0",
"size": 2,
"chartType": 0,
"resourceType": "microsoft.synapse/workspaces/sqlpools",
"metricScope": 0,
"resourceParameter": "SynapseDedicatedPools",
"resourceIds": [
"{SynapseDedicatedPools}"
],
"timeContextFromParameter": "TimeRange",
"timeContext": {
"durationMs": 604800000
},
"metrics": [
{
"namespace": "microsoft.synapse/workspaces/sqlpools",
"metric": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-DWULimit",
"aggregation": 3
},
{
"namespace": "microsoft.synapse/workspaces/sqlpools",
"metric": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-DWUUsedPercent",
"aggregation": 3
},
{
"namespace": "microsoft.synapse/workspaces/sqlpools",
"metric": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-CPUPercent",
"aggregation": 3
},
{
"namespace": "microsoft.synapse/workspaces/sqlpools",
"metric": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-LocalTempDBUsedPercent",
"aggregation": 3
},
{
"namespace": "microsoft.synapse/workspaces/sqlpools",
"metric": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-ActiveQueries",
"aggregation": 1
},
{
"namespace": "microsoft.synapse/workspaces/sqlpools",
"metric": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-QueuedQueries",
"aggregation": 1
},
{
"namespace": "microsoft.synapse/workspaces/sqlpools",
"metric": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-AdaptiveCacheHitPercent",
"aggregation": 3
},
{
"namespace": "microsoft.synapse/workspaces/sqlpools",
"metric": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-AdaptiveCacheUsedPercent",
"aggregation": 3
}
],
"gridSettings": {
"formatters": [
{
"columnMatch": "$gen_group",
"formatter": 13,
"formatOptions": {
"linkTarget": "Resource",
"showIcon": true
}
},
{
"columnMatch": "Group",
"formatter": 13,
"formatOptions": {
"linkTarget": "Resource",
"showIcon": true
}
},
{
"columnMatch": "Subscription",
"formatter": 13,
"formatOptions": {
"linkTarget": "Resource",
"showIcon": true
}
},
{
"columnMatch": "Name",
"formatter": 5,
"formatOptions": {
"linkTarget": "Resource"
}
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-DWULimit",
"formatter": 8,
"formatOptions": {
"palette": "magenta"
}
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-DWULimit Timeline",
"formatter": 5
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-DWUUsedPercent",
"formatter": 8,
"formatOptions": {
"min": 0,
"max": 100,
"palette": "greenRed"
}
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-DWUUsedPercent Timeline",
"formatter": 21,
"formatOptions": {
"palette": "blue"
}
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-CPUPercent",
"formatter": 8,
"formatOptions": {
"min": 0,
"max": 100,
"palette": "greenRed"
}
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-CPUPercent Timeline",
"formatter": 5
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-LocalTempDBUsedPercent",
"formatter": 8,
"formatOptions": {
"min": 0,
"max": 100,
"palette": "greenRed"
}
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-LocalTempDBUsedPercent Timeline",
"formatter": 21,
"formatOptions": {
"palette": "yellow"
}
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-ActiveQueries",
"formatter": 1,
"numberFormat": {
"unit": 0,
"options": null
}
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-ActiveQueries Timeline",
"formatter": 5
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-QueuedQueries",
"formatter": 1,
"numberFormat": {
"unit": 0,
"options": null
}
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-QueuedQueries Timeline",
"formatter": 5
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-AdaptiveCacheHitPercent",
"formatter": 8,
"formatOptions": {
"min": 50,
"max": 100,
"palette": "redGreen"
}
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-AdaptiveCacheHitPercent Timeline",
"formatter": 5
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-AdaptiveCacheUsedPercent",
"formatter": 8,
"formatOptions": {
"min": 0,
"max": 100,
"palette": "greenRed"
}
},
{
"columnMatch": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-AdaptiveCacheUsedPercent Timeline",
"formatter": 5
}
],
"rowLimit": 10000,
"filter": true,
"hierarchySettings": {
"treeType": 1,
"groupBy": [
"Subscription"
],
"expandTopLevel": true,
"finalBy": "Name"
},
"labelSettings": [
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-DWULimit",
"label": "DWU"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-DWULimit Timeline",
"label": "DWU limit Timeline"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-DWUUsedPercent",
"label": "DWU (Max)"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-DWUUsedPercent Timeline",
"label": "DWU Timeline"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-CPUPercent",
"label": "CPU (Max)"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-CPUPercent Timeline",
"label": "CPU used percentage Timeline"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-LocalTempDBUsedPercent",
"label": "Tempdb (Max)"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-LocalTempDBUsedPercent Timeline",
"label": "Tempdb Timeline"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-ActiveQueries",
"label": "Total Queries"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-ActiveQueries Timeline",
"label": "Query Timeline"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-QueuedQueries",
"label": "Total Queued"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-QueuedQueries Timeline",
"label": "Queued queries Timeline"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-AdaptiveCacheHitPercent",
"label": "Cache hit percentage (Max)"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-AdaptiveCacheHitPercent Timeline",
"label": "Adaptive cache hit percentage Timeline"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-AdaptiveCacheUsedPercent",
"label": "Cache used percentage (Max)"
},
{
"columnId": "microsoft.synapse/workspaces/sqlpools-SQL dedicated pool-AdaptiveCacheUsedPercent Timeline",
"label": "Adaptive cache used percentage Timeline"
}
]
},
"sortBy": []
},
"showPin": true,
"name": "Metrics - SQL DW DTU/CPU"
}
]
},
"conditionalVisibility": {
"parameterName": "selectedTab",
"comparison": "isEqualTo",
"value": "synapseDP"
},
"name": "SynapseGroup"
},
{
"type": 12,
"content": {
"version": "NotebookGroup/1.0",
"groupType": "editable",
"items": [
{
"type": 10,
"content": {
"chartId": "workbookf1358ff0-0e10-4ac2-ab2d-2fdfdb74dc2f",
"version": "MetricsItem/2.0",
"size": 2,
"chartType": 0,
"resourceType": "microsoft.sql/servers/databases",
"metricScope": 0,
"resourceParameter": "SQLDWDBs",
"resourceIds": [
"{SQLDWDBs}"
],
"timeContextFromParameter": "TimeRange",
"timeContext": {
"durationMs": 604800000
},
"metrics": [
{
"namespace": "microsoft.sql/servers/databases",
"metric": "microsoft.sql/servers/databases-Basic-dwu_limit",
"aggregation": 3,
"columnName": "DWU"
},
{
"namespace": "microsoft.sql/servers/databases",
"metric": "microsoft.sql/servers/databases-Basic-dwu_consumption_percent",
"aggregation": 3
},
{
"namespace": "microsoft.sql/servers/databases",
"metric": "microsoft.sql/servers/databases-Basic-cpu_percent",
"aggregation": 3
},
{
"namespace": "microsoft.sql/servers/databases",
"metric": "microsoft.sql/servers/databases-Basic-physical_data_read_percent",
"aggregation": 3
},
{
"namespace": "microsoft.sql/servers/databases",
"metric": "microsoft.sql/servers/databases-Basic-local_tempdb_usage_percent",
"aggregation": 3,
"columnName": "TempDB Usage"
},
{
"namespace": "microsoft.sql/servers/databases",
"metric": "microsoft.sql/servers/databases-Basic-active_queries",
"aggregation": 1
},
{
"namespace": "microsoft.sql/servers/databases",
"metric": "microsoft.sql/servers/databases-Basic-queued_queries",
"aggregation": 1
}
],
"gridSettings": {
"formatters": [
{
"columnMatch": "$gen_group",
"formatter": 13,
"formatOptions": {
"linkTarget": "Resource",
"showIcon": true
}
},
{
"columnMatch": "Group",
"formatter": 13,
"formatOptions": {
"linkTarget": "Resource",
"showIcon": true
}
},
{
"columnMatch": "Subscription",
"formatter": 13,
"formatOptions": {
"linkTarget": "Resource",
"showIcon": true
}
},
{
"columnMatch": "Name",
"formatter": 5
},
{
"columnMatch": "DWU",
"formatter": 8,
"formatOptions": {
"palette": "magenta"
}
},
{
"columnMatch": "DWU Timeline",
"formatter": 5
},
{
"columnMatch": "microsoft.sql/servers/databases-Basic-dwu_consumption_percent",
"formatter": 8,
"formatOptions": {
"min": 0,
"max": 100,
"palette": "greenRed"
},
"numberFormat": {
"unit": 1,
"options": {
"style": "decimal",
"useGrouping": false
}
}
},
{
"columnMatch": "microsoft.sql/servers/databases-Basic-dwu_consumption_percent Timeline",
"formatter": 21,
"formatOptions": {
"palette": "blue"
}
},
{
"columnMatch": "microsoft.sql/servers/databases-Basic-cpu_percent",
"formatter": 8,
"formatOptions": {
"min": 0,
"max": 100,
"palette": "greenRed"
},
"numberFormat": {
"unit": 1,
"options": {
"style": "decimal"
}
}
},
{
"columnMatch": "microsoft.sql/servers/databases-Basic-cpu_percent Timeline",
"formatter": 5
},
{
"columnMatch": "microsoft.sql/servers/databases-Basic-physical_data_read_percent",
"formatter": 8,
"formatOptions": {
"min": 0,
"max": 100,
"palette": "greenRed"
},
"numberFormat": {
"unit": 1,
"options": {
"style": "decimal"
}
}
},
{
"columnMatch": "microsoft.sql/servers/databases-Basic-physical_data_read_percent Timeline",
"formatter": 5
},
{
"columnMatch": "TempDB Usage",
"formatter": 8,
"formatOptions": {
"min": 0,
"max": 100,
"palette": "greenRed"
}
},
{
"columnMatch": "TempDB Usage Timeline",
"formatter": 21,
"formatOptions": {
"palette": "red"
}
},
{
"columnMatch": "microsoft.sql/servers/databases-Basic-active_queries",
"formatter": 1,
"numberFormat": {
"unit": 0,
"options": null
}
},
{
"columnMatch": "microsoft.sql/servers/databases-Basic-active_queries Timeline",
"formatter": 5
},
{
"columnMatch": "microsoft.sql/servers/databases-Basic-queued_queries",
"formatter": 8,
"formatOptions": {
"min": 0,
"max": 1024,
"palette": "yellowOrangeRed"
},
"numberFormat": {
"unit": 0,
"options": {
"style": "decimal"
}
}
},
{
"columnMatch": "microsoft.sql/servers/databases-Basic-queued_queries Timeline",
"formatter": 21,
"formatOptions": {
"palette": "yellow"
}
},
{
"columnMatch": "microsoft.sql/servers/databases-Basic-local_tempdb_usage_percent",
"formatter": 21,
"formatOptions": {
"palette": "blue"
},
"numberFormat": {
"unit": 1,
"options": {
"style": "decimal"
}
}
},
{
"columnMatch": "microsoft.sql/servers/databases-Basic-local_tempdb_usage_percent Timeline",
"formatter": 8,
"formatOptions": {
"palette": "blue"
}
},
{
"columnMatch": "microsoft.sql/servers/databases-Basic-dwu_limit",
"formatter": 21,
"formatOptions": {
"palette": "yellow"
},
"numberFormat": {
"unit": 0,
"options": {
"style": "decimal"
}
}
}
],
"rowLimit": 10000,
"filter": true,
"hierarchySettings": {
"treeType": 1,
"groupBy": [
"Subscription"
],
"expandTopLevel": true,
"finalBy": "Name"
},
"sortBy": [
{
"itemKey": "$gen_heatmap_DWU_3",
"sortOrder": 2
}
],
"labelSettings": [
{
"columnId": "DWU",
"label": "DWU"
},
{
"columnId": "DWU Timeline",
"label": "DWU Timeline"
},
{
"columnId": "microsoft.sql/servers/databases-Basic-dwu_consumption_percent",
"label": "DWU (Max)"
},
{
"columnId": "microsoft.sql/servers/databases-Basic-dwu_consumption_percent Timeline",
"label": "DWU percentage Timeline"
},
{
"columnId": "microsoft.sql/servers/databases-Basic-cpu_percent",
"label": "CPU (Max)"
},
{
"columnId": "microsoft.sql/servers/databases-Basic-cpu_percent Timeline",
"label": "CPU percentage Timeline"
},
{
"columnId": "microsoft.sql/servers/databases-Basic-physical_data_read_percent",
"label": "Data IO (Max)"
},
{
"columnId": "microsoft.sql/servers/databases-Basic-physical_data_read_percent Timeline",
"label": "Data IO percentage Timeline"
},
{
"columnId": "TempDB Usage",
"label": "TempDB (Max)"
},
{
"columnId": "TempDB Usage Timeline",
"label": "TempDB Usage Timeline"
},
{
"columnId": "microsoft.sql/servers/databases-Basic-active_queries",
"label": "Total Queries"
},
{
"columnId": "microsoft.sql/servers/databases-Basic-active_queries Timeline",
"label": "Active queries (Sum) Timeline"
},
{
"columnId": "microsoft.sql/servers/databases-Basic-queued_queries",
"label": "Total Queued Queries"
},
{
"columnId": "microsoft.sql/servers/databases-Basic-queued_queries Timeline",
"label": "Queued queries Timeline"
}
]
},
"sortBy": [
{
"itemKey": "$gen_heatmap_DWU_3",
"sortOrder": 2
}
],
"showExportToExcel": true
},
"showPin": true,
"name": "Metrics - SQL DW DTU/CPU"
}
]
},
"conditionalVisibility": {
"parameterName": "selectedTab",
"comparison": "isEqualTo",
"value": "standaloneDP"
},
"name": "standaloneGroup"
}
]
},
"conditionalVisibility": {
"parameterName": "objectType",
"comparison": "isEqualTo",
"value": "dedicated"
},
"name": "Dedicated Pool Group"
}
],
"fallbackResourceIds": [
"Azure Monitor"
],
"$schema": "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json"
}