|
17 | 17 | "editable": true, |
18 | 18 | "gnetId": null, |
19 | 19 | "graphTooltip": 0, |
20 | | - "id": 4, |
21 | | - "iteration": 1531295137023, |
| 20 | + "id": 2, |
| 21 | + "iteration": 1531746409662, |
22 | 22 | "links": [], |
23 | 23 | "panels": [ |
24 | 24 | { |
|
32 | 32 | "title": "Basic Information", |
33 | 33 | "type": "row" |
34 | 34 | }, |
35 | | - { |
36 | | - "cacheTimeout": null, |
37 | | - "colorBackground": false, |
38 | | - "colorValue": false, |
39 | | - "colors": [ |
40 | | - "#299c46", |
41 | | - "rgba(237, 129, 40, 0.89)", |
42 | | - "#d44a3a" |
43 | | - ], |
44 | | - "datasource": "infrabox", |
45 | | - "description": "The number of nodes connected to the inspected cluster.", |
46 | | - "format": "none", |
47 | | - "gauge": { |
48 | | - "maxValue": 100, |
49 | | - "minValue": 0, |
50 | | - "show": false, |
51 | | - "thresholdLabels": false, |
52 | | - "thresholdMarkers": true |
53 | | - }, |
54 | | - "gridPos": { |
55 | | - "h": 7, |
56 | | - "w": 3, |
57 | | - "x": 0, |
58 | | - "y": 1 |
59 | | - }, |
60 | | - "id": 6, |
61 | | - "interval": null, |
62 | | - "links": [], |
63 | | - "mappingType": 1, |
64 | | - "mappingTypes": [ |
65 | | - { |
66 | | - "name": "value to text", |
67 | | - "value": 1 |
68 | | - }, |
69 | | - { |
70 | | - "name": "range to text", |
71 | | - "value": 2 |
72 | | - } |
73 | | - ], |
74 | | - "maxDataPoints": 100, |
75 | | - "nullPointMode": "connected", |
76 | | - "nullText": null, |
77 | | - "postfix": " nodes", |
78 | | - "postfixFontSize": "50%", |
79 | | - "prefix": "", |
80 | | - "prefixFontSize": "50%", |
81 | | - "rangeMaps": [ |
82 | | - { |
83 | | - "from": "null", |
84 | | - "text": "N/A", |
85 | | - "to": "null" |
86 | | - } |
87 | | - ], |
88 | | - "sparkline": { |
89 | | - "fillColor": "rgba(31, 118, 189, 0.18)", |
90 | | - "full": false, |
91 | | - "lineColor": "rgb(31, 120, 193)", |
92 | | - "show": false |
93 | | - }, |
94 | | - "tableColumn": "nodes", |
95 | | - "targets": [ |
96 | | - { |
97 | | - "$$hashKey": "object:3854", |
98 | | - "alias": "", |
99 | | - "format": "table", |
100 | | - "hide": false, |
101 | | - "rawSql": "SELECT nodes FROM cluster WHERE name = '[[cluster]]'", |
102 | | - "refId": "A" |
103 | | - } |
104 | | - ], |
105 | | - "thresholds": "", |
106 | | - "title": "Connected nodes", |
107 | | - "type": "singlestat", |
108 | | - "valueFontSize": "80%", |
109 | | - "valueMaps": [ |
110 | | - { |
111 | | - "op": "=", |
112 | | - "text": "N/A", |
113 | | - "value": "null" |
114 | | - } |
115 | | - ], |
116 | | - "valueName": "avg" |
117 | | - }, |
118 | 35 | { |
119 | 36 | "aliasColors": {}, |
120 | 37 | "bars": false, |
|
126 | 43 | "fill": 1, |
127 | 44 | "gridPos": { |
128 | 45 | "h": 7, |
129 | | - "w": 21, |
130 | | - "x": 3, |
| 46 | + "w": 16, |
| 47 | + "x": 0, |
131 | 48 | "y": 1 |
132 | 49 | }, |
133 | 50 | "id": 23, |
|
211 | 128 | "alignLevel": null |
212 | 129 | } |
213 | 130 | }, |
| 131 | + { |
| 132 | + "cacheTimeout": null, |
| 133 | + "colorBackground": false, |
| 134 | + "colorValue": false, |
| 135 | + "colors": [ |
| 136 | + "#299c46", |
| 137 | + "rgba(237, 129, 40, 0.89)", |
| 138 | + "#d44a3a" |
| 139 | + ], |
| 140 | + "datasource": "infrabox", |
| 141 | + "description": "The number of nodes connected to the inspected cluster.", |
| 142 | + "format": "none", |
| 143 | + "gauge": { |
| 144 | + "maxValue": 100, |
| 145 | + "minValue": 0, |
| 146 | + "show": false, |
| 147 | + "thresholdLabels": false, |
| 148 | + "thresholdMarkers": true |
| 149 | + }, |
| 150 | + "gridPos": { |
| 151 | + "h": 7, |
| 152 | + "w": 2, |
| 153 | + "x": 16, |
| 154 | + "y": 1 |
| 155 | + }, |
| 156 | + "id": 6, |
| 157 | + "interval": null, |
| 158 | + "links": [], |
| 159 | + "mappingType": 1, |
| 160 | + "mappingTypes": [ |
| 161 | + { |
| 162 | + "name": "value to text", |
| 163 | + "value": 1 |
| 164 | + }, |
| 165 | + { |
| 166 | + "name": "range to text", |
| 167 | + "value": 2 |
| 168 | + } |
| 169 | + ], |
| 170 | + "maxDataPoints": 100, |
| 171 | + "nullPointMode": "connected", |
| 172 | + "nullText": null, |
| 173 | + "postfix": " nodes", |
| 174 | + "postfixFontSize": "50%", |
| 175 | + "prefix": "", |
| 176 | + "prefixFontSize": "50%", |
| 177 | + "rangeMaps": [ |
| 178 | + { |
| 179 | + "from": "null", |
| 180 | + "text": "N/A", |
| 181 | + "to": "null" |
| 182 | + } |
| 183 | + ], |
| 184 | + "sparkline": { |
| 185 | + "fillColor": "rgba(31, 118, 189, 0.18)", |
| 186 | + "full": false, |
| 187 | + "lineColor": "rgb(31, 120, 193)", |
| 188 | + "show": false |
| 189 | + }, |
| 190 | + "tableColumn": "nodes", |
| 191 | + "targets": [ |
| 192 | + { |
| 193 | + "$$hashKey": "object:3854", |
| 194 | + "alias": "", |
| 195 | + "format": "table", |
| 196 | + "hide": false, |
| 197 | + "rawSql": "SELECT nodes FROM cluster WHERE name = '[[cluster]]'", |
| 198 | + "refId": "A" |
| 199 | + } |
| 200 | + ], |
| 201 | + "thresholds": "", |
| 202 | + "title": "Connected nodes", |
| 203 | + "type": "singlestat", |
| 204 | + "valueFontSize": "80%", |
| 205 | + "valueMaps": [ |
| 206 | + { |
| 207 | + "op": "=", |
| 208 | + "text": "N/A", |
| 209 | + "value": "null" |
| 210 | + } |
| 211 | + ], |
| 212 | + "valueName": "avg" |
| 213 | + }, |
| 214 | + { |
| 215 | + "columns": [], |
| 216 | + "datasource": "infrabox", |
| 217 | + "description": "List of the node_name referenced by the job table for this cluster.\n\nIf the Node has never been associated to any job, it can't be seen.", |
| 218 | + "fontSize": "100%", |
| 219 | + "gridPos": { |
| 220 | + "h": 7, |
| 221 | + "w": 6, |
| 222 | + "x": 18, |
| 223 | + "y": 1 |
| 224 | + }, |
| 225 | + "id": 25, |
| 226 | + "links": [], |
| 227 | + "pageSize": null, |
| 228 | + "scroll": true, |
| 229 | + "showHeader": true, |
| 230 | + "sort": { |
| 231 | + "col": 0, |
| 232 | + "desc": true |
| 233 | + }, |
| 234 | + "styles": [ |
| 235 | + { |
| 236 | + "$$hashKey": "object:535", |
| 237 | + "alias": "Node", |
| 238 | + "colorMode": null, |
| 239 | + "colors": [ |
| 240 | + "rgba(245, 54, 54, 0.9)", |
| 241 | + "rgba(237, 129, 40, 0.89)", |
| 242 | + "rgba(50, 172, 45, 0.97)" |
| 243 | + ], |
| 244 | + "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 245 | + "decimals": 2, |
| 246 | + "link": true, |
| 247 | + "linkTooltip": "Inspect", |
| 248 | + "linkUrl": "d/09c0DMdiz/node-inspector?orgId=1&var-node_name=${__cell}", |
| 249 | + "mappingType": 1, |
| 250 | + "pattern": "node_name", |
| 251 | + "thresholds": [], |
| 252 | + "type": "string", |
| 253 | + "unit": "short" |
| 254 | + }, |
| 255 | + { |
| 256 | + "$$hashKey": "object:565", |
| 257 | + "alias": "Running Jobs", |
| 258 | + "colorMode": null, |
| 259 | + "colors": [ |
| 260 | + "rgba(245, 54, 54, 0.9)", |
| 261 | + "rgba(237, 129, 40, 0.89)", |
| 262 | + "rgba(50, 172, 45, 0.97)" |
| 263 | + ], |
| 264 | + "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| 265 | + "decimals": 0, |
| 266 | + "mappingType": 1, |
| 267 | + "pattern": "count", |
| 268 | + "thresholds": [], |
| 269 | + "type": "number", |
| 270 | + "unit": "short" |
| 271 | + } |
| 272 | + ], |
| 273 | + "targets": [ |
| 274 | + { |
| 275 | + "$$hashKey": "object:282", |
| 276 | + "alias": "", |
| 277 | + "format": "table", |
| 278 | + "hide": false, |
| 279 | + "rawSql": "SELECT node_name, count(id) FILTER(WHERE state = 'running') FROM job WHERE node_name is not null AND cluster_name = '[[cluster]]' GROUP BY node_name", |
| 280 | + "refId": "A" |
| 281 | + } |
| 282 | + ], |
| 283 | + "title": "Node List", |
| 284 | + "transform": "table", |
| 285 | + "type": "table" |
| 286 | + }, |
214 | 287 | { |
215 | 288 | "collapsed": false, |
216 | 289 | "gridPos": { |
|
0 commit comments