|
6 | 6 | "editable": true, |
7 | 7 | "fiscalYearStartMonth": 0, |
8 | 8 | "graphTooltip": 1, |
9 | | - "links": [], |
| 9 | + "links": [ |
| 10 | + { |
| 11 | + "asDropdown": false, |
| 12 | + "icon": "external link", |
| 13 | + "tags": [], |
| 14 | + "title": "Operator Overview", |
| 15 | + "type": "link", |
| 16 | + "url": "/d/multigres-operator-overview" |
| 17 | + }, |
| 18 | + { |
| 19 | + "asDropdown": false, |
| 20 | + "icon": "external link", |
| 21 | + "tags": [], |
| 22 | + "title": "Data Plane", |
| 23 | + "type": "link", |
| 24 | + "url": "/d/multigres-data-plane" |
| 25 | + } |
| 26 | + ], |
10 | 27 | "panels": [ |
11 | 28 | { |
12 | 29 | "collapsed": false, |
|
16 | 33 | "x": 0, |
17 | 34 | "y": 0 |
18 | 35 | }, |
| 36 | + "id": 50, |
| 37 | + "title": "At a Glance", |
| 38 | + "type": "row" |
| 39 | + }, |
| 40 | + { |
| 41 | + "datasource": { |
| 42 | + "type": "prometheus", |
| 43 | + "uid": "prometheus-uid" |
| 44 | + }, |
| 45 | + "description": "Number of MultigresCluster resources currently managed.", |
| 46 | + "fieldConfig": { |
| 47 | + "defaults": { |
| 48 | + "mappings": [], |
| 49 | + "thresholds": { |
| 50 | + "mode": "absolute", |
| 51 | + "steps": [ |
| 52 | + { |
| 53 | + "color": "green", |
| 54 | + "value": null |
| 55 | + } |
| 56 | + ] |
| 57 | + }, |
| 58 | + "unit": "short" |
| 59 | + }, |
| 60 | + "overrides": [] |
| 61 | + }, |
| 62 | + "gridPos": { |
| 63 | + "h": 4, |
| 64 | + "w": 6, |
| 65 | + "x": 0, |
| 66 | + "y": 1 |
| 67 | + }, |
| 68 | + "id": 51, |
| 69 | + "options": { |
| 70 | + "colorMode": "value", |
| 71 | + "graphMode": "none", |
| 72 | + "justifyMode": "auto", |
| 73 | + "orientation": "auto", |
| 74 | + "reduceOptions": { |
| 75 | + "calcs": [ |
| 76 | + "lastNotNull" |
| 77 | + ], |
| 78 | + "fields": "", |
| 79 | + "values": false |
| 80 | + }, |
| 81 | + "textMode": "auto" |
| 82 | + }, |
| 83 | + "targets": [ |
| 84 | + { |
| 85 | + "datasource": { |
| 86 | + "type": "prometheus", |
| 87 | + "uid": "prometheus-uid" |
| 88 | + }, |
| 89 | + "expr": "count(multigres_operator_cluster_info)", |
| 90 | + "legendFormat": "Clusters" |
| 91 | + } |
| 92 | + ], |
| 93 | + "title": "Total Clusters", |
| 94 | + "type": "stat" |
| 95 | + }, |
| 96 | + { |
| 97 | + "datasource": { |
| 98 | + "type": "prometheus", |
| 99 | + "uid": "prometheus-uid" |
| 100 | + }, |
| 101 | + "description": "Total number of cells across all clusters.", |
| 102 | + "fieldConfig": { |
| 103 | + "defaults": { |
| 104 | + "mappings": [], |
| 105 | + "thresholds": { |
| 106 | + "mode": "absolute", |
| 107 | + "steps": [ |
| 108 | + { |
| 109 | + "color": "green", |
| 110 | + "value": null |
| 111 | + } |
| 112 | + ] |
| 113 | + }, |
| 114 | + "unit": "short" |
| 115 | + }, |
| 116 | + "overrides": [] |
| 117 | + }, |
| 118 | + "gridPos": { |
| 119 | + "h": 4, |
| 120 | + "w": 6, |
| 121 | + "x": 6, |
| 122 | + "y": 1 |
| 123 | + }, |
| 124 | + "id": 52, |
| 125 | + "options": { |
| 126 | + "colorMode": "value", |
| 127 | + "graphMode": "none", |
| 128 | + "justifyMode": "auto", |
| 129 | + "orientation": "auto", |
| 130 | + "reduceOptions": { |
| 131 | + "calcs": [ |
| 132 | + "lastNotNull" |
| 133 | + ], |
| 134 | + "fields": "", |
| 135 | + "values": false |
| 136 | + }, |
| 137 | + "textMode": "auto" |
| 138 | + }, |
| 139 | + "targets": [ |
| 140 | + { |
| 141 | + "datasource": { |
| 142 | + "type": "prometheus", |
| 143 | + "uid": "prometheus-uid" |
| 144 | + }, |
| 145 | + "expr": "sum(multigres_operator_cluster_cells_total)", |
| 146 | + "legendFormat": "Cells" |
| 147 | + } |
| 148 | + ], |
| 149 | + "title": "Total Cells", |
| 150 | + "type": "stat" |
| 151 | + }, |
| 152 | + { |
| 153 | + "datasource": { |
| 154 | + "type": "prometheus", |
| 155 | + "uid": "prometheus-uid" |
| 156 | + }, |
| 157 | + "description": "Total number of shards across all clusters.", |
| 158 | + "fieldConfig": { |
| 159 | + "defaults": { |
| 160 | + "mappings": [], |
| 161 | + "thresholds": { |
| 162 | + "mode": "absolute", |
| 163 | + "steps": [ |
| 164 | + { |
| 165 | + "color": "green", |
| 166 | + "value": null |
| 167 | + } |
| 168 | + ] |
| 169 | + }, |
| 170 | + "unit": "short" |
| 171 | + }, |
| 172 | + "overrides": [] |
| 173 | + }, |
| 174 | + "gridPos": { |
| 175 | + "h": 4, |
| 176 | + "w": 6, |
| 177 | + "x": 12, |
| 178 | + "y": 1 |
| 179 | + }, |
| 180 | + "id": 53, |
| 181 | + "options": { |
| 182 | + "colorMode": "value", |
| 183 | + "graphMode": "none", |
| 184 | + "justifyMode": "auto", |
| 185 | + "orientation": "auto", |
| 186 | + "reduceOptions": { |
| 187 | + "calcs": [ |
| 188 | + "lastNotNull" |
| 189 | + ], |
| 190 | + "fields": "", |
| 191 | + "values": false |
| 192 | + }, |
| 193 | + "textMode": "auto" |
| 194 | + }, |
| 195 | + "targets": [ |
| 196 | + { |
| 197 | + "datasource": { |
| 198 | + "type": "prometheus", |
| 199 | + "uid": "prometheus-uid" |
| 200 | + }, |
| 201 | + "expr": "sum(multigres_operator_cluster_shards_total)", |
| 202 | + "legendFormat": "Shards" |
| 203 | + } |
| 204 | + ], |
| 205 | + "title": "Total Shards", |
| 206 | + "type": "stat" |
| 207 | + }, |
| 208 | + { |
| 209 | + "datasource": { |
| 210 | + "type": "prometheus", |
| 211 | + "uid": "prometheus-uid" |
| 212 | + }, |
| 213 | + "description": "Number of clusters currently in Error phase.", |
| 214 | + "fieldConfig": { |
| 215 | + "defaults": { |
| 216 | + "mappings": [], |
| 217 | + "noValue": "0", |
| 218 | + "thresholds": { |
| 219 | + "mode": "absolute", |
| 220 | + "steps": [ |
| 221 | + { |
| 222 | + "color": "green", |
| 223 | + "value": null |
| 224 | + }, |
| 225 | + { |
| 226 | + "color": "red", |
| 227 | + "value": 1 |
| 228 | + } |
| 229 | + ] |
| 230 | + }, |
| 231 | + "unit": "short" |
| 232 | + }, |
| 233 | + "overrides": [] |
| 234 | + }, |
| 235 | + "gridPos": { |
| 236 | + "h": 4, |
| 237 | + "w": 6, |
| 238 | + "x": 18, |
| 239 | + "y": 1 |
| 240 | + }, |
| 241 | + "id": 54, |
| 242 | + "options": { |
| 243 | + "colorMode": "value", |
| 244 | + "graphMode": "none", |
| 245 | + "justifyMode": "auto", |
| 246 | + "orientation": "auto", |
| 247 | + "reduceOptions": { |
| 248 | + "calcs": [ |
| 249 | + "lastNotNull" |
| 250 | + ], |
| 251 | + "fields": "", |
| 252 | + "values": false |
| 253 | + }, |
| 254 | + "textMode": "auto" |
| 255 | + }, |
| 256 | + "targets": [ |
| 257 | + { |
| 258 | + "datasource": { |
| 259 | + "type": "prometheus", |
| 260 | + "uid": "prometheus-uid" |
| 261 | + }, |
| 262 | + "expr": "count(multigres_operator_cluster_info{phase=\"Error\"}) or vector(0)", |
| 263 | + "legendFormat": "Errors" |
| 264 | + } |
| 265 | + ], |
| 266 | + "title": "Clusters in Error", |
| 267 | + "type": "stat" |
| 268 | + }, |
| 269 | + { |
| 270 | + "collapsed": false, |
| 271 | + "gridPos": { |
| 272 | + "h": 1, |
| 273 | + "w": 24, |
| 274 | + "x": 0, |
| 275 | + "y": 5 |
| 276 | + }, |
19 | 277 | "id": 100, |
20 | 278 | "title": "Cluster Overview", |
21 | 279 | "type": "row" |
|
107 | 365 | "h": 6, |
108 | 366 | "w": 24, |
109 | 367 | "x": 0, |
110 | | - "y": 1 |
| 368 | + "y": 6 |
111 | 369 | }, |
112 | 370 | "id": 1, |
113 | 371 | "options": { |
|
177 | 435 | "h": 8, |
178 | 436 | "w": 12, |
179 | 437 | "x": 0, |
180 | | - "y": 7 |
| 438 | + "y": 12 |
181 | 439 | }, |
182 | 440 | "id": 2, |
183 | 441 | "options": { |
|
237 | 495 | "h": 8, |
238 | 496 | "w": 12, |
239 | 497 | "x": 12, |
240 | | - "y": 7 |
| 498 | + "y": 12 |
241 | 499 | }, |
242 | 500 | "id": 3, |
243 | 501 | "options": { |
|
272 | 530 | "h": 1, |
273 | 531 | "w": 24, |
274 | 532 | "x": 0, |
275 | | - "y": 15 |
| 533 | + "y": 20 |
276 | 534 | }, |
277 | 535 | "id": 101, |
278 | 536 | "title": "Cell Gateways", |
|
329 | 587 | "h": 8, |
330 | 588 | "w": 24, |
331 | 589 | "x": 0, |
332 | | - "y": 16 |
| 590 | + "y": 21 |
333 | 591 | }, |
334 | 592 | "id": 4, |
335 | 593 | "options": { |
|
372 | 630 | "h": 1, |
373 | 631 | "w": 24, |
374 | 632 | "x": 0, |
375 | | - "y": 24 |
| 633 | + "y": 29 |
376 | 634 | }, |
377 | 635 | "id": 102, |
378 | 636 | "title": "Shard Pools", |
|
429 | 687 | "h": 8, |
430 | 688 | "w": 24, |
431 | 689 | "x": 0, |
432 | | - "y": 25 |
| 690 | + "y": 30 |
433 | 691 | }, |
434 | 692 | "id": 5, |
435 | 693 | "options": { |
|
472 | 730 | "h": 1, |
473 | 731 | "w": 24, |
474 | 732 | "x": 0, |
475 | | - "y": 33 |
| 733 | + "y": 38 |
476 | 734 | }, |
477 | 735 | "id": 103, |
478 | 736 | "title": "TopoServer", |
|
529 | 787 | "h": 8, |
530 | 788 | "w": 24, |
531 | 789 | "x": 0, |
532 | | - "y": 34 |
| 790 | + "y": 39 |
533 | 791 | }, |
534 | 792 | "id": 6, |
535 | 793 | "options": { |
|
567 | 825 | ] |
568 | 826 | } |
569 | 827 | ], |
| 828 | + "refresh": "10s", |
570 | 829 | "schemaVersion": 39, |
571 | 830 | "tags": [ |
572 | 831 | "multigres", |
|
0 commit comments