mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
401 lines
8.5 KiB
JSON
401 lines
8.5 KiB
JSON
{
|
|
"name": "server-report",
|
|
"displayName": "Server Reports",
|
|
"description": "Server Reports",
|
|
"version": "0.2.4",
|
|
"publisher": "Microsoft",
|
|
"preview": true,
|
|
"engines": {
|
|
"vscode": "^1.26.0",
|
|
"azdata": "*"
|
|
},
|
|
"icon": "images/extension.png",
|
|
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
|
|
"repository": "https://github.com/Microsoft/azuredatastudio",
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"main": "./out/extension",
|
|
"capabilities": {
|
|
"virtualWorkspaces": false,
|
|
"untrustedWorkspaces": {
|
|
"supported": true
|
|
}
|
|
},
|
|
"forceReload": true,
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "tempdb.startEvent",
|
|
"title": "Start",
|
|
"icon": {
|
|
"light": "./dist/media/launch.svg",
|
|
"dark": "./dist/media/launch_inverse.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "tempdb.stopEvent",
|
|
"title": "Stop",
|
|
"icon": {
|
|
"light": "./dist/media/blocker.svg",
|
|
"dark": "./dist/media/blocker_inverse.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "tempdb.contention",
|
|
"title": "Contention Help for Tempdb",
|
|
"icon": {
|
|
"light": "./dist/media/documentation.svg",
|
|
"dark": "./dist/media/documentation_inverse.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "tempdb.pauseEvent",
|
|
"title": "Toggle Auto Refresh",
|
|
"icon": {
|
|
"light": "./dist/media/insights.svg",
|
|
"dark": "./dist/media/insights_inverse.svg"
|
|
}
|
|
}
|
|
],
|
|
"configuration": [],
|
|
"views": {},
|
|
"menus": {},
|
|
"dashboard.tabs": [
|
|
{
|
|
"id": "Server-Reports",
|
|
"title": "Server Reports",
|
|
"description": "This extension shows useful reports for a server.",
|
|
"icon": "images/server_reports.svg",
|
|
"group": "monitoring",
|
|
"container": {
|
|
"nav-section": [
|
|
{
|
|
"id": "server-reports-monitoring",
|
|
"title": "Monitor",
|
|
"icon": {
|
|
"light": "./dist/media/monitor.svg",
|
|
"dark": "./dist/media/monitor_inverse.svg"
|
|
},
|
|
"container": {
|
|
"server-reports-monitoring-container": {}
|
|
}
|
|
},
|
|
{
|
|
"id": "server-reports-performance",
|
|
"title": "Performance",
|
|
"icon": {
|
|
"light": "./dist/media/performance.svg",
|
|
"dark": "./dist/media/performance_inverse.svg"
|
|
},
|
|
"container": {
|
|
"server-reports-performance-container": {}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "server-reports-tempdb-tab",
|
|
"title": "TempDB",
|
|
"group": "monitoring",
|
|
"description": "TempDB reports",
|
|
"icon": {
|
|
"light": "./dist/media/tempdb.svg",
|
|
"dark": "./dist/media/tempdb_inverse.svg"
|
|
},
|
|
"container": {
|
|
"server-reports-tempdb-container": {}
|
|
}
|
|
}
|
|
],
|
|
"dashboard.insights": [
|
|
{
|
|
"id": "extension-dbspace-usage",
|
|
"contrib": {
|
|
"type": {
|
|
"horizontalBar": {
|
|
"dataDirection": "vertical",
|
|
"dataType": "number",
|
|
"legendPosition": "top",
|
|
"labelFirstColumn": false,
|
|
"columnsAsLabels": true
|
|
}
|
|
},
|
|
"queryFile": "./dist/sql/all_db_space_used.sql"
|
|
}
|
|
},
|
|
{
|
|
"id": "extension-cpu-utilization",
|
|
"contrib": {
|
|
"type": {
|
|
"timeSeries": {
|
|
"dataDirection": "horizontal",
|
|
"dataType": "point",
|
|
"legendPosition": "top",
|
|
"labelFirstColumn": false,
|
|
"columnsAsLabels": false
|
|
}
|
|
},
|
|
"queryFile": "./dist/sql/cpumetric.sql"
|
|
}
|
|
},
|
|
{
|
|
"id": "extension-backup-growth-trend",
|
|
"details": "Abbie wants it",
|
|
"contrib": {
|
|
"type": {
|
|
"timeSeries": {
|
|
"dataDirection": "horizontal",
|
|
"dataType": "point",
|
|
"legendPosition": "none",
|
|
"labelFirstColumn": false,
|
|
"columnsAsLabels": false
|
|
}
|
|
},
|
|
"queryFile": "./dist/sql/backup_size_trend.sql"
|
|
}
|
|
},
|
|
{
|
|
"id": "extension-wait-counts-by-Paul-Randal",
|
|
"contrib": {
|
|
"type": {
|
|
"horizontalBar": {
|
|
"dataDirection": "vertical",
|
|
"dataType": "number",
|
|
"legendPosition": "none",
|
|
"labelFirstColumn": false,
|
|
"columnsAsLabels": true
|
|
}
|
|
},
|
|
"queryFile": "./dist/sql/waits_paul_randal.sql",
|
|
"details": {
|
|
"queryFile": "./dist/sql/waits_detail_paul_randal.sql",
|
|
"label": {
|
|
"column": "WaitType",
|
|
"state": []
|
|
},
|
|
"value": "Percentage"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "extension-wait-resource-statistics",
|
|
"contrib": {
|
|
"type": {
|
|
"bar": {
|
|
"dataDirection": "horizontal",
|
|
"dataType": "number",
|
|
"legendPosition": "none",
|
|
"labelFirstColumn": false,
|
|
"columnsAsLabels": true
|
|
}
|
|
},
|
|
"queryFile": "./dist/sql/wait_resources.sql",
|
|
"details": {
|
|
"queryFile": "./dist/sql/wait_resources.sql",
|
|
"label": {
|
|
"column": "WaitType",
|
|
"state": []
|
|
},
|
|
"value": "Percentage"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "extension-dbbuffer-usage",
|
|
"contrib": {
|
|
"type": {
|
|
"horizontalBar": {
|
|
"dataDirection": "vertical",
|
|
"dataType": "number",
|
|
"legendPosition": "top",
|
|
"labelFirstColumn": false,
|
|
"columnsAsLabels": true
|
|
}
|
|
},
|
|
"queryFile": "./dist/sql/memorybydb.sql"
|
|
}
|
|
},
|
|
{
|
|
"id": "type-of-contention",
|
|
"contrib": {
|
|
"type": {
|
|
"bar": {
|
|
"dataDirection": "vertical",
|
|
"columnsAsLabels": true,
|
|
"labelFirstColumn": false,
|
|
"legendPosition": "none"
|
|
}
|
|
},
|
|
"queryFile": "./dist/sql/typeofContentions.sql",
|
|
"autoRefreshInterval": 0.05
|
|
}
|
|
},
|
|
{
|
|
"id": "metadata-contention",
|
|
"contrib": {
|
|
"type": {
|
|
"bar": {
|
|
"dataDirection": "vertical",
|
|
"columnsAsLabels": true,
|
|
"labelFirstColumn": false,
|
|
"legendPosition": "none",
|
|
"xAxisLabel": "Object Ids for System Tables"
|
|
}
|
|
},
|
|
"queryFile": "./dist/sql/metadataContention.sql",
|
|
"autoRefreshInterval": 0.05
|
|
}
|
|
},
|
|
{
|
|
"id": "allocation-contention",
|
|
"contrib": {
|
|
"type": {
|
|
"bar": {
|
|
"dataDirection": "vertical",
|
|
"columnsAsLabels": true,
|
|
"labelFirstColumn": false,
|
|
"legendPosition": "none",
|
|
"xAxisLabel": "Page Types"
|
|
}
|
|
},
|
|
"queryFile": "./dist/sql/allocationContention.sql",
|
|
"autoRefreshInterval": 0.05
|
|
}
|
|
}
|
|
],
|
|
"dashboard.containers": [
|
|
{
|
|
"id": "server-reports-monitoring-container",
|
|
"container": {
|
|
"widgets-container": [
|
|
{
|
|
"name": "Top 10 DB Space Usage",
|
|
"gridItemConfig": {
|
|
"sizex": 2,
|
|
"sizey": 2
|
|
},
|
|
"widget": {
|
|
"extension-dbspace-usage": {}
|
|
}
|
|
},
|
|
{
|
|
"name": "Top 10 DB Buffer Usage",
|
|
"gridItemConfig": {
|
|
"sizex": 2,
|
|
"sizey": 2
|
|
},
|
|
"widget": {
|
|
"extension-dbbuffer-usage": {}
|
|
}
|
|
},
|
|
{
|
|
"name": "CPU Utilization",
|
|
"gridItemConfig": {
|
|
"sizex": 2,
|
|
"sizey": 1
|
|
},
|
|
"widget": {
|
|
"extension-cpu-utilization": {}
|
|
}
|
|
},
|
|
{
|
|
"name": "Backup Growth Trend",
|
|
"gridItemConfig": {
|
|
"sizex": 2,
|
|
"sizey": 1
|
|
},
|
|
"widget": {
|
|
"extension-backup-growth-trend": {}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "server-reports-performance-container",
|
|
"container": {
|
|
"widgets-container": [
|
|
{
|
|
"name": "Wait Counts by Paul Randal",
|
|
"gridItemConfig": {
|
|
"sizex": 2,
|
|
"sizey": 2
|
|
},
|
|
"widget": {
|
|
"extension-wait-counts-by-Paul-Randal": {}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "server-reports-tempdb-container",
|
|
"container": {
|
|
"widgets-container": [
|
|
{
|
|
"name": "Tasks",
|
|
"widget": {
|
|
"tasks-widget": [
|
|
"tempdb.startEvent",
|
|
"tempdb.contention",
|
|
"tempdb.pauseEvent",
|
|
"tempdb.stopEvent"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "Overall Contention",
|
|
"gridItemConfig": {
|
|
"sizex": 2,
|
|
"sizey": 1
|
|
},
|
|
"widget": {
|
|
"type-of-contention": {}
|
|
}
|
|
},
|
|
{
|
|
"name": "Metadata Contention",
|
|
"gridItemConfig": {
|
|
"sizex": 2,
|
|
"sizey": 1
|
|
},
|
|
"widget": {
|
|
"metadata-contention": {}
|
|
}
|
|
},
|
|
{
|
|
"name": "Allocation Contention",
|
|
"gridItemConfig": {
|
|
"sizex": 2,
|
|
"sizey": 1
|
|
},
|
|
"widget": {
|
|
"allocation-contention": {}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"snippets": []
|
|
},
|
|
"dependencies": {
|
|
"fs-extra": "^8.1.0",
|
|
"openurl": "^1.1.1",
|
|
"vscode-nls": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/fs-extra": "8.1.0"
|
|
},
|
|
"__metadata": {
|
|
"id": "12",
|
|
"publisherDisplayName": "Microsoft",
|
|
"publisherId": "Microsoft"
|
|
}
|
|
}
|