-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
266 lines (266 loc) · 9.97 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
{
"name": "firstresponderkit",
"displayName": "First Responder Kit",
"description": "Current Versions of the sp_blitz Scripts",
"version": "0.6.0",
"publisher": "drewsk",
"engines": {
"vscode": "^1.25.0",
"azdata": "^1.21.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/dzsquared/sqlops-firstresponderkit.git"
},
"activationEvents": [
"*"
],
"main": "./dist/extension",
"contributes": {
"commands": [
{
"command": "extension.sp_blitzversion",
"title": "First Responder Kit: Check sp_Blitz Version"
},
{
"command": "extension.sp_blitzall",
"title": "First Responder Kit: Import sp_Blitz and all its friends"
},
{
"command": "extension.sp_blitz",
"title": "First Responder Kit: Import sp_Blitz"
},
{
"command": "extension.run_sp_blitz",
"title": "First Responder Kit: Run sp_Blitz"
},
{
"command": "extension.sp_blitzindex",
"title": "First Responder Kit: Import sp_BlitzIndex"
},
{
"command": "extension.run_sp_blitzindex",
"title": "First Responder Kit: Run sp_BlitzIndex"
},
{
"command": "extension.sp_blitzwho",
"title": "First Responder Kit: Import sp_BlitzWho"
},
{
"command": "extension.sp_blitzfirst",
"title": "First Responder Kit: Import sp_BlitzFirst"
},
{
"command": "extension.run_sp_blitzfirst",
"title": "First Responder Kit: Run sp_BlitzFirst"
},
{
"command": "extension.sp_blitzcache",
"title": "First Responder Kit: Import sp_BlitzCache"
},
{
"command": "extension.run_sp_blitzcache",
"title": "First Responder Kit: Run sp_BlitzCache"
},
{
"command": "extension.run_sp_whoisactive",
"title": "First Responder Kit: Run sp_WhoIsActive"
},
{
"command": "extension.run_sp_blitzlock",
"title": "First Responder Kit: Run sp_BlitzLock"
}
],
"snippets": [
{
"language": "sql",
"path": "./snippets/snippets.json"
}
],
"menus": {
"objectExplorer/item/context": [
{
"command": "extension.sp_blitzversion",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Server",
"group": "FRK"
},
{
"command": "extension.run_sp_whoisactive",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Server",
"group": "FRK"
},
{
"command": "extension.run_sp_blitzlock",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Server",
"group": "FRK"
},
{
"command": "extension.run_sp_blitz",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Server",
"group": "FRK"
},
{
"command": "extension.run_sp_blitzfirst",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Server",
"group": "FRK"
},
{
"command": "extension.run_sp_blitzlock",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Database",
"group": "FRK"
},
{
"command": "extension.run_sp_blitzindex",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Database",
"group": "FRK"
},
{
"command": "extension.run_sp_blitzindex",
"when": "connectionProvider == MSSQL && nodeType && nodeType == Table",
"group": "FRK"
}
]
},
"dashboard.insights": [
{
"id": "sqlops-firstresponderkit.waittypes",
"contrib": {
"queryFile": "./sql/waittypes.sql",
"type": {
"horizontalBar": {
"dataDirection": "vertical",
"columnsAsLabels": true,
"labelFirstColumn": false,
"legendPosition": "top"
}
}
}
},
{
"id": "sqlops-firstresponderkit.waittimes",
"contrib": {
"queryFile": "./sql/waittimes.sql",
"type": {
"bar": {
"dataDirection": "vertical",
"columnsAsLabels": true,
"labelFirstColumn": false,
"legendPosition": "left",
"yAxisLabel": "Wait Time, Minutes per Minute",
"dataType": "point"
}
}
}
},
{
"id": "sqlops-firstresponderkit.blitzfirst",
"contrib": {
"queryFile": "./sql/blitzfirst.sql",
"type": {
"table": {
"dataDirection": "horizontal",
"columnsAsLabels": true,
"labelFirstColumn": true,
"legendPosition": "bottom",
"dataType": "number"
}
}
}
},
{
"id": "sqlops-firstresponderkit.blitzcache",
"contrib": {
"queryFile": "./sql/blitzcache.sql",
"type": {
"table": {
"dataDirection": "horizontal",
"columnsAsLabels": true,
"labelFirstColumn": true,
"legendPosition": "bottom",
"dataType": "number"
}
}
}
}
],
"dashboard.tabs": [
{
"id": "sqlops-firstresponderkit.tab",
"title": "First Responder Kit",
"description": "First Responder Kit Dashboard",
"container": {
"widgets-container": [
{
"name": "Top 3 Wait Times",
"gridItemConfig": {
"sizex": 3,
"sizey": 1
},
"widget": {
"sqlops-firstresponderkit.waittimes": {}
}
},
{
"name": "Wait Types",
"gridItemConfig": {
"sizex": 1,
"sizey": 2
},
"widget": {
"sqlops-firstresponderkit.waittypes": {}
}
},
{
"name": "Quick Diagnosis from sp_BlitzFirst",
"gridItemConfig": {
"sizex": 2,
"sizey": 2
},
"widget": {
"sqlops-firstresponderkit.blitzfirst": {}
}
},
{
"name": "Resource-Intensive Queries from sp_BlitzCache",
"gridItemConfig": {
"sizex": 3,
"sizey": 1
},
"widget": {
"sqlops-firstresponderkit.blitzcache": {}
}
}
]
},
"when": "dashboardContext == 'database'"
}
]
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install && node ./node_modules/azdata/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"azdata": "^1.0.0",
"ts-loader": "^6.2.1",
"typescript": "^2.6.1",
"vscode": "^1.1.6",
"webpack": "^4.41.6",
"webpack-cli": "^3.3.11"
},
"dependencies": {
"clipboardy": "^2.2.0",
"request": "^2.87.0",
"request-promise-native": "^1.0.5"
}
}