Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 1 | { |
| 2 | "annotations": { |
| 3 | "list": [ |
| 4 | { |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 5 | "builtIn": 1, |
| 6 | "datasource": "-- Grafana --", |
| 7 | "enable": true, |
| 8 | "hide": true, |
| 9 | "iconColor": "rgba(0, 211, 255, 1)", |
| 10 | "name": "Annotations & Alerts", |
| 11 | "type": "dashboard" |
| 12 | } |
| 13 | ] |
| 14 | }, |
| 15 | "editable": true, |
| 16 | "gnetId": null, |
| 17 | "graphTooltip": 0, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 18 | "iteration": 1611099859488, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 19 | "links": [], |
| 20 | "panels": [ |
| 21 | { |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 22 | "collapsed": false, |
| 23 | "datasource": null, |
| 24 | "gridPos": { |
| 25 | "h": 1, |
| 26 | "w": 24, |
| 27 | "x": 0, |
| 28 | "y": 0 |
| 29 | }, |
| 30 | "id": 52, |
| 31 | "panels": [], |
| 32 | "title": "VPN Status", |
| 33 | "type": "row" |
| 34 | }, |
| 35 | { |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 36 | "datasource": "Google Cloud Monitoring", |
| 37 | "description": "", |
| 38 | "fieldConfig": { |
| 39 | "defaults": { |
| 40 | "custom": {}, |
| 41 | "mappings": [ |
| 42 | { |
| 43 | "from": "", |
| 44 | "id": 0, |
| 45 | "operator": "", |
| 46 | "text": "down", |
| 47 | "to": "", |
| 48 | "type": 1, |
| 49 | "value": "0" |
| 50 | }, |
| 51 | { |
| 52 | "from": "", |
| 53 | "id": 1, |
| 54 | "operator": "", |
| 55 | "text": "up", |
| 56 | "to": "", |
| 57 | "type": 1, |
| 58 | "value": "1" |
| 59 | } |
| 60 | ], |
| 61 | "max": 1, |
| 62 | "min": 0, |
| 63 | "thresholds": { |
| 64 | "mode": "absolute", |
| 65 | "steps": [ |
| 66 | { |
| 67 | "color": "red", |
| 68 | "value": null |
| 69 | }, |
| 70 | { |
| 71 | "color": "green", |
| 72 | "value": 1 |
| 73 | } |
| 74 | ] |
| 75 | } |
| 76 | }, |
| 77 | "overrides": [ |
| 78 | { |
| 79 | "matcher": { |
| 80 | "id": "byName", |
Hyunsun Moon | d0d37d5 | 2020-10-26 20:20:37 -0700 | [diff] [blame] | 81 | "options": "production-ace-att" |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 82 | }, |
| 83 | "properties": [ |
| 84 | { |
| 85 | "id": "displayName", |
| 86 | "value": "ATT" |
| 87 | } |
| 88 | ] |
| 89 | }, |
| 90 | { |
| 91 | "matcher": { |
| 92 | "id": "byName", |
Hyunsun Moon | d0d37d5 | 2020-10-26 20:20:37 -0700 | [diff] [blame] | 93 | "options": "production-ace-ciena" |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 94 | }, |
| 95 | "properties": [ |
| 96 | { |
| 97 | "id": "displayName", |
| 98 | "value": "Ciena" |
| 99 | } |
| 100 | ] |
| 101 | }, |
| 102 | { |
| 103 | "matcher": { |
| 104 | "id": "byName", |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 105 | "options": "production-ace-menlo-1" |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 106 | }, |
| 107 | "properties": [ |
| 108 | { |
| 109 | "id": "displayName", |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 110 | "value": "ONF Menlo 1" |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 111 | } |
| 112 | ] |
| 113 | }, |
| 114 | { |
| 115 | "matcher": { |
| 116 | "id": "byName", |
Hyunsun Moon | d0d37d5 | 2020-10-26 20:20:37 -0700 | [diff] [blame] | 117 | "options": "production-ace-ntt" |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 118 | }, |
| 119 | "properties": [ |
| 120 | { |
| 121 | "id": "displayName", |
| 122 | "value": "NTT" |
| 123 | } |
| 124 | ] |
| 125 | }, |
| 126 | { |
| 127 | "matcher": { |
| 128 | "id": "byName", |
Hyunsun Moon | d0d37d5 | 2020-10-26 20:20:37 -0700 | [diff] [blame] | 129 | "options": "production-ace-tef" |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 130 | }, |
| 131 | "properties": [ |
| 132 | { |
| 133 | "id": "displayName", |
| 134 | "value": "Telefonica" |
| 135 | } |
| 136 | ] |
| 137 | }, |
| 138 | { |
| 139 | "matcher": { |
| 140 | "id": "byName", |
Hyunsun Moon | d0d37d5 | 2020-10-26 20:20:37 -0700 | [diff] [blame] | 141 | "options": "production-ace-intel" |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 142 | }, |
| 143 | "properties": [ |
| 144 | { |
| 145 | "id": "displayName", |
| 146 | "value": "Intel" |
| 147 | } |
| 148 | ] |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 149 | }, |
| 150 | { |
| 151 | "matcher": { |
| 152 | "id": "byName", |
| 153 | "options": "production-ace-menlo-2" |
| 154 | }, |
| 155 | "properties": [ |
| 156 | { |
| 157 | "id": "displayName", |
| 158 | "value": "ONF Menlo 2" |
| 159 | } |
| 160 | ] |
| 161 | }, |
| 162 | { |
| 163 | "matcher": { |
| 164 | "id": "byName", |
| 165 | "options": "production-ace-tucson-1" |
| 166 | }, |
| 167 | "properties": [ |
| 168 | { |
| 169 | "id": "displayName", |
| 170 | "value": "ONF Tucson 1" |
| 171 | } |
| 172 | ] |
| 173 | }, |
| 174 | { |
| 175 | "matcher": { |
| 176 | "id": "byName", |
| 177 | "options": "production-ace-tucson-2" |
| 178 | }, |
| 179 | "properties": [ |
| 180 | { |
| 181 | "id": "displayName", |
| 182 | "value": "ONF Tucson 2" |
| 183 | } |
| 184 | ] |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 185 | }, |
| 186 | { |
| 187 | "matcher": { |
| 188 | "id": "byName", |
| 189 | "options": "production-ace-princeton1-1" |
| 190 | }, |
| 191 | "properties": [ |
| 192 | { |
| 193 | "id": "displayName", |
| 194 | "value": "Princeton 1" |
| 195 | } |
| 196 | ] |
| 197 | }, |
| 198 | { |
| 199 | "matcher": { |
| 200 | "id": "byName", |
| 201 | "options": "production-ace-princeton1-2" |
| 202 | }, |
| 203 | "properties": [ |
| 204 | { |
| 205 | "id": "displayName", |
| 206 | "value": "Princeton 2" |
| 207 | } |
| 208 | ] |
| 209 | }, |
| 210 | { |
| 211 | "matcher": { |
| 212 | "id": "byName", |
| 213 | "options": "production-ace-stanford1-1" |
| 214 | }, |
| 215 | "properties": [ |
| 216 | { |
| 217 | "id": "displayName", |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 218 | "value": "Stanford1 1" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 219 | } |
| 220 | ] |
| 221 | }, |
| 222 | { |
| 223 | "matcher": { |
| 224 | "id": "byName", |
| 225 | "options": "production-ace-stanford1-2" |
| 226 | }, |
| 227 | "properties": [ |
| 228 | { |
| 229 | "id": "displayName", |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 230 | "value": "Stanford1 2" |
| 231 | } |
| 232 | ] |
| 233 | }, |
| 234 | { |
| 235 | "matcher": { |
| 236 | "id": "byName", |
| 237 | "options": "production-ace-stanford2-1" |
| 238 | }, |
| 239 | "properties": [ |
| 240 | { |
| 241 | "id": "displayName", |
| 242 | "value": "Stanford2 1" |
| 243 | } |
| 244 | ] |
| 245 | }, |
| 246 | { |
| 247 | "matcher": { |
| 248 | "id": "byName", |
| 249 | "options": "production-ace-stanford2-2" |
| 250 | }, |
| 251 | "properties": [ |
| 252 | { |
| 253 | "id": "displayName", |
| 254 | "value": "Stanford2 2" |
| 255 | } |
| 256 | ] |
| 257 | }, |
| 258 | { |
| 259 | "matcher": { |
| 260 | "id": "byName", |
| 261 | "options": "production-ace-cornell1-1" |
| 262 | }, |
| 263 | "properties": [ |
| 264 | { |
| 265 | "id": "displayName", |
| 266 | "value": "Cornell 1" |
| 267 | } |
| 268 | ] |
| 269 | }, |
| 270 | { |
| 271 | "matcher": { |
| 272 | "id": "byName", |
| 273 | "options": "production-ace-cornell1-2" |
| 274 | }, |
| 275 | "properties": [ |
| 276 | { |
| 277 | "id": "displayName", |
| 278 | "value": "Cornell 2" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 279 | } |
| 280 | ] |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 281 | } |
| 282 | ] |
| 283 | }, |
| 284 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 285 | "h": 4, |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 286 | "w": 24, |
| 287 | "x": 0, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 288 | "y": 1 |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 289 | }, |
| 290 | "id": 33, |
| 291 | "options": { |
| 292 | "colorMode": "value", |
| 293 | "graphMode": "area", |
| 294 | "justifyMode": "auto", |
| 295 | "orientation": "auto", |
| 296 | "reduceOptions": { |
| 297 | "calcs": [ |
| 298 | "last" |
| 299 | ], |
| 300 | "fields": "", |
| 301 | "values": false |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 302 | }, |
| 303 | "textMode": "auto" |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 304 | }, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 305 | "pluginVersion": "7.1.5", |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 306 | "repeat": null, |
| 307 | "targets": [ |
| 308 | { |
| 309 | "metricQuery": { |
| 310 | "aliasBy": "{{ metric.label.tunnel_name }}", |
| 311 | "alignmentPeriod": "stackdriver-auto", |
| 312 | "crossSeriesReducer": "REDUCE_NONE", |
Andy Bavier | dbd45bd | 2020-10-02 15:48:35 -0700 | [diff] [blame] | 313 | "filters": [ |
Andy Bavier | acbe6af | 2020-10-06 13:51:42 -0700 | [diff] [blame] | 314 | "metric.label.tunnel_name", |
Hyunsun Moon | d0d37d5 | 2020-10-26 20:20:37 -0700 | [diff] [blame] | 315 | "=", |
| 316 | "production-ace-*" |
Andy Bavier | dbd45bd | 2020-10-02 15:48:35 -0700 | [diff] [blame] | 317 | ], |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 318 | "groupBys": [], |
| 319 | "metricKind": "GAUGE", |
| 320 | "metricType": "vpn.googleapis.com/tunnel_established", |
| 321 | "perSeriesAligner": "ALIGN_INTERPOLATE", |
| 322 | "projectName": "onf-vpn", |
| 323 | "unit": "1", |
| 324 | "valueType": "DOUBLE" |
| 325 | }, |
| 326 | "queryType": "metrics", |
| 327 | "refId": "A" |
| 328 | } |
| 329 | ], |
| 330 | "timeFrom": null, |
| 331 | "timeShift": null, |
| 332 | "title": "VPN connections from Google Cloud", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 333 | "transformations": [], |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 334 | "type": "stat" |
| 335 | }, |
| 336 | { |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 337 | "collapsed": false, |
| 338 | "datasource": null, |
| 339 | "gridPos": { |
| 340 | "h": 1, |
| 341 | "w": 24, |
| 342 | "x": 0, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 343 | "y": 5 |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 344 | }, |
| 345 | "id": 35, |
| 346 | "panels": [], |
| 347 | "repeat": "edge", |
| 348 | "scopedVars": { |
| 349 | "edge": { |
| 350 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 351 | "text": "ace-cornell1-prd", |
| 352 | "value": "ace-cornell1-prd" |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 353 | } |
| 354 | }, |
| 355 | "title": "Edge: $edge", |
| 356 | "type": "row" |
| 357 | }, |
| 358 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 359 | "datasource": "RANCHER_MONITORING_GLOBAL", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 360 | "description": "", |
| 361 | "fieldConfig": { |
| 362 | "defaults": { |
| 363 | "custom": {}, |
| 364 | "mappings": [ |
| 365 | { |
| 366 | "from": "", |
| 367 | "id": 1, |
| 368 | "operator": "", |
| 369 | "text": "error", |
| 370 | "to": "", |
| 371 | "type": 1, |
| 372 | "value": "-1" |
| 373 | }, |
| 374 | { |
| 375 | "from": "", |
| 376 | "id": 2, |
| 377 | "operator": "", |
| 378 | "text": "disconnected", |
| 379 | "to": "", |
| 380 | "type": 1, |
| 381 | "value": "0" |
| 382 | }, |
| 383 | { |
| 384 | "from": "", |
| 385 | "id": 3, |
| 386 | "operator": "", |
| 387 | "text": "connecting", |
| 388 | "to": "", |
| 389 | "type": 1, |
| 390 | "value": "1" |
| 391 | }, |
| 392 | { |
| 393 | "from": "", |
| 394 | "id": 4, |
| 395 | "operator": "", |
| 396 | "text": "connected", |
| 397 | "to": "", |
| 398 | "type": 1, |
| 399 | "value": "2" |
| 400 | }, |
| 401 | { |
| 402 | "from": "", |
| 403 | "id": 5, |
| 404 | "operator": "", |
| 405 | "text": "no result", |
| 406 | "to": "", |
| 407 | "type": 1, |
| 408 | "value": "-2" |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 409 | }, |
| 410 | { |
| 411 | "from": "-100", |
| 412 | "id": 6, |
| 413 | "operator": "", |
| 414 | "text": "scheduled downtime", |
| 415 | "to": "-3", |
| 416 | "type": 2 |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 417 | } |
| 418 | ], |
| 419 | "thresholds": { |
| 420 | "mode": "absolute", |
| 421 | "steps": [ |
| 422 | { |
| 423 | "color": "red", |
| 424 | "value": null |
| 425 | }, |
| 426 | { |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 427 | "color": "#6ED0E0", |
| 428 | "value": -100 |
| 429 | }, |
| 430 | { |
| 431 | "color": "red", |
| 432 | "value": -2 |
| 433 | }, |
| 434 | { |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 435 | "color": "#EAB839", |
| 436 | "value": 1 |
| 437 | }, |
| 438 | { |
| 439 | "color": "green", |
| 440 | "value": 2 |
| 441 | } |
| 442 | ] |
| 443 | } |
| 444 | }, |
| 445 | "overrides": [] |
| 446 | }, |
| 447 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 448 | "h": 3, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 449 | "w": 5, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 450 | "x": 0, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 451 | "y": 6 |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 452 | }, |
| 453 | "id": 4, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 454 | "links": [ |
| 455 | { |
| 456 | "targetBlank": true, |
| 457 | "title": "Drill down: cluster compute", |
Andy Bavier | 7961ca3 | 2021-01-14 16:49:55 -0700 | [diff] [blame] | 458 | "url": "d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster?orgId=1&refresh=10s&var-datasource=${edge}&${__url_time_range}" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 459 | }, |
| 460 | { |
| 461 | "targetBlank": true, |
| 462 | "title": "Drill down: cluster networking", |
Andy Bavier | 7961ca3 | 2021-01-14 16:49:55 -0700 | [diff] [blame] | 463 | "url": "d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster?orgId=1&refresh=10s&var-resolution=5m&var-interval=4h&var-datasource=${edge}&${__url_time_range}" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 464 | }, |
| 465 | { |
| 466 | "targetBlank": true, |
| 467 | "title": "Drill down: nodes", |
Andy Bavier | 7961ca3 | 2021-01-14 16:49:55 -0700 | [diff] [blame] | 468 | "url": "d/fa49a4706d07a042595b664c87fb33ea/nodes?orgId=1&var-datasource=${edge}&${__url_time_range}" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 469 | } |
| 470 | ], |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 471 | "maxPerRow": 6, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 472 | "options": { |
| 473 | "colorMode": "background", |
| 474 | "graphMode": "none", |
| 475 | "justifyMode": "auto", |
| 476 | "orientation": "auto", |
| 477 | "reduceOptions": { |
| 478 | "calcs": [ |
| 479 | "last" |
| 480 | ], |
| 481 | "fields": "", |
| 482 | "values": false |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 483 | }, |
| 484 | "textMode": "auto" |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 485 | }, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 486 | "pluginVersion": "7.1.5", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 487 | "repeat": null, |
| 488 | "repeatDirection": "h", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 489 | "scopedVars": { |
| 490 | "edge": { |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 491 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 492 | "text": "ace-cornell1-prd", |
| 493 | "value": "ace-cornell1-prd" |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 494 | } |
| 495 | }, |
| 496 | "targets": [ |
| 497 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 498 | "expr": "sum(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 499 | "interval": "", |
| 500 | "legendFormat": "Control Plane", |
| 501 | "refId": "A" |
| 502 | }, |
| 503 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 504 | "expr": "sum(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 505 | "interval": "", |
| 506 | "legendFormat": "User Plane", |
| 507 | "refId": "B" |
| 508 | } |
| 509 | ], |
| 510 | "timeFrom": null, |
| 511 | "timeShift": null, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 512 | "title": "Current", |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 513 | "type": "stat" |
| 514 | }, |
| 515 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 516 | "datasource": "RANCHER_MONITORING_GLOBAL", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 517 | "fieldConfig": { |
| 518 | "defaults": { |
| 519 | "custom": {}, |
| 520 | "mappings": [], |
| 521 | "thresholds": { |
| 522 | "mode": "absolute", |
| 523 | "steps": [ |
| 524 | { |
| 525 | "color": "red", |
| 526 | "value": null |
| 527 | }, |
| 528 | { |
| 529 | "color": "#EAB839", |
| 530 | "value": 50 |
| 531 | }, |
| 532 | { |
| 533 | "color": "green", |
| 534 | "value": 95 |
| 535 | } |
| 536 | ] |
| 537 | }, |
| 538 | "unit": "percent" |
| 539 | }, |
| 540 | "overrides": [] |
| 541 | }, |
| 542 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 543 | "h": 3, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 544 | "w": 4, |
| 545 | "x": 5, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 546 | "y": 6 |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 547 | }, |
| 548 | "id": 5, |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 549 | "maxPerRow": 6, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 550 | "options": { |
| 551 | "colorMode": "background", |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 552 | "graphMode": "none", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 553 | "justifyMode": "auto", |
| 554 | "orientation": "auto", |
| 555 | "reduceOptions": { |
| 556 | "calcs": [ |
| 557 | "mean" |
| 558 | ], |
| 559 | "fields": "", |
| 560 | "values": false |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 561 | }, |
| 562 | "textMode": "auto" |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 563 | }, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 564 | "pluginVersion": "7.1.5", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 565 | "repeat": null, |
| 566 | "repeatDirection": "h", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 567 | "scopedVars": { |
| 568 | "edge": { |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 569 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 570 | "text": "ace-cornell1-prd", |
| 571 | "value": "ace-cornell1-prd" |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 572 | } |
| 573 | }, |
| 574 | "targets": [ |
| 575 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 576 | "expr": "sum(clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 577 | "interval": "", |
| 578 | "legendFormat": "Control Plane", |
| 579 | "refId": "A" |
| 580 | }, |
| 581 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 582 | "expr": "sum(clamp_min(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 583 | "interval": "", |
| 584 | "legendFormat": "User Plane", |
| 585 | "refId": "B" |
| 586 | } |
| 587 | ], |
| 588 | "timeFrom": null, |
| 589 | "timeShift": null, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 590 | "title": "Uptime", |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 591 | "transformations": [], |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 592 | "type": "stat" |
| 593 | }, |
| 594 | { |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 595 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 596 | "description": "", |
| 597 | "fieldConfig": { |
| 598 | "defaults": { |
| 599 | "custom": {}, |
| 600 | "decimals": 0, |
| 601 | "mappings": [], |
| 602 | "thresholds": { |
| 603 | "mode": "absolute", |
| 604 | "steps": [ |
| 605 | { |
| 606 | "color": "green", |
| 607 | "value": null |
| 608 | }, |
| 609 | { |
| 610 | "color": "#EAB839", |
| 611 | "value": 1 |
| 612 | }, |
| 613 | { |
| 614 | "color": "red", |
| 615 | "value": 10 |
| 616 | } |
| 617 | ] |
| 618 | }, |
| 619 | "unit": "percent" |
| 620 | }, |
| 621 | "overrides": [] |
| 622 | }, |
| 623 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 624 | "h": 3, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 625 | "w": 2, |
| 626 | "x": 9, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 627 | "y": 6 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 628 | }, |
| 629 | "id": 90, |
| 630 | "maxPerRow": 6, |
| 631 | "options": { |
| 632 | "colorMode": "background", |
| 633 | "graphMode": "none", |
| 634 | "justifyMode": "auto", |
| 635 | "orientation": "auto", |
| 636 | "reduceOptions": { |
| 637 | "calcs": [ |
| 638 | "mean" |
| 639 | ], |
| 640 | "fields": "", |
| 641 | "values": false |
| 642 | }, |
| 643 | "textMode": "auto" |
| 644 | }, |
| 645 | "pluginVersion": "7.1.5", |
| 646 | "repeatDirection": "h", |
| 647 | "scopedVars": { |
| 648 | "edge": { |
| 649 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 650 | "text": "ace-cornell1-prd", |
| 651 | "value": "ace-cornell1-prd" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 652 | } |
| 653 | }, |
| 654 | "targets": [ |
| 655 | { |
| 656 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0)) * 100", |
| 657 | "interval": "", |
| 658 | "legendFormat": "", |
| 659 | "refId": "A" |
| 660 | } |
| 661 | ], |
| 662 | "timeFrom": null, |
| 663 | "timeShift": null, |
| 664 | "title": "Unscheduled Downtime", |
| 665 | "transformations": [], |
| 666 | "type": "stat" |
| 667 | }, |
| 668 | { |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 669 | "aliasColors": { |
| 670 | "Scheduled": "blue", |
| 671 | "Scheduled downtime": "blue", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 672 | "Test down": "yellow", |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 673 | "Unscheduled": "red", |
| 674 | "Unscheduled downtime": "red" |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 675 | }, |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 676 | "bars": false, |
| 677 | "dashLength": 10, |
| 678 | "dashes": false, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 679 | "datasource": "RANCHER_MONITORING_GLOBAL", |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 680 | "fieldConfig": { |
| 681 | "defaults": { |
| 682 | "custom": {}, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 683 | "links": [] |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 684 | }, |
| 685 | "overrides": [] |
| 686 | }, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 687 | "fill": 10, |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 688 | "fillGradient": 0, |
| 689 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 690 | "h": 3, |
| 691 | "w": 11, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 692 | "x": 11, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 693 | "y": 6 |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 694 | }, |
| 695 | "hiddenSeries": false, |
| 696 | "id": 23, |
| 697 | "legend": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 698 | "alignAsTable": false, |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 699 | "avg": false, |
| 700 | "current": false, |
| 701 | "max": false, |
| 702 | "min": false, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 703 | "rightSide": false, |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 704 | "show": true, |
| 705 | "total": false, |
| 706 | "values": false |
| 707 | }, |
| 708 | "lines": true, |
| 709 | "linewidth": 0, |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 710 | "maxPerRow": 6, |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 711 | "nullPointMode": "null", |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 712 | "percentage": false, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 713 | "pluginVersion": "7.1.5", |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 714 | "pointradius": 2, |
| 715 | "points": false, |
| 716 | "renderer": "flot", |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 717 | "repeat": null, |
| 718 | "repeatDirection": "h", |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 719 | "scopedVars": { |
| 720 | "edge": { |
| 721 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 722 | "text": "ace-cornell1-prd", |
| 723 | "value": "ace-cornell1-prd" |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 724 | } |
| 725 | }, |
| 726 | "seriesOverrides": [], |
| 727 | "spaceLength": 10, |
| 728 | "stack": false, |
| 729 | "steppedLine": true, |
| 730 | "targets": [ |
| 731 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 732 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0))", |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 733 | "interval": "", |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 734 | "legendFormat": "Unscheduled", |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 735 | "refId": "A" |
| 736 | }, |
| 737 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 738 | "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 739 | "interval": "", |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 740 | "legendFormat": "Scheduled", |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 741 | "refId": "B" |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 742 | }, |
| 743 | { |
| 744 | "expr": "sum(clamp_min((aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} * -1) - 1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}, 0))", |
| 745 | "interval": "", |
| 746 | "legendFormat": "Test down", |
| 747 | "refId": "C" |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 748 | } |
| 749 | ], |
| 750 | "thresholds": [], |
| 751 | "timeFrom": null, |
| 752 | "timeRegions": [], |
| 753 | "timeShift": null, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 754 | "title": "Downtime", |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 755 | "tooltip": { |
| 756 | "shared": true, |
| 757 | "sort": 0, |
| 758 | "value_type": "individual" |
| 759 | }, |
| 760 | "type": "graph", |
| 761 | "xaxis": { |
| 762 | "buckets": null, |
| 763 | "mode": "time", |
| 764 | "name": null, |
| 765 | "show": true, |
| 766 | "values": [] |
| 767 | }, |
| 768 | "yaxes": [ |
| 769 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 770 | "$$hashKey": "object:93", |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 771 | "decimals": 0, |
| 772 | "format": "short", |
| 773 | "label": "", |
| 774 | "logBase": 1, |
| 775 | "max": "1", |
| 776 | "min": "0", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 777 | "show": false |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 778 | }, |
| 779 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 780 | "$$hashKey": "object:94", |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 781 | "format": "short", |
| 782 | "label": null, |
| 783 | "logBase": 1, |
| 784 | "max": null, |
| 785 | "min": null, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 786 | "show": false |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 787 | } |
| 788 | ], |
| 789 | "yaxis": { |
| 790 | "align": false, |
| 791 | "alignLevel": null |
| 792 | } |
| 793 | }, |
| 794 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 795 | "datasource": "$edge", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 796 | "fieldConfig": { |
| 797 | "defaults": { |
| 798 | "custom": {}, |
| 799 | "mappings": [], |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 800 | "noValue": "0", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 801 | "thresholds": { |
| 802 | "mode": "absolute", |
| 803 | "steps": [ |
| 804 | { |
| 805 | "color": "green", |
| 806 | "value": null |
| 807 | }, |
| 808 | { |
| 809 | "color": "red", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 810 | "value": 1 |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 811 | } |
| 812 | ] |
| 813 | } |
| 814 | }, |
| 815 | "overrides": [] |
| 816 | }, |
| 817 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 818 | "h": 3, |
| 819 | "w": 2, |
| 820 | "x": 22, |
| 821 | "y": 6 |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 822 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 823 | "id": 92, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 824 | "options": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 825 | "colorMode": "value", |
| 826 | "graphMode": "area", |
| 827 | "justifyMode": "auto", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 828 | "orientation": "auto", |
| 829 | "reduceOptions": { |
| 830 | "calcs": [ |
| 831 | "last" |
| 832 | ], |
| 833 | "fields": "", |
| 834 | "values": false |
| 835 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 836 | "textMode": "auto" |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 837 | }, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 838 | "pluginVersion": "7.1.5", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 839 | "scopedVars": { |
| 840 | "edge": { |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 841 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 842 | "text": "ace-cornell1-prd", |
| 843 | "value": "ace-cornell1-prd" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 844 | } |
| 845 | }, |
| 846 | "targets": [ |
| 847 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 848 | "expr": "sum(ALERTS{alertstate=\"firing\", severity=~\"critical|warning\", alertname!~\"NodeClockNotSynchronising|Kube.*Overcommit\"})", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 849 | "interval": "", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 850 | "legendFormat": "", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 851 | "refId": "A" |
| 852 | } |
| 853 | ], |
| 854 | "timeFrom": null, |
| 855 | "timeShift": null, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 856 | "title": "Alerts", |
| 857 | "type": "stat" |
| 858 | }, |
| 859 | { |
| 860 | "collapsed": false, |
| 861 | "datasource": null, |
| 862 | "gridPos": { |
| 863 | "h": 1, |
| 864 | "w": 24, |
| 865 | "x": 0, |
| 866 | "y": 9 |
| 867 | }, |
| 868 | "id": 93, |
| 869 | "panels": [], |
| 870 | "repeat": null, |
| 871 | "repeatIteration": 1611099859488, |
| 872 | "repeatPanelId": 35, |
| 873 | "scopedVars": { |
| 874 | "edge": { |
| 875 | "selected": false, |
| 876 | "text": "ace-intel", |
| 877 | "value": "ace-intel" |
| 878 | } |
| 879 | }, |
| 880 | "title": "Edge: $edge", |
| 881 | "type": "row" |
| 882 | }, |
| 883 | { |
| 884 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 885 | "description": "", |
| 886 | "fieldConfig": { |
| 887 | "defaults": { |
| 888 | "custom": {}, |
| 889 | "mappings": [ |
| 890 | { |
| 891 | "from": "", |
| 892 | "id": 1, |
| 893 | "operator": "", |
| 894 | "text": "error", |
| 895 | "to": "", |
| 896 | "type": 1, |
| 897 | "value": "-1" |
| 898 | }, |
| 899 | { |
| 900 | "from": "", |
| 901 | "id": 2, |
| 902 | "operator": "", |
| 903 | "text": "disconnected", |
| 904 | "to": "", |
| 905 | "type": 1, |
| 906 | "value": "0" |
| 907 | }, |
| 908 | { |
| 909 | "from": "", |
| 910 | "id": 3, |
| 911 | "operator": "", |
| 912 | "text": "connecting", |
| 913 | "to": "", |
| 914 | "type": 1, |
| 915 | "value": "1" |
| 916 | }, |
| 917 | { |
| 918 | "from": "", |
| 919 | "id": 4, |
| 920 | "operator": "", |
| 921 | "text": "connected", |
| 922 | "to": "", |
| 923 | "type": 1, |
| 924 | "value": "2" |
| 925 | }, |
| 926 | { |
| 927 | "from": "", |
| 928 | "id": 5, |
| 929 | "operator": "", |
| 930 | "text": "no result", |
| 931 | "to": "", |
| 932 | "type": 1, |
| 933 | "value": "-2" |
| 934 | }, |
| 935 | { |
| 936 | "from": "-100", |
| 937 | "id": 6, |
| 938 | "operator": "", |
| 939 | "text": "scheduled downtime", |
| 940 | "to": "-3", |
| 941 | "type": 2 |
| 942 | } |
| 943 | ], |
| 944 | "thresholds": { |
| 945 | "mode": "absolute", |
| 946 | "steps": [ |
| 947 | { |
| 948 | "color": "red", |
| 949 | "value": null |
| 950 | }, |
| 951 | { |
| 952 | "color": "#6ED0E0", |
| 953 | "value": -100 |
| 954 | }, |
| 955 | { |
| 956 | "color": "red", |
| 957 | "value": -2 |
| 958 | }, |
| 959 | { |
| 960 | "color": "#EAB839", |
| 961 | "value": 1 |
| 962 | }, |
| 963 | { |
| 964 | "color": "green", |
| 965 | "value": 2 |
| 966 | } |
| 967 | ] |
| 968 | } |
| 969 | }, |
| 970 | "overrides": [] |
| 971 | }, |
| 972 | "gridPos": { |
| 973 | "h": 3, |
| 974 | "w": 5, |
| 975 | "x": 0, |
| 976 | "y": 10 |
| 977 | }, |
| 978 | "id": 94, |
| 979 | "links": [ |
| 980 | { |
| 981 | "targetBlank": true, |
| 982 | "title": "Drill down: cluster compute", |
| 983 | "url": "d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster?orgId=1&refresh=10s&var-datasource=${edge}&${__url_time_range}" |
| 984 | }, |
| 985 | { |
| 986 | "targetBlank": true, |
| 987 | "title": "Drill down: cluster networking", |
| 988 | "url": "d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster?orgId=1&refresh=10s&var-resolution=5m&var-interval=4h&var-datasource=${edge}&${__url_time_range}" |
| 989 | }, |
| 990 | { |
| 991 | "targetBlank": true, |
| 992 | "title": "Drill down: nodes", |
| 993 | "url": "d/fa49a4706d07a042595b664c87fb33ea/nodes?orgId=1&var-datasource=${edge}&${__url_time_range}" |
| 994 | } |
| 995 | ], |
| 996 | "maxPerRow": 6, |
| 997 | "options": { |
| 998 | "colorMode": "background", |
| 999 | "graphMode": "none", |
| 1000 | "justifyMode": "auto", |
| 1001 | "orientation": "auto", |
| 1002 | "reduceOptions": { |
| 1003 | "calcs": [ |
| 1004 | "last" |
| 1005 | ], |
| 1006 | "fields": "", |
| 1007 | "values": false |
| 1008 | }, |
| 1009 | "textMode": "auto" |
| 1010 | }, |
| 1011 | "pluginVersion": "7.1.5", |
| 1012 | "repeat": null, |
| 1013 | "repeatDirection": "h", |
| 1014 | "repeatIteration": 1611099859488, |
| 1015 | "repeatPanelId": 4, |
| 1016 | "repeatedByRow": true, |
| 1017 | "scopedVars": { |
| 1018 | "edge": { |
| 1019 | "selected": false, |
| 1020 | "text": "ace-intel", |
| 1021 | "value": "ace-intel" |
| 1022 | } |
| 1023 | }, |
| 1024 | "targets": [ |
| 1025 | { |
| 1026 | "expr": "sum(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| 1027 | "interval": "", |
| 1028 | "legendFormat": "Control Plane", |
| 1029 | "refId": "A" |
| 1030 | }, |
| 1031 | { |
| 1032 | "expr": "sum(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| 1033 | "interval": "", |
| 1034 | "legendFormat": "User Plane", |
| 1035 | "refId": "B" |
| 1036 | } |
| 1037 | ], |
| 1038 | "timeFrom": null, |
| 1039 | "timeShift": null, |
| 1040 | "title": "Current", |
| 1041 | "type": "stat" |
| 1042 | }, |
| 1043 | { |
| 1044 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 1045 | "fieldConfig": { |
| 1046 | "defaults": { |
| 1047 | "custom": {}, |
| 1048 | "mappings": [], |
| 1049 | "thresholds": { |
| 1050 | "mode": "absolute", |
| 1051 | "steps": [ |
| 1052 | { |
| 1053 | "color": "red", |
| 1054 | "value": null |
| 1055 | }, |
| 1056 | { |
| 1057 | "color": "#EAB839", |
| 1058 | "value": 50 |
| 1059 | }, |
| 1060 | { |
| 1061 | "color": "green", |
| 1062 | "value": 95 |
| 1063 | } |
| 1064 | ] |
| 1065 | }, |
| 1066 | "unit": "percent" |
| 1067 | }, |
| 1068 | "overrides": [] |
| 1069 | }, |
| 1070 | "gridPos": { |
| 1071 | "h": 3, |
| 1072 | "w": 4, |
| 1073 | "x": 5, |
| 1074 | "y": 10 |
| 1075 | }, |
| 1076 | "id": 95, |
| 1077 | "maxPerRow": 6, |
| 1078 | "options": { |
| 1079 | "colorMode": "background", |
| 1080 | "graphMode": "none", |
| 1081 | "justifyMode": "auto", |
| 1082 | "orientation": "auto", |
| 1083 | "reduceOptions": { |
| 1084 | "calcs": [ |
| 1085 | "mean" |
| 1086 | ], |
| 1087 | "fields": "", |
| 1088 | "values": false |
| 1089 | }, |
| 1090 | "textMode": "auto" |
| 1091 | }, |
| 1092 | "pluginVersion": "7.1.5", |
| 1093 | "repeat": null, |
| 1094 | "repeatDirection": "h", |
| 1095 | "repeatIteration": 1611099859488, |
| 1096 | "repeatPanelId": 5, |
| 1097 | "repeatedByRow": true, |
| 1098 | "scopedVars": { |
| 1099 | "edge": { |
| 1100 | "selected": false, |
| 1101 | "text": "ace-intel", |
| 1102 | "value": "ace-intel" |
| 1103 | } |
| 1104 | }, |
| 1105 | "targets": [ |
| 1106 | { |
| 1107 | "expr": "sum(clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
| 1108 | "interval": "", |
| 1109 | "legendFormat": "Control Plane", |
| 1110 | "refId": "A" |
| 1111 | }, |
| 1112 | { |
| 1113 | "expr": "sum(clamp_min(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
| 1114 | "interval": "", |
| 1115 | "legendFormat": "User Plane", |
| 1116 | "refId": "B" |
| 1117 | } |
| 1118 | ], |
| 1119 | "timeFrom": null, |
| 1120 | "timeShift": null, |
| 1121 | "title": "Uptime", |
| 1122 | "transformations": [], |
| 1123 | "type": "stat" |
| 1124 | }, |
| 1125 | { |
| 1126 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 1127 | "description": "", |
| 1128 | "fieldConfig": { |
| 1129 | "defaults": { |
| 1130 | "custom": {}, |
| 1131 | "decimals": 0, |
| 1132 | "mappings": [], |
| 1133 | "thresholds": { |
| 1134 | "mode": "absolute", |
| 1135 | "steps": [ |
| 1136 | { |
| 1137 | "color": "green", |
| 1138 | "value": null |
| 1139 | }, |
| 1140 | { |
| 1141 | "color": "#EAB839", |
| 1142 | "value": 1 |
| 1143 | }, |
| 1144 | { |
| 1145 | "color": "red", |
| 1146 | "value": 10 |
| 1147 | } |
| 1148 | ] |
| 1149 | }, |
| 1150 | "unit": "percent" |
| 1151 | }, |
| 1152 | "overrides": [] |
| 1153 | }, |
| 1154 | "gridPos": { |
| 1155 | "h": 3, |
| 1156 | "w": 2, |
| 1157 | "x": 9, |
| 1158 | "y": 10 |
| 1159 | }, |
| 1160 | "id": 96, |
| 1161 | "maxPerRow": 6, |
| 1162 | "options": { |
| 1163 | "colorMode": "background", |
| 1164 | "graphMode": "none", |
| 1165 | "justifyMode": "auto", |
| 1166 | "orientation": "auto", |
| 1167 | "reduceOptions": { |
| 1168 | "calcs": [ |
| 1169 | "mean" |
| 1170 | ], |
| 1171 | "fields": "", |
| 1172 | "values": false |
| 1173 | }, |
| 1174 | "textMode": "auto" |
| 1175 | }, |
| 1176 | "pluginVersion": "7.1.5", |
| 1177 | "repeatDirection": "h", |
| 1178 | "repeatIteration": 1611099859488, |
| 1179 | "repeatPanelId": 90, |
| 1180 | "repeatedByRow": true, |
| 1181 | "scopedVars": { |
| 1182 | "edge": { |
| 1183 | "selected": false, |
| 1184 | "text": "ace-intel", |
| 1185 | "value": "ace-intel" |
| 1186 | } |
| 1187 | }, |
| 1188 | "targets": [ |
| 1189 | { |
| 1190 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0)) * 100", |
| 1191 | "interval": "", |
| 1192 | "legendFormat": "", |
| 1193 | "refId": "A" |
| 1194 | } |
| 1195 | ], |
| 1196 | "timeFrom": null, |
| 1197 | "timeShift": null, |
| 1198 | "title": "Unscheduled Downtime", |
| 1199 | "transformations": [], |
| 1200 | "type": "stat" |
| 1201 | }, |
| 1202 | { |
| 1203 | "aliasColors": { |
| 1204 | "Scheduled": "blue", |
| 1205 | "Scheduled downtime": "blue", |
| 1206 | "Test down": "yellow", |
| 1207 | "Unscheduled": "red", |
| 1208 | "Unscheduled downtime": "red" |
| 1209 | }, |
| 1210 | "bars": false, |
| 1211 | "dashLength": 10, |
| 1212 | "dashes": false, |
| 1213 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 1214 | "fieldConfig": { |
| 1215 | "defaults": { |
| 1216 | "custom": {}, |
| 1217 | "links": [] |
| 1218 | }, |
| 1219 | "overrides": [] |
| 1220 | }, |
| 1221 | "fill": 10, |
| 1222 | "fillGradient": 0, |
| 1223 | "gridPos": { |
| 1224 | "h": 3, |
| 1225 | "w": 11, |
| 1226 | "x": 11, |
| 1227 | "y": 10 |
| 1228 | }, |
| 1229 | "hiddenSeries": false, |
| 1230 | "id": 97, |
| 1231 | "legend": { |
| 1232 | "alignAsTable": false, |
| 1233 | "avg": false, |
| 1234 | "current": false, |
| 1235 | "max": false, |
| 1236 | "min": false, |
| 1237 | "rightSide": false, |
| 1238 | "show": true, |
| 1239 | "total": false, |
| 1240 | "values": false |
| 1241 | }, |
| 1242 | "lines": true, |
| 1243 | "linewidth": 0, |
| 1244 | "maxPerRow": 6, |
| 1245 | "nullPointMode": "null", |
| 1246 | "percentage": false, |
| 1247 | "pluginVersion": "7.1.5", |
| 1248 | "pointradius": 2, |
| 1249 | "points": false, |
| 1250 | "renderer": "flot", |
| 1251 | "repeat": null, |
| 1252 | "repeatDirection": "h", |
| 1253 | "repeatIteration": 1611099859488, |
| 1254 | "repeatPanelId": 23, |
| 1255 | "repeatedByRow": true, |
| 1256 | "scopedVars": { |
| 1257 | "edge": { |
| 1258 | "selected": false, |
| 1259 | "text": "ace-intel", |
| 1260 | "value": "ace-intel" |
| 1261 | } |
| 1262 | }, |
| 1263 | "seriesOverrides": [], |
| 1264 | "spaceLength": 10, |
| 1265 | "stack": false, |
| 1266 | "steppedLine": true, |
| 1267 | "targets": [ |
| 1268 | { |
| 1269 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0))", |
| 1270 | "interval": "", |
| 1271 | "legendFormat": "Unscheduled", |
| 1272 | "refId": "A" |
| 1273 | }, |
| 1274 | { |
| 1275 | "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| 1276 | "interval": "", |
| 1277 | "legendFormat": "Scheduled", |
| 1278 | "refId": "B" |
| 1279 | }, |
| 1280 | { |
| 1281 | "expr": "sum(clamp_min((aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} * -1) - 1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}, 0))", |
| 1282 | "interval": "", |
| 1283 | "legendFormat": "Test down", |
| 1284 | "refId": "C" |
| 1285 | } |
| 1286 | ], |
| 1287 | "thresholds": [], |
| 1288 | "timeFrom": null, |
| 1289 | "timeRegions": [], |
| 1290 | "timeShift": null, |
| 1291 | "title": "Downtime", |
| 1292 | "tooltip": { |
| 1293 | "shared": true, |
| 1294 | "sort": 0, |
| 1295 | "value_type": "individual" |
| 1296 | }, |
| 1297 | "type": "graph", |
| 1298 | "xaxis": { |
| 1299 | "buckets": null, |
| 1300 | "mode": "time", |
| 1301 | "name": null, |
| 1302 | "show": true, |
| 1303 | "values": [] |
| 1304 | }, |
| 1305 | "yaxes": [ |
| 1306 | { |
| 1307 | "$$hashKey": "object:93", |
| 1308 | "decimals": 0, |
| 1309 | "format": "short", |
| 1310 | "label": "", |
| 1311 | "logBase": 1, |
| 1312 | "max": "1", |
| 1313 | "min": "0", |
| 1314 | "show": false |
| 1315 | }, |
| 1316 | { |
| 1317 | "$$hashKey": "object:94", |
| 1318 | "format": "short", |
| 1319 | "label": null, |
| 1320 | "logBase": 1, |
| 1321 | "max": null, |
| 1322 | "min": null, |
| 1323 | "show": false |
| 1324 | } |
| 1325 | ], |
| 1326 | "yaxis": { |
| 1327 | "align": false, |
| 1328 | "alignLevel": null |
| 1329 | } |
| 1330 | }, |
| 1331 | { |
| 1332 | "datasource": "$edge", |
| 1333 | "fieldConfig": { |
| 1334 | "defaults": { |
| 1335 | "custom": {}, |
| 1336 | "mappings": [], |
| 1337 | "noValue": "0", |
| 1338 | "thresholds": { |
| 1339 | "mode": "absolute", |
| 1340 | "steps": [ |
| 1341 | { |
| 1342 | "color": "green", |
| 1343 | "value": null |
| 1344 | }, |
| 1345 | { |
| 1346 | "color": "red", |
| 1347 | "value": 1 |
| 1348 | } |
| 1349 | ] |
| 1350 | } |
| 1351 | }, |
| 1352 | "overrides": [] |
| 1353 | }, |
| 1354 | "gridPos": { |
| 1355 | "h": 3, |
| 1356 | "w": 2, |
| 1357 | "x": 22, |
| 1358 | "y": 10 |
| 1359 | }, |
| 1360 | "id": 98, |
| 1361 | "options": { |
| 1362 | "colorMode": "value", |
| 1363 | "graphMode": "area", |
| 1364 | "justifyMode": "auto", |
| 1365 | "orientation": "auto", |
| 1366 | "reduceOptions": { |
| 1367 | "calcs": [ |
| 1368 | "last" |
| 1369 | ], |
| 1370 | "fields": "", |
| 1371 | "values": false |
| 1372 | }, |
| 1373 | "textMode": "auto" |
| 1374 | }, |
| 1375 | "pluginVersion": "7.1.5", |
| 1376 | "repeatIteration": 1611099859488, |
| 1377 | "repeatPanelId": 92, |
| 1378 | "repeatedByRow": true, |
| 1379 | "scopedVars": { |
| 1380 | "edge": { |
| 1381 | "selected": false, |
| 1382 | "text": "ace-intel", |
| 1383 | "value": "ace-intel" |
| 1384 | } |
| 1385 | }, |
| 1386 | "targets": [ |
| 1387 | { |
| 1388 | "expr": "sum(ALERTS{alertstate=\"firing\", severity=~\"critical|warning\", alertname!~\"NodeClockNotSynchronising|Kube.*Overcommit\"})", |
| 1389 | "interval": "", |
| 1390 | "legendFormat": "", |
| 1391 | "refId": "A" |
| 1392 | } |
| 1393 | ], |
| 1394 | "timeFrom": null, |
| 1395 | "timeShift": null, |
| 1396 | "title": "Alerts", |
| 1397 | "type": "stat" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1398 | }, |
| 1399 | { |
| 1400 | "collapsed": false, |
| 1401 | "datasource": null, |
| 1402 | "gridPos": { |
| 1403 | "h": 1, |
| 1404 | "w": 24, |
| 1405 | "x": 0, |
Andy Bavier | 1be3dc9 | 2021-01-15 09:36:29 -0700 | [diff] [blame] | 1406 | "y": 13 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1407 | }, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1408 | "id": 99, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1409 | "panels": [], |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1410 | "repeat": null, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1411 | "repeatIteration": 1611099859488, |
| 1412 | "repeatPanelId": 35, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1413 | "scopedVars": { |
| 1414 | "edge": { |
| 1415 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 1416 | "text": "ace-menlo-pixel", |
| 1417 | "value": "ace-menlo-pixel" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1418 | } |
| 1419 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1420 | "title": "Edge: $edge", |
| 1421 | "type": "row" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1422 | }, |
| 1423 | { |
| 1424 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 1425 | "description": "", |
| 1426 | "fieldConfig": { |
| 1427 | "defaults": { |
| 1428 | "custom": {}, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1429 | "mappings": [ |
| 1430 | { |
| 1431 | "from": "", |
| 1432 | "id": 1, |
| 1433 | "operator": "", |
| 1434 | "text": "error", |
| 1435 | "to": "", |
| 1436 | "type": 1, |
| 1437 | "value": "-1" |
| 1438 | }, |
| 1439 | { |
| 1440 | "from": "", |
| 1441 | "id": 2, |
| 1442 | "operator": "", |
| 1443 | "text": "disconnected", |
| 1444 | "to": "", |
| 1445 | "type": 1, |
| 1446 | "value": "0" |
| 1447 | }, |
| 1448 | { |
| 1449 | "from": "", |
| 1450 | "id": 3, |
| 1451 | "operator": "", |
| 1452 | "text": "connecting", |
| 1453 | "to": "", |
| 1454 | "type": 1, |
| 1455 | "value": "1" |
| 1456 | }, |
| 1457 | { |
| 1458 | "from": "", |
| 1459 | "id": 4, |
| 1460 | "operator": "", |
| 1461 | "text": "connected", |
| 1462 | "to": "", |
| 1463 | "type": 1, |
| 1464 | "value": "2" |
| 1465 | }, |
| 1466 | { |
| 1467 | "from": "", |
| 1468 | "id": 5, |
| 1469 | "operator": "", |
| 1470 | "text": "no result", |
| 1471 | "to": "", |
| 1472 | "type": 1, |
| 1473 | "value": "-2" |
| 1474 | }, |
| 1475 | { |
| 1476 | "from": "-100", |
| 1477 | "id": 6, |
| 1478 | "operator": "", |
| 1479 | "text": "scheduled downtime", |
| 1480 | "to": "-3", |
| 1481 | "type": 2 |
| 1482 | } |
| 1483 | ], |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1484 | "thresholds": { |
| 1485 | "mode": "absolute", |
| 1486 | "steps": [ |
| 1487 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1488 | "color": "red", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1489 | "value": null |
| 1490 | }, |
| 1491 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1492 | "color": "#6ED0E0", |
| 1493 | "value": -100 |
| 1494 | }, |
| 1495 | { |
| 1496 | "color": "red", |
| 1497 | "value": -2 |
| 1498 | }, |
| 1499 | { |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1500 | "color": "#EAB839", |
| 1501 | "value": 1 |
| 1502 | }, |
| 1503 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1504 | "color": "green", |
| 1505 | "value": 2 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1506 | } |
| 1507 | ] |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1508 | } |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1509 | }, |
| 1510 | "overrides": [] |
| 1511 | }, |
| 1512 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1513 | "h": 3, |
| 1514 | "w": 5, |
| 1515 | "x": 0, |
| 1516 | "y": 14 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1517 | }, |
| 1518 | "id": 100, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1519 | "links": [ |
| 1520 | { |
| 1521 | "targetBlank": true, |
| 1522 | "title": "Drill down: cluster compute", |
| 1523 | "url": "d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster?orgId=1&refresh=10s&var-datasource=${edge}&${__url_time_range}" |
| 1524 | }, |
| 1525 | { |
| 1526 | "targetBlank": true, |
| 1527 | "title": "Drill down: cluster networking", |
| 1528 | "url": "d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster?orgId=1&refresh=10s&var-resolution=5m&var-interval=4h&var-datasource=${edge}&${__url_time_range}" |
| 1529 | }, |
| 1530 | { |
| 1531 | "targetBlank": true, |
| 1532 | "title": "Drill down: nodes", |
| 1533 | "url": "d/fa49a4706d07a042595b664c87fb33ea/nodes?orgId=1&var-datasource=${edge}&${__url_time_range}" |
| 1534 | } |
| 1535 | ], |
| 1536 | "maxPerRow": 6, |
| 1537 | "options": { |
| 1538 | "colorMode": "background", |
| 1539 | "graphMode": "none", |
| 1540 | "justifyMode": "auto", |
| 1541 | "orientation": "auto", |
| 1542 | "reduceOptions": { |
| 1543 | "calcs": [ |
| 1544 | "last" |
| 1545 | ], |
| 1546 | "fields": "", |
| 1547 | "values": false |
| 1548 | }, |
| 1549 | "textMode": "auto" |
| 1550 | }, |
| 1551 | "pluginVersion": "7.1.5", |
| 1552 | "repeat": null, |
| 1553 | "repeatDirection": "h", |
| 1554 | "repeatIteration": 1611099859488, |
| 1555 | "repeatPanelId": 4, |
| 1556 | "repeatedByRow": true, |
| 1557 | "scopedVars": { |
| 1558 | "edge": { |
| 1559 | "selected": false, |
| 1560 | "text": "ace-menlo-pixel", |
| 1561 | "value": "ace-menlo-pixel" |
| 1562 | } |
| 1563 | }, |
| 1564 | "targets": [ |
| 1565 | { |
| 1566 | "expr": "sum(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| 1567 | "interval": "", |
| 1568 | "legendFormat": "Control Plane", |
| 1569 | "refId": "A" |
| 1570 | }, |
| 1571 | { |
| 1572 | "expr": "sum(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| 1573 | "interval": "", |
| 1574 | "legendFormat": "User Plane", |
| 1575 | "refId": "B" |
| 1576 | } |
| 1577 | ], |
| 1578 | "timeFrom": null, |
| 1579 | "timeShift": null, |
| 1580 | "title": "Current", |
| 1581 | "type": "stat" |
| 1582 | }, |
| 1583 | { |
| 1584 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 1585 | "fieldConfig": { |
| 1586 | "defaults": { |
| 1587 | "custom": {}, |
| 1588 | "mappings": [], |
| 1589 | "thresholds": { |
| 1590 | "mode": "absolute", |
| 1591 | "steps": [ |
| 1592 | { |
| 1593 | "color": "red", |
| 1594 | "value": null |
| 1595 | }, |
| 1596 | { |
| 1597 | "color": "#EAB839", |
| 1598 | "value": 50 |
| 1599 | }, |
| 1600 | { |
| 1601 | "color": "green", |
| 1602 | "value": 95 |
| 1603 | } |
| 1604 | ] |
| 1605 | }, |
| 1606 | "unit": "percent" |
| 1607 | }, |
| 1608 | "overrides": [] |
| 1609 | }, |
| 1610 | "gridPos": { |
| 1611 | "h": 3, |
| 1612 | "w": 4, |
| 1613 | "x": 5, |
| 1614 | "y": 14 |
| 1615 | }, |
| 1616 | "id": 101, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1617 | "maxPerRow": 6, |
| 1618 | "options": { |
| 1619 | "colorMode": "background", |
| 1620 | "graphMode": "none", |
| 1621 | "justifyMode": "auto", |
| 1622 | "orientation": "auto", |
| 1623 | "reduceOptions": { |
| 1624 | "calcs": [ |
| 1625 | "mean" |
| 1626 | ], |
| 1627 | "fields": "", |
| 1628 | "values": false |
| 1629 | }, |
| 1630 | "textMode": "auto" |
| 1631 | }, |
| 1632 | "pluginVersion": "7.1.5", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1633 | "repeat": null, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1634 | "repeatDirection": "h", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1635 | "repeatIteration": 1611099859488, |
| 1636 | "repeatPanelId": 5, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1637 | "repeatedByRow": true, |
| 1638 | "scopedVars": { |
| 1639 | "edge": { |
| 1640 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 1641 | "text": "ace-menlo-pixel", |
| 1642 | "value": "ace-menlo-pixel" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1643 | } |
| 1644 | }, |
| 1645 | "targets": [ |
| 1646 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1647 | "expr": "sum(clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1648 | "interval": "", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1649 | "legendFormat": "Control Plane", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1650 | "refId": "A" |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1651 | }, |
| 1652 | { |
| 1653 | "expr": "sum(clamp_min(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
| 1654 | "interval": "", |
| 1655 | "legendFormat": "User Plane", |
| 1656 | "refId": "B" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1657 | } |
| 1658 | ], |
| 1659 | "timeFrom": null, |
| 1660 | "timeShift": null, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1661 | "title": "Uptime", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1662 | "transformations": [], |
| 1663 | "type": "stat" |
| 1664 | }, |
| 1665 | { |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1666 | "datasource": "RANCHER_MONITORING_GLOBAL", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1667 | "description": "", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1668 | "fieldConfig": { |
| 1669 | "defaults": { |
| 1670 | "custom": {}, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1671 | "decimals": 0, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1672 | "mappings": [], |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1673 | "thresholds": { |
| 1674 | "mode": "absolute", |
| 1675 | "steps": [ |
| 1676 | { |
| 1677 | "color": "green", |
| 1678 | "value": null |
| 1679 | }, |
| 1680 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1681 | "color": "#EAB839", |
| 1682 | "value": 1 |
| 1683 | }, |
| 1684 | { |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1685 | "color": "red", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1686 | "value": 10 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1687 | } |
| 1688 | ] |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1689 | }, |
| 1690 | "unit": "percent" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1691 | }, |
| 1692 | "overrides": [] |
| 1693 | }, |
| 1694 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1695 | "h": 3, |
| 1696 | "w": 2, |
| 1697 | "x": 9, |
| 1698 | "y": 14 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1699 | }, |
| 1700 | "id": 102, |
| 1701 | "maxPerRow": 6, |
| 1702 | "options": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1703 | "colorMode": "background", |
| 1704 | "graphMode": "none", |
| 1705 | "justifyMode": "auto", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1706 | "orientation": "auto", |
| 1707 | "reduceOptions": { |
| 1708 | "calcs": [ |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1709 | "mean" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1710 | ], |
| 1711 | "fields": "", |
| 1712 | "values": false |
| 1713 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1714 | "textMode": "auto" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1715 | }, |
| 1716 | "pluginVersion": "7.1.5", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1717 | "repeatDirection": "h", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1718 | "repeatIteration": 1611099859488, |
| 1719 | "repeatPanelId": 90, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1720 | "repeatedByRow": true, |
| 1721 | "scopedVars": { |
| 1722 | "edge": { |
| 1723 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 1724 | "text": "ace-menlo-pixel", |
| 1725 | "value": "ace-menlo-pixel" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1726 | } |
| 1727 | }, |
| 1728 | "targets": [ |
| 1729 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1730 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0)) * 100", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1731 | "interval": "", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1732 | "legendFormat": "", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1733 | "refId": "A" |
| 1734 | } |
| 1735 | ], |
| 1736 | "timeFrom": null, |
| 1737 | "timeShift": null, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1738 | "title": "Unscheduled Downtime", |
| 1739 | "transformations": [], |
| 1740 | "type": "stat" |
| 1741 | }, |
| 1742 | { |
| 1743 | "aliasColors": { |
| 1744 | "Scheduled": "blue", |
| 1745 | "Scheduled downtime": "blue", |
| 1746 | "Test down": "yellow", |
| 1747 | "Unscheduled": "red", |
| 1748 | "Unscheduled downtime": "red" |
| 1749 | }, |
| 1750 | "bars": false, |
| 1751 | "dashLength": 10, |
| 1752 | "dashes": false, |
| 1753 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 1754 | "fieldConfig": { |
| 1755 | "defaults": { |
| 1756 | "custom": {}, |
| 1757 | "links": [] |
| 1758 | }, |
| 1759 | "overrides": [] |
| 1760 | }, |
| 1761 | "fill": 10, |
| 1762 | "fillGradient": 0, |
| 1763 | "gridPos": { |
| 1764 | "h": 3, |
| 1765 | "w": 11, |
| 1766 | "x": 11, |
| 1767 | "y": 14 |
| 1768 | }, |
| 1769 | "hiddenSeries": false, |
| 1770 | "id": 103, |
| 1771 | "legend": { |
| 1772 | "alignAsTable": false, |
| 1773 | "avg": false, |
| 1774 | "current": false, |
| 1775 | "max": false, |
| 1776 | "min": false, |
| 1777 | "rightSide": false, |
| 1778 | "show": true, |
| 1779 | "total": false, |
| 1780 | "values": false |
| 1781 | }, |
| 1782 | "lines": true, |
| 1783 | "linewidth": 0, |
| 1784 | "maxPerRow": 6, |
| 1785 | "nullPointMode": "null", |
| 1786 | "percentage": false, |
| 1787 | "pluginVersion": "7.1.5", |
| 1788 | "pointradius": 2, |
| 1789 | "points": false, |
| 1790 | "renderer": "flot", |
| 1791 | "repeat": null, |
| 1792 | "repeatDirection": "h", |
| 1793 | "repeatIteration": 1611099859488, |
| 1794 | "repeatPanelId": 23, |
| 1795 | "repeatedByRow": true, |
| 1796 | "scopedVars": { |
| 1797 | "edge": { |
| 1798 | "selected": false, |
| 1799 | "text": "ace-menlo-pixel", |
| 1800 | "value": "ace-menlo-pixel" |
| 1801 | } |
| 1802 | }, |
| 1803 | "seriesOverrides": [], |
| 1804 | "spaceLength": 10, |
| 1805 | "stack": false, |
| 1806 | "steppedLine": true, |
| 1807 | "targets": [ |
| 1808 | { |
| 1809 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0))", |
| 1810 | "interval": "", |
| 1811 | "legendFormat": "Unscheduled", |
| 1812 | "refId": "A" |
| 1813 | }, |
| 1814 | { |
| 1815 | "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| 1816 | "interval": "", |
| 1817 | "legendFormat": "Scheduled", |
| 1818 | "refId": "B" |
| 1819 | }, |
| 1820 | { |
| 1821 | "expr": "sum(clamp_min((aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} * -1) - 1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}, 0))", |
| 1822 | "interval": "", |
| 1823 | "legendFormat": "Test down", |
| 1824 | "refId": "C" |
| 1825 | } |
| 1826 | ], |
| 1827 | "thresholds": [], |
| 1828 | "timeFrom": null, |
| 1829 | "timeRegions": [], |
| 1830 | "timeShift": null, |
| 1831 | "title": "Downtime", |
| 1832 | "tooltip": { |
| 1833 | "shared": true, |
| 1834 | "sort": 0, |
| 1835 | "value_type": "individual" |
| 1836 | }, |
| 1837 | "type": "graph", |
| 1838 | "xaxis": { |
| 1839 | "buckets": null, |
| 1840 | "mode": "time", |
| 1841 | "name": null, |
| 1842 | "show": true, |
| 1843 | "values": [] |
| 1844 | }, |
| 1845 | "yaxes": [ |
| 1846 | { |
| 1847 | "$$hashKey": "object:93", |
| 1848 | "decimals": 0, |
| 1849 | "format": "short", |
| 1850 | "label": "", |
| 1851 | "logBase": 1, |
| 1852 | "max": "1", |
| 1853 | "min": "0", |
| 1854 | "show": false |
| 1855 | }, |
| 1856 | { |
| 1857 | "$$hashKey": "object:94", |
| 1858 | "format": "short", |
| 1859 | "label": null, |
| 1860 | "logBase": 1, |
| 1861 | "max": null, |
| 1862 | "min": null, |
| 1863 | "show": false |
| 1864 | } |
| 1865 | ], |
| 1866 | "yaxis": { |
| 1867 | "align": false, |
| 1868 | "alignLevel": null |
| 1869 | } |
| 1870 | }, |
| 1871 | { |
| 1872 | "datasource": "$edge", |
| 1873 | "fieldConfig": { |
| 1874 | "defaults": { |
| 1875 | "custom": {}, |
| 1876 | "mappings": [], |
| 1877 | "noValue": "0", |
| 1878 | "thresholds": { |
| 1879 | "mode": "absolute", |
| 1880 | "steps": [ |
| 1881 | { |
| 1882 | "color": "green", |
| 1883 | "value": null |
| 1884 | }, |
| 1885 | { |
| 1886 | "color": "red", |
| 1887 | "value": 1 |
| 1888 | } |
| 1889 | ] |
| 1890 | } |
| 1891 | }, |
| 1892 | "overrides": [] |
| 1893 | }, |
| 1894 | "gridPos": { |
| 1895 | "h": 3, |
| 1896 | "w": 2, |
| 1897 | "x": 22, |
| 1898 | "y": 14 |
| 1899 | }, |
| 1900 | "id": 104, |
| 1901 | "options": { |
| 1902 | "colorMode": "value", |
| 1903 | "graphMode": "area", |
| 1904 | "justifyMode": "auto", |
| 1905 | "orientation": "auto", |
| 1906 | "reduceOptions": { |
| 1907 | "calcs": [ |
| 1908 | "last" |
| 1909 | ], |
| 1910 | "fields": "", |
| 1911 | "values": false |
| 1912 | }, |
| 1913 | "textMode": "auto" |
| 1914 | }, |
| 1915 | "pluginVersion": "7.1.5", |
| 1916 | "repeatIteration": 1611099859488, |
| 1917 | "repeatPanelId": 92, |
| 1918 | "repeatedByRow": true, |
| 1919 | "scopedVars": { |
| 1920 | "edge": { |
| 1921 | "selected": false, |
| 1922 | "text": "ace-menlo-pixel", |
| 1923 | "value": "ace-menlo-pixel" |
| 1924 | } |
| 1925 | }, |
| 1926 | "targets": [ |
| 1927 | { |
| 1928 | "expr": "sum(ALERTS{alertstate=\"firing\", severity=~\"critical|warning\", alertname!~\"NodeClockNotSynchronising|Kube.*Overcommit\"})", |
| 1929 | "interval": "", |
| 1930 | "legendFormat": "", |
| 1931 | "refId": "A" |
| 1932 | } |
| 1933 | ], |
| 1934 | "timeFrom": null, |
| 1935 | "timeShift": null, |
| 1936 | "title": "Alerts", |
| 1937 | "type": "stat" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1938 | }, |
| 1939 | { |
| 1940 | "collapsed": false, |
| 1941 | "datasource": null, |
| 1942 | "gridPos": { |
| 1943 | "h": 1, |
| 1944 | "w": 24, |
| 1945 | "x": 0, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1946 | "y": 17 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1947 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1948 | "id": 105, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1949 | "panels": [], |
| 1950 | "repeat": null, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 1951 | "repeatIteration": 1611099859488, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1952 | "repeatPanelId": 35, |
| 1953 | "scopedVars": { |
| 1954 | "edge": { |
| 1955 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 1956 | "text": "ace-menlo-rasp-pi", |
| 1957 | "value": "ace-menlo-rasp-pi" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 1958 | } |
| 1959 | }, |
| 1960 | "title": "Edge: $edge", |
| 1961 | "type": "row" |
| 1962 | }, |
| 1963 | { |
| 1964 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 1965 | "description": "", |
| 1966 | "fieldConfig": { |
| 1967 | "defaults": { |
| 1968 | "custom": {}, |
| 1969 | "mappings": [ |
| 1970 | { |
| 1971 | "from": "", |
| 1972 | "id": 1, |
| 1973 | "operator": "", |
| 1974 | "text": "error", |
| 1975 | "to": "", |
| 1976 | "type": 1, |
| 1977 | "value": "-1" |
| 1978 | }, |
| 1979 | { |
| 1980 | "from": "", |
| 1981 | "id": 2, |
| 1982 | "operator": "", |
| 1983 | "text": "disconnected", |
| 1984 | "to": "", |
| 1985 | "type": 1, |
| 1986 | "value": "0" |
| 1987 | }, |
| 1988 | { |
| 1989 | "from": "", |
| 1990 | "id": 3, |
| 1991 | "operator": "", |
| 1992 | "text": "connecting", |
| 1993 | "to": "", |
| 1994 | "type": 1, |
| 1995 | "value": "1" |
| 1996 | }, |
| 1997 | { |
| 1998 | "from": "", |
| 1999 | "id": 4, |
| 2000 | "operator": "", |
| 2001 | "text": "connected", |
| 2002 | "to": "", |
| 2003 | "type": 1, |
| 2004 | "value": "2" |
| 2005 | }, |
| 2006 | { |
| 2007 | "from": "", |
| 2008 | "id": 5, |
| 2009 | "operator": "", |
| 2010 | "text": "no result", |
| 2011 | "to": "", |
| 2012 | "type": 1, |
| 2013 | "value": "-2" |
| 2014 | }, |
| 2015 | { |
| 2016 | "from": "-100", |
| 2017 | "id": 6, |
| 2018 | "operator": "", |
| 2019 | "text": "scheduled downtime", |
| 2020 | "to": "-3", |
| 2021 | "type": 2 |
| 2022 | } |
| 2023 | ], |
| 2024 | "thresholds": { |
| 2025 | "mode": "absolute", |
| 2026 | "steps": [ |
| 2027 | { |
| 2028 | "color": "red", |
| 2029 | "value": null |
| 2030 | }, |
| 2031 | { |
| 2032 | "color": "#6ED0E0", |
| 2033 | "value": -100 |
| 2034 | }, |
| 2035 | { |
| 2036 | "color": "red", |
| 2037 | "value": -2 |
| 2038 | }, |
| 2039 | { |
| 2040 | "color": "#EAB839", |
| 2041 | "value": 1 |
| 2042 | }, |
| 2043 | { |
| 2044 | "color": "green", |
| 2045 | "value": 2 |
| 2046 | } |
| 2047 | ] |
| 2048 | } |
| 2049 | }, |
| 2050 | "overrides": [] |
| 2051 | }, |
| 2052 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2053 | "h": 3, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2054 | "w": 5, |
| 2055 | "x": 0, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2056 | "y": 18 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2057 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2058 | "id": 106, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2059 | "links": [ |
| 2060 | { |
| 2061 | "targetBlank": true, |
| 2062 | "title": "Drill down: cluster compute", |
Andy Bavier | 7961ca3 | 2021-01-14 16:49:55 -0700 | [diff] [blame] | 2063 | "url": "d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster?orgId=1&refresh=10s&var-datasource=${edge}&${__url_time_range}" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2064 | }, |
| 2065 | { |
| 2066 | "targetBlank": true, |
| 2067 | "title": "Drill down: cluster networking", |
Andy Bavier | 7961ca3 | 2021-01-14 16:49:55 -0700 | [diff] [blame] | 2068 | "url": "d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster?orgId=1&refresh=10s&var-resolution=5m&var-interval=4h&var-datasource=${edge}&${__url_time_range}" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2069 | }, |
| 2070 | { |
| 2071 | "targetBlank": true, |
| 2072 | "title": "Drill down: nodes", |
Andy Bavier | 7961ca3 | 2021-01-14 16:49:55 -0700 | [diff] [blame] | 2073 | "url": "d/fa49a4706d07a042595b664c87fb33ea/nodes?orgId=1&var-datasource=${edge}&${__url_time_range}" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2074 | } |
| 2075 | ], |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2076 | "maxPerRow": 6, |
| 2077 | "options": { |
| 2078 | "colorMode": "background", |
| 2079 | "graphMode": "none", |
| 2080 | "justifyMode": "auto", |
| 2081 | "orientation": "auto", |
| 2082 | "reduceOptions": { |
| 2083 | "calcs": [ |
| 2084 | "last" |
| 2085 | ], |
| 2086 | "fields": "", |
| 2087 | "values": false |
| 2088 | }, |
| 2089 | "textMode": "auto" |
| 2090 | }, |
| 2091 | "pluginVersion": "7.1.5", |
| 2092 | "repeat": null, |
| 2093 | "repeatDirection": "h", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2094 | "repeatIteration": 1611099859488, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2095 | "repeatPanelId": 4, |
| 2096 | "repeatedByRow": true, |
| 2097 | "scopedVars": { |
| 2098 | "edge": { |
| 2099 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2100 | "text": "ace-menlo-rasp-pi", |
| 2101 | "value": "ace-menlo-rasp-pi" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2102 | } |
| 2103 | }, |
| 2104 | "targets": [ |
| 2105 | { |
| 2106 | "expr": "sum(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| 2107 | "interval": "", |
| 2108 | "legendFormat": "Control Plane", |
| 2109 | "refId": "A" |
| 2110 | }, |
| 2111 | { |
| 2112 | "expr": "sum(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| 2113 | "interval": "", |
| 2114 | "legendFormat": "User Plane", |
| 2115 | "refId": "B" |
| 2116 | } |
| 2117 | ], |
| 2118 | "timeFrom": null, |
| 2119 | "timeShift": null, |
| 2120 | "title": "Current", |
| 2121 | "type": "stat" |
| 2122 | }, |
| 2123 | { |
| 2124 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 2125 | "fieldConfig": { |
| 2126 | "defaults": { |
| 2127 | "custom": {}, |
| 2128 | "mappings": [], |
| 2129 | "thresholds": { |
| 2130 | "mode": "absolute", |
| 2131 | "steps": [ |
| 2132 | { |
| 2133 | "color": "red", |
| 2134 | "value": null |
| 2135 | }, |
| 2136 | { |
| 2137 | "color": "#EAB839", |
| 2138 | "value": 50 |
| 2139 | }, |
| 2140 | { |
| 2141 | "color": "green", |
| 2142 | "value": 95 |
| 2143 | } |
| 2144 | ] |
| 2145 | }, |
| 2146 | "unit": "percent" |
| 2147 | }, |
| 2148 | "overrides": [] |
| 2149 | }, |
| 2150 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2151 | "h": 3, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2152 | "w": 4, |
| 2153 | "x": 5, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2154 | "y": 18 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2155 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2156 | "id": 107, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2157 | "maxPerRow": 6, |
| 2158 | "options": { |
| 2159 | "colorMode": "background", |
| 2160 | "graphMode": "none", |
| 2161 | "justifyMode": "auto", |
| 2162 | "orientation": "auto", |
| 2163 | "reduceOptions": { |
| 2164 | "calcs": [ |
| 2165 | "mean" |
| 2166 | ], |
| 2167 | "fields": "", |
| 2168 | "values": false |
| 2169 | }, |
| 2170 | "textMode": "auto" |
| 2171 | }, |
| 2172 | "pluginVersion": "7.1.5", |
| 2173 | "repeat": null, |
| 2174 | "repeatDirection": "h", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2175 | "repeatIteration": 1611099859488, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2176 | "repeatPanelId": 5, |
| 2177 | "repeatedByRow": true, |
| 2178 | "scopedVars": { |
| 2179 | "edge": { |
| 2180 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2181 | "text": "ace-menlo-rasp-pi", |
| 2182 | "value": "ace-menlo-rasp-pi" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2183 | } |
| 2184 | }, |
| 2185 | "targets": [ |
| 2186 | { |
| 2187 | "expr": "sum(clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
| 2188 | "interval": "", |
| 2189 | "legendFormat": "Control Plane", |
| 2190 | "refId": "A" |
| 2191 | }, |
| 2192 | { |
| 2193 | "expr": "sum(clamp_min(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
| 2194 | "interval": "", |
| 2195 | "legendFormat": "User Plane", |
| 2196 | "refId": "B" |
| 2197 | } |
| 2198 | ], |
| 2199 | "timeFrom": null, |
| 2200 | "timeShift": null, |
| 2201 | "title": "Uptime", |
| 2202 | "transformations": [], |
| 2203 | "type": "stat" |
| 2204 | }, |
| 2205 | { |
| 2206 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 2207 | "description": "", |
| 2208 | "fieldConfig": { |
| 2209 | "defaults": { |
| 2210 | "custom": {}, |
| 2211 | "decimals": 0, |
| 2212 | "mappings": [], |
| 2213 | "thresholds": { |
| 2214 | "mode": "absolute", |
| 2215 | "steps": [ |
| 2216 | { |
| 2217 | "color": "green", |
| 2218 | "value": null |
| 2219 | }, |
| 2220 | { |
| 2221 | "color": "#EAB839", |
| 2222 | "value": 1 |
| 2223 | }, |
| 2224 | { |
| 2225 | "color": "red", |
| 2226 | "value": 10 |
| 2227 | } |
| 2228 | ] |
| 2229 | }, |
| 2230 | "unit": "percent" |
| 2231 | }, |
| 2232 | "overrides": [] |
| 2233 | }, |
| 2234 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2235 | "h": 3, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2236 | "w": 2, |
| 2237 | "x": 9, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2238 | "y": 18 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2239 | }, |
| 2240 | "id": 108, |
| 2241 | "maxPerRow": 6, |
| 2242 | "options": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2243 | "colorMode": "background", |
| 2244 | "graphMode": "none", |
| 2245 | "justifyMode": "auto", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2246 | "orientation": "auto", |
| 2247 | "reduceOptions": { |
| 2248 | "calcs": [ |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2249 | "mean" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2250 | ], |
| 2251 | "fields": "", |
| 2252 | "values": false |
| 2253 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2254 | "textMode": "auto" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2255 | }, |
| 2256 | "pluginVersion": "7.1.5", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2257 | "repeatDirection": "h", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2258 | "repeatIteration": 1611099859488, |
| 2259 | "repeatPanelId": 90, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2260 | "repeatedByRow": true, |
| 2261 | "scopedVars": { |
| 2262 | "edge": { |
| 2263 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2264 | "text": "ace-menlo-rasp-pi", |
| 2265 | "value": "ace-menlo-rasp-pi" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2266 | } |
| 2267 | }, |
| 2268 | "targets": [ |
| 2269 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2270 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0)) * 100", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2271 | "interval": "", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2272 | "legendFormat": "", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2273 | "refId": "A" |
| 2274 | } |
| 2275 | ], |
| 2276 | "timeFrom": null, |
| 2277 | "timeShift": null, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2278 | "title": "Unscheduled Downtime", |
| 2279 | "transformations": [], |
| 2280 | "type": "stat" |
| 2281 | }, |
| 2282 | { |
| 2283 | "aliasColors": { |
| 2284 | "Scheduled": "blue", |
| 2285 | "Scheduled downtime": "blue", |
| 2286 | "Test down": "yellow", |
| 2287 | "Unscheduled": "red", |
| 2288 | "Unscheduled downtime": "red" |
| 2289 | }, |
| 2290 | "bars": false, |
| 2291 | "dashLength": 10, |
| 2292 | "dashes": false, |
| 2293 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 2294 | "fieldConfig": { |
| 2295 | "defaults": { |
| 2296 | "custom": {}, |
| 2297 | "links": [] |
| 2298 | }, |
| 2299 | "overrides": [] |
| 2300 | }, |
| 2301 | "fill": 10, |
| 2302 | "fillGradient": 0, |
| 2303 | "gridPos": { |
| 2304 | "h": 3, |
| 2305 | "w": 11, |
| 2306 | "x": 11, |
| 2307 | "y": 18 |
| 2308 | }, |
| 2309 | "hiddenSeries": false, |
| 2310 | "id": 109, |
| 2311 | "legend": { |
| 2312 | "alignAsTable": false, |
| 2313 | "avg": false, |
| 2314 | "current": false, |
| 2315 | "max": false, |
| 2316 | "min": false, |
| 2317 | "rightSide": false, |
| 2318 | "show": true, |
| 2319 | "total": false, |
| 2320 | "values": false |
| 2321 | }, |
| 2322 | "lines": true, |
| 2323 | "linewidth": 0, |
| 2324 | "maxPerRow": 6, |
| 2325 | "nullPointMode": "null", |
| 2326 | "percentage": false, |
| 2327 | "pluginVersion": "7.1.5", |
| 2328 | "pointradius": 2, |
| 2329 | "points": false, |
| 2330 | "renderer": "flot", |
| 2331 | "repeat": null, |
| 2332 | "repeatDirection": "h", |
| 2333 | "repeatIteration": 1611099859488, |
| 2334 | "repeatPanelId": 23, |
| 2335 | "repeatedByRow": true, |
| 2336 | "scopedVars": { |
| 2337 | "edge": { |
| 2338 | "selected": false, |
| 2339 | "text": "ace-menlo-rasp-pi", |
| 2340 | "value": "ace-menlo-rasp-pi" |
| 2341 | } |
| 2342 | }, |
| 2343 | "seriesOverrides": [], |
| 2344 | "spaceLength": 10, |
| 2345 | "stack": false, |
| 2346 | "steppedLine": true, |
| 2347 | "targets": [ |
| 2348 | { |
| 2349 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0))", |
| 2350 | "interval": "", |
| 2351 | "legendFormat": "Unscheduled", |
| 2352 | "refId": "A" |
| 2353 | }, |
| 2354 | { |
| 2355 | "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| 2356 | "interval": "", |
| 2357 | "legendFormat": "Scheduled", |
| 2358 | "refId": "B" |
| 2359 | }, |
| 2360 | { |
| 2361 | "expr": "sum(clamp_min((aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} * -1) - 1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}, 0))", |
| 2362 | "interval": "", |
| 2363 | "legendFormat": "Test down", |
| 2364 | "refId": "C" |
| 2365 | } |
| 2366 | ], |
| 2367 | "thresholds": [], |
| 2368 | "timeFrom": null, |
| 2369 | "timeRegions": [], |
| 2370 | "timeShift": null, |
| 2371 | "title": "Downtime", |
| 2372 | "tooltip": { |
| 2373 | "shared": true, |
| 2374 | "sort": 0, |
| 2375 | "value_type": "individual" |
| 2376 | }, |
| 2377 | "type": "graph", |
| 2378 | "xaxis": { |
| 2379 | "buckets": null, |
| 2380 | "mode": "time", |
| 2381 | "name": null, |
| 2382 | "show": true, |
| 2383 | "values": [] |
| 2384 | }, |
| 2385 | "yaxes": [ |
| 2386 | { |
| 2387 | "$$hashKey": "object:93", |
| 2388 | "decimals": 0, |
| 2389 | "format": "short", |
| 2390 | "label": "", |
| 2391 | "logBase": 1, |
| 2392 | "max": "1", |
| 2393 | "min": "0", |
| 2394 | "show": false |
| 2395 | }, |
| 2396 | { |
| 2397 | "$$hashKey": "object:94", |
| 2398 | "format": "short", |
| 2399 | "label": null, |
| 2400 | "logBase": 1, |
| 2401 | "max": null, |
| 2402 | "min": null, |
| 2403 | "show": false |
| 2404 | } |
| 2405 | ], |
| 2406 | "yaxis": { |
| 2407 | "align": false, |
| 2408 | "alignLevel": null |
| 2409 | } |
| 2410 | }, |
| 2411 | { |
| 2412 | "datasource": "$edge", |
| 2413 | "fieldConfig": { |
| 2414 | "defaults": { |
| 2415 | "custom": {}, |
| 2416 | "mappings": [], |
| 2417 | "noValue": "0", |
| 2418 | "thresholds": { |
| 2419 | "mode": "absolute", |
| 2420 | "steps": [ |
| 2421 | { |
| 2422 | "color": "green", |
| 2423 | "value": null |
| 2424 | }, |
| 2425 | { |
| 2426 | "color": "red", |
| 2427 | "value": 1 |
| 2428 | } |
| 2429 | ] |
| 2430 | } |
| 2431 | }, |
| 2432 | "overrides": [] |
| 2433 | }, |
| 2434 | "gridPos": { |
| 2435 | "h": 3, |
| 2436 | "w": 2, |
| 2437 | "x": 22, |
| 2438 | "y": 18 |
| 2439 | }, |
| 2440 | "id": 110, |
| 2441 | "options": { |
| 2442 | "colorMode": "value", |
| 2443 | "graphMode": "area", |
| 2444 | "justifyMode": "auto", |
| 2445 | "orientation": "auto", |
| 2446 | "reduceOptions": { |
| 2447 | "calcs": [ |
| 2448 | "last" |
| 2449 | ], |
| 2450 | "fields": "", |
| 2451 | "values": false |
| 2452 | }, |
| 2453 | "textMode": "auto" |
| 2454 | }, |
| 2455 | "pluginVersion": "7.1.5", |
| 2456 | "repeatIteration": 1611099859488, |
| 2457 | "repeatPanelId": 92, |
| 2458 | "repeatedByRow": true, |
| 2459 | "scopedVars": { |
| 2460 | "edge": { |
| 2461 | "selected": false, |
| 2462 | "text": "ace-menlo-rasp-pi", |
| 2463 | "value": "ace-menlo-rasp-pi" |
| 2464 | } |
| 2465 | }, |
| 2466 | "targets": [ |
| 2467 | { |
| 2468 | "expr": "sum(ALERTS{alertstate=\"firing\", severity=~\"critical|warning\", alertname!~\"NodeClockNotSynchronising|Kube.*Overcommit\"})", |
| 2469 | "interval": "", |
| 2470 | "legendFormat": "", |
| 2471 | "refId": "A" |
| 2472 | } |
| 2473 | ], |
| 2474 | "timeFrom": null, |
| 2475 | "timeShift": null, |
| 2476 | "title": "Alerts", |
| 2477 | "type": "stat" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2478 | }, |
| 2479 | { |
| 2480 | "collapsed": false, |
| 2481 | "datasource": null, |
| 2482 | "gridPos": { |
| 2483 | "h": 1, |
| 2484 | "w": 24, |
| 2485 | "x": 0, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2486 | "y": 21 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2487 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2488 | "id": 111, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2489 | "panels": [], |
| 2490 | "repeat": null, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2491 | "repeatIteration": 1611099859488, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2492 | "repeatPanelId": 35, |
| 2493 | "scopedVars": { |
| 2494 | "edge": { |
| 2495 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2496 | "text": "ace-princeton1-prd", |
| 2497 | "value": "ace-princeton1-prd" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2498 | } |
| 2499 | }, |
| 2500 | "title": "Edge: $edge", |
| 2501 | "type": "row" |
| 2502 | }, |
| 2503 | { |
| 2504 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 2505 | "description": "", |
| 2506 | "fieldConfig": { |
| 2507 | "defaults": { |
| 2508 | "custom": {}, |
| 2509 | "mappings": [ |
| 2510 | { |
| 2511 | "from": "", |
| 2512 | "id": 1, |
| 2513 | "operator": "", |
| 2514 | "text": "error", |
| 2515 | "to": "", |
| 2516 | "type": 1, |
| 2517 | "value": "-1" |
| 2518 | }, |
| 2519 | { |
| 2520 | "from": "", |
| 2521 | "id": 2, |
| 2522 | "operator": "", |
| 2523 | "text": "disconnected", |
| 2524 | "to": "", |
| 2525 | "type": 1, |
| 2526 | "value": "0" |
| 2527 | }, |
| 2528 | { |
| 2529 | "from": "", |
| 2530 | "id": 3, |
| 2531 | "operator": "", |
| 2532 | "text": "connecting", |
| 2533 | "to": "", |
| 2534 | "type": 1, |
| 2535 | "value": "1" |
| 2536 | }, |
| 2537 | { |
| 2538 | "from": "", |
| 2539 | "id": 4, |
| 2540 | "operator": "", |
| 2541 | "text": "connected", |
| 2542 | "to": "", |
| 2543 | "type": 1, |
| 2544 | "value": "2" |
| 2545 | }, |
| 2546 | { |
| 2547 | "from": "", |
| 2548 | "id": 5, |
| 2549 | "operator": "", |
| 2550 | "text": "no result", |
| 2551 | "to": "", |
| 2552 | "type": 1, |
| 2553 | "value": "-2" |
| 2554 | }, |
| 2555 | { |
| 2556 | "from": "-100", |
| 2557 | "id": 6, |
| 2558 | "operator": "", |
| 2559 | "text": "scheduled downtime", |
| 2560 | "to": "-3", |
| 2561 | "type": 2 |
| 2562 | } |
| 2563 | ], |
| 2564 | "thresholds": { |
| 2565 | "mode": "absolute", |
| 2566 | "steps": [ |
| 2567 | { |
| 2568 | "color": "red", |
| 2569 | "value": null |
| 2570 | }, |
| 2571 | { |
| 2572 | "color": "#6ED0E0", |
| 2573 | "value": -100 |
| 2574 | }, |
| 2575 | { |
| 2576 | "color": "red", |
| 2577 | "value": -2 |
| 2578 | }, |
| 2579 | { |
| 2580 | "color": "#EAB839", |
| 2581 | "value": 1 |
| 2582 | }, |
| 2583 | { |
| 2584 | "color": "green", |
| 2585 | "value": 2 |
| 2586 | } |
| 2587 | ] |
| 2588 | } |
| 2589 | }, |
| 2590 | "overrides": [] |
| 2591 | }, |
| 2592 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2593 | "h": 3, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2594 | "w": 5, |
| 2595 | "x": 0, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2596 | "y": 22 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2597 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2598 | "id": 112, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2599 | "links": [ |
| 2600 | { |
| 2601 | "targetBlank": true, |
| 2602 | "title": "Drill down: cluster compute", |
Andy Bavier | 7961ca3 | 2021-01-14 16:49:55 -0700 | [diff] [blame] | 2603 | "url": "d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster?orgId=1&refresh=10s&var-datasource=${edge}&${__url_time_range}" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2604 | }, |
| 2605 | { |
| 2606 | "targetBlank": true, |
| 2607 | "title": "Drill down: cluster networking", |
Andy Bavier | 7961ca3 | 2021-01-14 16:49:55 -0700 | [diff] [blame] | 2608 | "url": "d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster?orgId=1&refresh=10s&var-resolution=5m&var-interval=4h&var-datasource=${edge}&${__url_time_range}" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2609 | }, |
| 2610 | { |
| 2611 | "targetBlank": true, |
| 2612 | "title": "Drill down: nodes", |
Andy Bavier | 7961ca3 | 2021-01-14 16:49:55 -0700 | [diff] [blame] | 2613 | "url": "d/fa49a4706d07a042595b664c87fb33ea/nodes?orgId=1&var-datasource=${edge}&${__url_time_range}" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2614 | } |
| 2615 | ], |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2616 | "maxPerRow": 6, |
| 2617 | "options": { |
| 2618 | "colorMode": "background", |
| 2619 | "graphMode": "none", |
| 2620 | "justifyMode": "auto", |
| 2621 | "orientation": "auto", |
| 2622 | "reduceOptions": { |
| 2623 | "calcs": [ |
| 2624 | "last" |
| 2625 | ], |
| 2626 | "fields": "", |
| 2627 | "values": false |
| 2628 | }, |
| 2629 | "textMode": "auto" |
| 2630 | }, |
| 2631 | "pluginVersion": "7.1.5", |
| 2632 | "repeat": null, |
| 2633 | "repeatDirection": "h", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2634 | "repeatIteration": 1611099859488, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2635 | "repeatPanelId": 4, |
| 2636 | "repeatedByRow": true, |
| 2637 | "scopedVars": { |
| 2638 | "edge": { |
| 2639 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2640 | "text": "ace-princeton1-prd", |
| 2641 | "value": "ace-princeton1-prd" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2642 | } |
| 2643 | }, |
| 2644 | "targets": [ |
| 2645 | { |
| 2646 | "expr": "sum(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| 2647 | "interval": "", |
| 2648 | "legendFormat": "Control Plane", |
| 2649 | "refId": "A" |
| 2650 | }, |
| 2651 | { |
| 2652 | "expr": "sum(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| 2653 | "interval": "", |
| 2654 | "legendFormat": "User Plane", |
| 2655 | "refId": "B" |
| 2656 | } |
| 2657 | ], |
| 2658 | "timeFrom": null, |
| 2659 | "timeShift": null, |
| 2660 | "title": "Current", |
| 2661 | "type": "stat" |
| 2662 | }, |
| 2663 | { |
| 2664 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 2665 | "fieldConfig": { |
| 2666 | "defaults": { |
| 2667 | "custom": {}, |
| 2668 | "mappings": [], |
| 2669 | "thresholds": { |
| 2670 | "mode": "absolute", |
| 2671 | "steps": [ |
| 2672 | { |
| 2673 | "color": "red", |
| 2674 | "value": null |
| 2675 | }, |
| 2676 | { |
| 2677 | "color": "#EAB839", |
| 2678 | "value": 50 |
| 2679 | }, |
| 2680 | { |
| 2681 | "color": "green", |
| 2682 | "value": 95 |
| 2683 | } |
| 2684 | ] |
| 2685 | }, |
| 2686 | "unit": "percent" |
| 2687 | }, |
| 2688 | "overrides": [] |
| 2689 | }, |
| 2690 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2691 | "h": 3, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2692 | "w": 4, |
| 2693 | "x": 5, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2694 | "y": 22 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2695 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2696 | "id": 113, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2697 | "maxPerRow": 6, |
| 2698 | "options": { |
| 2699 | "colorMode": "background", |
| 2700 | "graphMode": "none", |
| 2701 | "justifyMode": "auto", |
| 2702 | "orientation": "auto", |
| 2703 | "reduceOptions": { |
| 2704 | "calcs": [ |
| 2705 | "mean" |
| 2706 | ], |
| 2707 | "fields": "", |
| 2708 | "values": false |
| 2709 | }, |
| 2710 | "textMode": "auto" |
| 2711 | }, |
| 2712 | "pluginVersion": "7.1.5", |
| 2713 | "repeat": null, |
| 2714 | "repeatDirection": "h", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2715 | "repeatIteration": 1611099859488, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2716 | "repeatPanelId": 5, |
| 2717 | "repeatedByRow": true, |
| 2718 | "scopedVars": { |
| 2719 | "edge": { |
| 2720 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2721 | "text": "ace-princeton1-prd", |
| 2722 | "value": "ace-princeton1-prd" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2723 | } |
| 2724 | }, |
| 2725 | "targets": [ |
| 2726 | { |
| 2727 | "expr": "sum(clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
| 2728 | "interval": "", |
| 2729 | "legendFormat": "Control Plane", |
| 2730 | "refId": "A" |
| 2731 | }, |
| 2732 | { |
| 2733 | "expr": "sum(clamp_min(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
| 2734 | "interval": "", |
| 2735 | "legendFormat": "User Plane", |
| 2736 | "refId": "B" |
| 2737 | } |
| 2738 | ], |
| 2739 | "timeFrom": null, |
| 2740 | "timeShift": null, |
| 2741 | "title": "Uptime", |
| 2742 | "transformations": [], |
| 2743 | "type": "stat" |
| 2744 | }, |
| 2745 | { |
| 2746 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 2747 | "description": "", |
| 2748 | "fieldConfig": { |
| 2749 | "defaults": { |
| 2750 | "custom": {}, |
| 2751 | "decimals": 0, |
| 2752 | "mappings": [], |
| 2753 | "thresholds": { |
| 2754 | "mode": "absolute", |
| 2755 | "steps": [ |
| 2756 | { |
| 2757 | "color": "green", |
| 2758 | "value": null |
| 2759 | }, |
| 2760 | { |
| 2761 | "color": "#EAB839", |
| 2762 | "value": 1 |
| 2763 | }, |
| 2764 | { |
| 2765 | "color": "red", |
| 2766 | "value": 10 |
| 2767 | } |
| 2768 | ] |
| 2769 | }, |
| 2770 | "unit": "percent" |
| 2771 | }, |
| 2772 | "overrides": [] |
| 2773 | }, |
| 2774 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2775 | "h": 3, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2776 | "w": 2, |
| 2777 | "x": 9, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2778 | "y": 22 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2779 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2780 | "id": 114, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2781 | "maxPerRow": 6, |
| 2782 | "options": { |
| 2783 | "colorMode": "background", |
| 2784 | "graphMode": "none", |
| 2785 | "justifyMode": "auto", |
| 2786 | "orientation": "auto", |
| 2787 | "reduceOptions": { |
| 2788 | "calcs": [ |
| 2789 | "mean" |
| 2790 | ], |
| 2791 | "fields": "", |
| 2792 | "values": false |
| 2793 | }, |
| 2794 | "textMode": "auto" |
| 2795 | }, |
| 2796 | "pluginVersion": "7.1.5", |
| 2797 | "repeatDirection": "h", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2798 | "repeatIteration": 1611099859488, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2799 | "repeatPanelId": 90, |
| 2800 | "repeatedByRow": true, |
| 2801 | "scopedVars": { |
| 2802 | "edge": { |
| 2803 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2804 | "text": "ace-princeton1-prd", |
| 2805 | "value": "ace-princeton1-prd" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2806 | } |
| 2807 | }, |
| 2808 | "targets": [ |
| 2809 | { |
| 2810 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0)) * 100", |
| 2811 | "interval": "", |
| 2812 | "legendFormat": "", |
| 2813 | "refId": "A" |
| 2814 | } |
| 2815 | ], |
| 2816 | "timeFrom": null, |
| 2817 | "timeShift": null, |
| 2818 | "title": "Unscheduled Downtime", |
| 2819 | "transformations": [], |
| 2820 | "type": "stat" |
| 2821 | }, |
| 2822 | { |
| 2823 | "aliasColors": { |
| 2824 | "Scheduled": "blue", |
| 2825 | "Scheduled downtime": "blue", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2826 | "Test down": "yellow", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2827 | "Unscheduled": "red", |
| 2828 | "Unscheduled downtime": "red" |
| 2829 | }, |
| 2830 | "bars": false, |
| 2831 | "dashLength": 10, |
| 2832 | "dashes": false, |
| 2833 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 2834 | "fieldConfig": { |
| 2835 | "defaults": { |
| 2836 | "custom": {}, |
| 2837 | "links": [] |
| 2838 | }, |
| 2839 | "overrides": [] |
| 2840 | }, |
| 2841 | "fill": 10, |
| 2842 | "fillGradient": 0, |
| 2843 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2844 | "h": 3, |
| 2845 | "w": 11, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2846 | "x": 11, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2847 | "y": 22 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2848 | }, |
| 2849 | "hiddenSeries": false, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2850 | "id": 115, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2851 | "legend": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2852 | "alignAsTable": false, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2853 | "avg": false, |
| 2854 | "current": false, |
| 2855 | "max": false, |
| 2856 | "min": false, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2857 | "rightSide": false, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2858 | "show": true, |
| 2859 | "total": false, |
| 2860 | "values": false |
| 2861 | }, |
| 2862 | "lines": true, |
| 2863 | "linewidth": 0, |
| 2864 | "maxPerRow": 6, |
| 2865 | "nullPointMode": "null", |
| 2866 | "percentage": false, |
| 2867 | "pluginVersion": "7.1.5", |
| 2868 | "pointradius": 2, |
| 2869 | "points": false, |
| 2870 | "renderer": "flot", |
| 2871 | "repeat": null, |
| 2872 | "repeatDirection": "h", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2873 | "repeatIteration": 1611099859488, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2874 | "repeatPanelId": 23, |
| 2875 | "repeatedByRow": true, |
| 2876 | "scopedVars": { |
| 2877 | "edge": { |
| 2878 | "selected": false, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2879 | "text": "ace-princeton1-prd", |
| 2880 | "value": "ace-princeton1-prd" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2881 | } |
| 2882 | }, |
| 2883 | "seriesOverrides": [], |
| 2884 | "spaceLength": 10, |
| 2885 | "stack": false, |
| 2886 | "steppedLine": true, |
| 2887 | "targets": [ |
| 2888 | { |
| 2889 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0))", |
| 2890 | "interval": "", |
| 2891 | "legendFormat": "Unscheduled", |
| 2892 | "refId": "A" |
| 2893 | }, |
| 2894 | { |
| 2895 | "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| 2896 | "interval": "", |
| 2897 | "legendFormat": "Scheduled", |
| 2898 | "refId": "B" |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2899 | }, |
| 2900 | { |
| 2901 | "expr": "sum(clamp_min((aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} * -1) - 1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}, 0))", |
| 2902 | "interval": "", |
| 2903 | "legendFormat": "Test down", |
| 2904 | "refId": "C" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2905 | } |
| 2906 | ], |
| 2907 | "thresholds": [], |
| 2908 | "timeFrom": null, |
| 2909 | "timeRegions": [], |
| 2910 | "timeShift": null, |
| 2911 | "title": "Downtime", |
| 2912 | "tooltip": { |
| 2913 | "shared": true, |
| 2914 | "sort": 0, |
| 2915 | "value_type": "individual" |
| 2916 | }, |
| 2917 | "type": "graph", |
| 2918 | "xaxis": { |
| 2919 | "buckets": null, |
| 2920 | "mode": "time", |
| 2921 | "name": null, |
| 2922 | "show": true, |
| 2923 | "values": [] |
| 2924 | }, |
| 2925 | "yaxes": [ |
| 2926 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2927 | "$$hashKey": "object:93", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2928 | "decimals": 0, |
| 2929 | "format": "short", |
| 2930 | "label": "", |
| 2931 | "logBase": 1, |
| 2932 | "max": "1", |
| 2933 | "min": "0", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2934 | "show": false |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2935 | }, |
| 2936 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2937 | "$$hashKey": "object:94", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2938 | "format": "short", |
| 2939 | "label": null, |
| 2940 | "logBase": 1, |
| 2941 | "max": null, |
| 2942 | "min": null, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2943 | "show": false |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2944 | } |
| 2945 | ], |
| 2946 | "yaxis": { |
| 2947 | "align": false, |
| 2948 | "alignLevel": null |
| 2949 | } |
| 2950 | }, |
| 2951 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2952 | "datasource": "$edge", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2953 | "fieldConfig": { |
| 2954 | "defaults": { |
| 2955 | "custom": {}, |
| 2956 | "mappings": [], |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2957 | "noValue": "0", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2958 | "thresholds": { |
| 2959 | "mode": "absolute", |
| 2960 | "steps": [ |
| 2961 | { |
| 2962 | "color": "green", |
| 2963 | "value": null |
| 2964 | }, |
| 2965 | { |
| 2966 | "color": "red", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2967 | "value": 1 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2968 | } |
| 2969 | ] |
| 2970 | } |
| 2971 | }, |
| 2972 | "overrides": [] |
| 2973 | }, |
| 2974 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2975 | "h": 3, |
| 2976 | "w": 2, |
| 2977 | "x": 22, |
| 2978 | "y": 22 |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2979 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2980 | "id": 116, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2981 | "options": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2982 | "colorMode": "value", |
| 2983 | "graphMode": "area", |
| 2984 | "justifyMode": "auto", |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2985 | "orientation": "auto", |
| 2986 | "reduceOptions": { |
| 2987 | "calcs": [ |
| 2988 | "last" |
| 2989 | ], |
| 2990 | "fields": "", |
| 2991 | "values": false |
| 2992 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2993 | "textMode": "auto" |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 2994 | }, |
| 2995 | "pluginVersion": "7.1.5", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 2996 | "repeatIteration": 1611099859488, |
| 2997 | "repeatPanelId": 92, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 2998 | "repeatedByRow": true, |
| 2999 | "scopedVars": { |
| 3000 | "edge": { |
| 3001 | "selected": false, |
| 3002 | "text": "ace-princeton1-prd", |
| 3003 | "value": "ace-princeton1-prd" |
| 3004 | } |
| 3005 | }, |
| 3006 | "targets": [ |
| 3007 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 3008 | "expr": "sum(ALERTS{alertstate=\"firing\", severity=~\"critical|warning\", alertname!~\"NodeClockNotSynchronising|Kube.*Overcommit\"})", |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 3009 | "interval": "", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 3010 | "legendFormat": "", |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 3011 | "refId": "A" |
| 3012 | } |
| 3013 | ], |
| 3014 | "timeFrom": null, |
| 3015 | "timeShift": null, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 3016 | "title": "Alerts", |
| 3017 | "type": "stat" |
| 3018 | }, |
| 3019 | { |
| 3020 | "collapsed": false, |
| 3021 | "datasource": null, |
| 3022 | "gridPos": { |
| 3023 | "h": 1, |
| 3024 | "w": 24, |
| 3025 | "x": 0, |
| 3026 | "y": 25 |
| 3027 | }, |
| 3028 | "id": 117, |
| 3029 | "panels": [], |
| 3030 | "repeat": null, |
| 3031 | "repeatIteration": 1611099859488, |
| 3032 | "repeatPanelId": 35, |
| 3033 | "scopedVars": { |
| 3034 | "edge": { |
| 3035 | "selected": false, |
| 3036 | "text": "ace-stanford1-prd", |
| 3037 | "value": "ace-stanford1-prd" |
| 3038 | } |
| 3039 | }, |
| 3040 | "title": "Edge: $edge", |
| 3041 | "type": "row" |
| 3042 | }, |
| 3043 | { |
| 3044 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 3045 | "description": "", |
| 3046 | "fieldConfig": { |
| 3047 | "defaults": { |
| 3048 | "custom": {}, |
| 3049 | "mappings": [ |
| 3050 | { |
| 3051 | "from": "", |
| 3052 | "id": 1, |
| 3053 | "operator": "", |
| 3054 | "text": "error", |
| 3055 | "to": "", |
| 3056 | "type": 1, |
| 3057 | "value": "-1" |
| 3058 | }, |
| 3059 | { |
| 3060 | "from": "", |
| 3061 | "id": 2, |
| 3062 | "operator": "", |
| 3063 | "text": "disconnected", |
| 3064 | "to": "", |
| 3065 | "type": 1, |
| 3066 | "value": "0" |
| 3067 | }, |
| 3068 | { |
| 3069 | "from": "", |
| 3070 | "id": 3, |
| 3071 | "operator": "", |
| 3072 | "text": "connecting", |
| 3073 | "to": "", |
| 3074 | "type": 1, |
| 3075 | "value": "1" |
| 3076 | }, |
| 3077 | { |
| 3078 | "from": "", |
| 3079 | "id": 4, |
| 3080 | "operator": "", |
| 3081 | "text": "connected", |
| 3082 | "to": "", |
| 3083 | "type": 1, |
| 3084 | "value": "2" |
| 3085 | }, |
| 3086 | { |
| 3087 | "from": "", |
| 3088 | "id": 5, |
| 3089 | "operator": "", |
| 3090 | "text": "no result", |
| 3091 | "to": "", |
| 3092 | "type": 1, |
| 3093 | "value": "-2" |
| 3094 | }, |
| 3095 | { |
| 3096 | "from": "-100", |
| 3097 | "id": 6, |
| 3098 | "operator": "", |
| 3099 | "text": "scheduled downtime", |
| 3100 | "to": "-3", |
| 3101 | "type": 2 |
| 3102 | } |
| 3103 | ], |
| 3104 | "thresholds": { |
| 3105 | "mode": "absolute", |
| 3106 | "steps": [ |
| 3107 | { |
| 3108 | "color": "red", |
| 3109 | "value": null |
| 3110 | }, |
| 3111 | { |
| 3112 | "color": "#6ED0E0", |
| 3113 | "value": -100 |
| 3114 | }, |
| 3115 | { |
| 3116 | "color": "red", |
| 3117 | "value": -2 |
| 3118 | }, |
| 3119 | { |
| 3120 | "color": "#EAB839", |
| 3121 | "value": 1 |
| 3122 | }, |
| 3123 | { |
| 3124 | "color": "green", |
| 3125 | "value": 2 |
| 3126 | } |
| 3127 | ] |
| 3128 | } |
| 3129 | }, |
| 3130 | "overrides": [] |
| 3131 | }, |
| 3132 | "gridPos": { |
| 3133 | "h": 3, |
| 3134 | "w": 5, |
| 3135 | "x": 0, |
| 3136 | "y": 26 |
| 3137 | }, |
| 3138 | "id": 118, |
| 3139 | "links": [ |
| 3140 | { |
| 3141 | "targetBlank": true, |
| 3142 | "title": "Drill down: cluster compute", |
| 3143 | "url": "d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster?orgId=1&refresh=10s&var-datasource=${edge}&${__url_time_range}" |
| 3144 | }, |
| 3145 | { |
| 3146 | "targetBlank": true, |
| 3147 | "title": "Drill down: cluster networking", |
| 3148 | "url": "d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster?orgId=1&refresh=10s&var-resolution=5m&var-interval=4h&var-datasource=${edge}&${__url_time_range}" |
| 3149 | }, |
| 3150 | { |
| 3151 | "targetBlank": true, |
| 3152 | "title": "Drill down: nodes", |
| 3153 | "url": "d/fa49a4706d07a042595b664c87fb33ea/nodes?orgId=1&var-datasource=${edge}&${__url_time_range}" |
| 3154 | } |
| 3155 | ], |
| 3156 | "maxPerRow": 6, |
| 3157 | "options": { |
| 3158 | "colorMode": "background", |
| 3159 | "graphMode": "none", |
| 3160 | "justifyMode": "auto", |
| 3161 | "orientation": "auto", |
| 3162 | "reduceOptions": { |
| 3163 | "calcs": [ |
| 3164 | "last" |
| 3165 | ], |
| 3166 | "fields": "", |
| 3167 | "values": false |
| 3168 | }, |
| 3169 | "textMode": "auto" |
| 3170 | }, |
| 3171 | "pluginVersion": "7.1.5", |
| 3172 | "repeat": null, |
| 3173 | "repeatDirection": "h", |
| 3174 | "repeatIteration": 1611099859488, |
| 3175 | "repeatPanelId": 4, |
| 3176 | "repeatedByRow": true, |
| 3177 | "scopedVars": { |
| 3178 | "edge": { |
| 3179 | "selected": false, |
| 3180 | "text": "ace-stanford1-prd", |
| 3181 | "value": "ace-stanford1-prd" |
| 3182 | } |
| 3183 | }, |
| 3184 | "targets": [ |
| 3185 | { |
| 3186 | "expr": "sum(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| 3187 | "interval": "", |
| 3188 | "legendFormat": "Control Plane", |
| 3189 | "refId": "A" |
| 3190 | }, |
| 3191 | { |
| 3192 | "expr": "sum(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| 3193 | "interval": "", |
| 3194 | "legendFormat": "User Plane", |
| 3195 | "refId": "B" |
| 3196 | } |
| 3197 | ], |
| 3198 | "timeFrom": null, |
| 3199 | "timeShift": null, |
| 3200 | "title": "Current", |
| 3201 | "type": "stat" |
| 3202 | }, |
| 3203 | { |
| 3204 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 3205 | "fieldConfig": { |
| 3206 | "defaults": { |
| 3207 | "custom": {}, |
| 3208 | "mappings": [], |
| 3209 | "thresholds": { |
| 3210 | "mode": "absolute", |
| 3211 | "steps": [ |
| 3212 | { |
| 3213 | "color": "red", |
| 3214 | "value": null |
| 3215 | }, |
| 3216 | { |
| 3217 | "color": "#EAB839", |
| 3218 | "value": 50 |
| 3219 | }, |
| 3220 | { |
| 3221 | "color": "green", |
| 3222 | "value": 95 |
| 3223 | } |
| 3224 | ] |
| 3225 | }, |
| 3226 | "unit": "percent" |
| 3227 | }, |
| 3228 | "overrides": [] |
| 3229 | }, |
| 3230 | "gridPos": { |
| 3231 | "h": 3, |
| 3232 | "w": 4, |
| 3233 | "x": 5, |
| 3234 | "y": 26 |
| 3235 | }, |
| 3236 | "id": 119, |
| 3237 | "maxPerRow": 6, |
| 3238 | "options": { |
| 3239 | "colorMode": "background", |
| 3240 | "graphMode": "none", |
| 3241 | "justifyMode": "auto", |
| 3242 | "orientation": "auto", |
| 3243 | "reduceOptions": { |
| 3244 | "calcs": [ |
| 3245 | "mean" |
| 3246 | ], |
| 3247 | "fields": "", |
| 3248 | "values": false |
| 3249 | }, |
| 3250 | "textMode": "auto" |
| 3251 | }, |
| 3252 | "pluginVersion": "7.1.5", |
| 3253 | "repeat": null, |
| 3254 | "repeatDirection": "h", |
| 3255 | "repeatIteration": 1611099859488, |
| 3256 | "repeatPanelId": 5, |
| 3257 | "repeatedByRow": true, |
| 3258 | "scopedVars": { |
| 3259 | "edge": { |
| 3260 | "selected": false, |
| 3261 | "text": "ace-stanford1-prd", |
| 3262 | "value": "ace-stanford1-prd" |
| 3263 | } |
| 3264 | }, |
| 3265 | "targets": [ |
| 3266 | { |
| 3267 | "expr": "sum(clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
| 3268 | "interval": "", |
| 3269 | "legendFormat": "Control Plane", |
| 3270 | "refId": "A" |
| 3271 | }, |
| 3272 | { |
| 3273 | "expr": "sum(clamp_min(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
| 3274 | "interval": "", |
| 3275 | "legendFormat": "User Plane", |
| 3276 | "refId": "B" |
| 3277 | } |
| 3278 | ], |
| 3279 | "timeFrom": null, |
| 3280 | "timeShift": null, |
| 3281 | "title": "Uptime", |
| 3282 | "transformations": [], |
| 3283 | "type": "stat" |
| 3284 | }, |
| 3285 | { |
| 3286 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 3287 | "description": "", |
| 3288 | "fieldConfig": { |
| 3289 | "defaults": { |
| 3290 | "custom": {}, |
| 3291 | "decimals": 0, |
| 3292 | "mappings": [], |
| 3293 | "thresholds": { |
| 3294 | "mode": "absolute", |
| 3295 | "steps": [ |
| 3296 | { |
| 3297 | "color": "green", |
| 3298 | "value": null |
| 3299 | }, |
| 3300 | { |
| 3301 | "color": "#EAB839", |
| 3302 | "value": 1 |
| 3303 | }, |
| 3304 | { |
| 3305 | "color": "red", |
| 3306 | "value": 10 |
| 3307 | } |
| 3308 | ] |
| 3309 | }, |
| 3310 | "unit": "percent" |
| 3311 | }, |
| 3312 | "overrides": [] |
| 3313 | }, |
| 3314 | "gridPos": { |
| 3315 | "h": 3, |
| 3316 | "w": 2, |
| 3317 | "x": 9, |
| 3318 | "y": 26 |
| 3319 | }, |
| 3320 | "id": 120, |
| 3321 | "maxPerRow": 6, |
| 3322 | "options": { |
| 3323 | "colorMode": "background", |
| 3324 | "graphMode": "none", |
| 3325 | "justifyMode": "auto", |
| 3326 | "orientation": "auto", |
| 3327 | "reduceOptions": { |
| 3328 | "calcs": [ |
| 3329 | "mean" |
| 3330 | ], |
| 3331 | "fields": "", |
| 3332 | "values": false |
| 3333 | }, |
| 3334 | "textMode": "auto" |
| 3335 | }, |
| 3336 | "pluginVersion": "7.1.5", |
| 3337 | "repeatDirection": "h", |
| 3338 | "repeatIteration": 1611099859488, |
| 3339 | "repeatPanelId": 90, |
| 3340 | "repeatedByRow": true, |
| 3341 | "scopedVars": { |
| 3342 | "edge": { |
| 3343 | "selected": false, |
| 3344 | "text": "ace-stanford1-prd", |
| 3345 | "value": "ace-stanford1-prd" |
| 3346 | } |
| 3347 | }, |
| 3348 | "targets": [ |
| 3349 | { |
| 3350 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0)) * 100", |
| 3351 | "interval": "", |
| 3352 | "legendFormat": "", |
| 3353 | "refId": "A" |
| 3354 | } |
| 3355 | ], |
| 3356 | "timeFrom": null, |
| 3357 | "timeShift": null, |
| 3358 | "title": "Unscheduled Downtime", |
| 3359 | "transformations": [], |
| 3360 | "type": "stat" |
| 3361 | }, |
| 3362 | { |
| 3363 | "aliasColors": { |
| 3364 | "Scheduled": "blue", |
| 3365 | "Scheduled downtime": "blue", |
| 3366 | "Test down": "yellow", |
| 3367 | "Unscheduled": "red", |
| 3368 | "Unscheduled downtime": "red" |
| 3369 | }, |
| 3370 | "bars": false, |
| 3371 | "dashLength": 10, |
| 3372 | "dashes": false, |
| 3373 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 3374 | "fieldConfig": { |
| 3375 | "defaults": { |
| 3376 | "custom": {}, |
| 3377 | "links": [] |
| 3378 | }, |
| 3379 | "overrides": [] |
| 3380 | }, |
| 3381 | "fill": 10, |
| 3382 | "fillGradient": 0, |
| 3383 | "gridPos": { |
| 3384 | "h": 3, |
| 3385 | "w": 11, |
| 3386 | "x": 11, |
| 3387 | "y": 26 |
| 3388 | }, |
| 3389 | "hiddenSeries": false, |
| 3390 | "id": 121, |
| 3391 | "legend": { |
| 3392 | "alignAsTable": false, |
| 3393 | "avg": false, |
| 3394 | "current": false, |
| 3395 | "max": false, |
| 3396 | "min": false, |
| 3397 | "rightSide": false, |
| 3398 | "show": true, |
| 3399 | "total": false, |
| 3400 | "values": false |
| 3401 | }, |
| 3402 | "lines": true, |
| 3403 | "linewidth": 0, |
| 3404 | "maxPerRow": 6, |
| 3405 | "nullPointMode": "null", |
| 3406 | "percentage": false, |
| 3407 | "pluginVersion": "7.1.5", |
| 3408 | "pointradius": 2, |
| 3409 | "points": false, |
| 3410 | "renderer": "flot", |
| 3411 | "repeat": null, |
| 3412 | "repeatDirection": "h", |
| 3413 | "repeatIteration": 1611099859488, |
| 3414 | "repeatPanelId": 23, |
| 3415 | "repeatedByRow": true, |
| 3416 | "scopedVars": { |
| 3417 | "edge": { |
| 3418 | "selected": false, |
| 3419 | "text": "ace-stanford1-prd", |
| 3420 | "value": "ace-stanford1-prd" |
| 3421 | } |
| 3422 | }, |
| 3423 | "seriesOverrides": [], |
| 3424 | "spaceLength": 10, |
| 3425 | "stack": false, |
| 3426 | "steppedLine": true, |
| 3427 | "targets": [ |
| 3428 | { |
| 3429 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0))", |
| 3430 | "interval": "", |
| 3431 | "legendFormat": "Unscheduled", |
| 3432 | "refId": "A" |
| 3433 | }, |
| 3434 | { |
| 3435 | "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| 3436 | "interval": "", |
| 3437 | "legendFormat": "Scheduled", |
| 3438 | "refId": "B" |
| 3439 | }, |
| 3440 | { |
| 3441 | "expr": "sum(clamp_min((aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} * -1) - 1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}, 0))", |
| 3442 | "interval": "", |
| 3443 | "legendFormat": "Test down", |
| 3444 | "refId": "C" |
| 3445 | } |
| 3446 | ], |
| 3447 | "thresholds": [], |
| 3448 | "timeFrom": null, |
| 3449 | "timeRegions": [], |
| 3450 | "timeShift": null, |
| 3451 | "title": "Downtime", |
| 3452 | "tooltip": { |
| 3453 | "shared": true, |
| 3454 | "sort": 0, |
| 3455 | "value_type": "individual" |
| 3456 | }, |
| 3457 | "type": "graph", |
| 3458 | "xaxis": { |
| 3459 | "buckets": null, |
| 3460 | "mode": "time", |
| 3461 | "name": null, |
| 3462 | "show": true, |
| 3463 | "values": [] |
| 3464 | }, |
| 3465 | "yaxes": [ |
| 3466 | { |
| 3467 | "$$hashKey": "object:93", |
| 3468 | "decimals": 0, |
| 3469 | "format": "short", |
| 3470 | "label": "", |
| 3471 | "logBase": 1, |
| 3472 | "max": "1", |
| 3473 | "min": "0", |
| 3474 | "show": false |
| 3475 | }, |
| 3476 | { |
| 3477 | "$$hashKey": "object:94", |
| 3478 | "format": "short", |
| 3479 | "label": null, |
| 3480 | "logBase": 1, |
| 3481 | "max": null, |
| 3482 | "min": null, |
| 3483 | "show": false |
| 3484 | } |
| 3485 | ], |
| 3486 | "yaxis": { |
| 3487 | "align": false, |
| 3488 | "alignLevel": null |
| 3489 | } |
| 3490 | }, |
| 3491 | { |
| 3492 | "datasource": "$edge", |
| 3493 | "fieldConfig": { |
| 3494 | "defaults": { |
| 3495 | "custom": {}, |
| 3496 | "mappings": [], |
| 3497 | "noValue": "0", |
| 3498 | "thresholds": { |
| 3499 | "mode": "absolute", |
| 3500 | "steps": [ |
| 3501 | { |
| 3502 | "color": "green", |
| 3503 | "value": null |
| 3504 | }, |
| 3505 | { |
| 3506 | "color": "red", |
| 3507 | "value": 1 |
| 3508 | } |
| 3509 | ] |
| 3510 | } |
| 3511 | }, |
| 3512 | "overrides": [] |
| 3513 | }, |
| 3514 | "gridPos": { |
| 3515 | "h": 3, |
| 3516 | "w": 2, |
| 3517 | "x": 22, |
| 3518 | "y": 26 |
| 3519 | }, |
| 3520 | "id": 122, |
| 3521 | "options": { |
| 3522 | "colorMode": "value", |
| 3523 | "graphMode": "area", |
| 3524 | "justifyMode": "auto", |
| 3525 | "orientation": "auto", |
| 3526 | "reduceOptions": { |
| 3527 | "calcs": [ |
| 3528 | "last" |
| 3529 | ], |
| 3530 | "fields": "", |
| 3531 | "values": false |
| 3532 | }, |
| 3533 | "textMode": "auto" |
| 3534 | }, |
| 3535 | "pluginVersion": "7.1.5", |
| 3536 | "repeatIteration": 1611099859488, |
| 3537 | "repeatPanelId": 92, |
| 3538 | "repeatedByRow": true, |
| 3539 | "scopedVars": { |
| 3540 | "edge": { |
| 3541 | "selected": false, |
| 3542 | "text": "ace-stanford1-prd", |
| 3543 | "value": "ace-stanford1-prd" |
| 3544 | } |
| 3545 | }, |
| 3546 | "targets": [ |
| 3547 | { |
| 3548 | "expr": "sum(ALERTS{alertstate=\"firing\", severity=~\"critical|warning\", alertname!~\"NodeClockNotSynchronising|Kube.*Overcommit\"})", |
| 3549 | "interval": "", |
| 3550 | "legendFormat": "", |
| 3551 | "refId": "A" |
| 3552 | } |
| 3553 | ], |
| 3554 | "timeFrom": null, |
| 3555 | "timeShift": null, |
| 3556 | "title": "Alerts", |
| 3557 | "type": "stat" |
| 3558 | }, |
| 3559 | { |
| 3560 | "collapsed": false, |
| 3561 | "datasource": null, |
| 3562 | "gridPos": { |
| 3563 | "h": 1, |
| 3564 | "w": 24, |
| 3565 | "x": 0, |
| 3566 | "y": 29 |
| 3567 | }, |
| 3568 | "id": 123, |
| 3569 | "panels": [], |
| 3570 | "repeat": null, |
| 3571 | "repeatIteration": 1611099859488, |
| 3572 | "repeatPanelId": 35, |
| 3573 | "scopedVars": { |
| 3574 | "edge": { |
| 3575 | "selected": false, |
| 3576 | "text": "ace-stanford2-prd", |
| 3577 | "value": "ace-stanford2-prd" |
| 3578 | } |
| 3579 | }, |
| 3580 | "title": "Edge: $edge", |
| 3581 | "type": "row" |
| 3582 | }, |
| 3583 | { |
| 3584 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 3585 | "description": "", |
| 3586 | "fieldConfig": { |
| 3587 | "defaults": { |
| 3588 | "custom": {}, |
| 3589 | "mappings": [ |
| 3590 | { |
| 3591 | "from": "", |
| 3592 | "id": 1, |
| 3593 | "operator": "", |
| 3594 | "text": "error", |
| 3595 | "to": "", |
| 3596 | "type": 1, |
| 3597 | "value": "-1" |
| 3598 | }, |
| 3599 | { |
| 3600 | "from": "", |
| 3601 | "id": 2, |
| 3602 | "operator": "", |
| 3603 | "text": "disconnected", |
| 3604 | "to": "", |
| 3605 | "type": 1, |
| 3606 | "value": "0" |
| 3607 | }, |
| 3608 | { |
| 3609 | "from": "", |
| 3610 | "id": 3, |
| 3611 | "operator": "", |
| 3612 | "text": "connecting", |
| 3613 | "to": "", |
| 3614 | "type": 1, |
| 3615 | "value": "1" |
| 3616 | }, |
| 3617 | { |
| 3618 | "from": "", |
| 3619 | "id": 4, |
| 3620 | "operator": "", |
| 3621 | "text": "connected", |
| 3622 | "to": "", |
| 3623 | "type": 1, |
| 3624 | "value": "2" |
| 3625 | }, |
| 3626 | { |
| 3627 | "from": "", |
| 3628 | "id": 5, |
| 3629 | "operator": "", |
| 3630 | "text": "no result", |
| 3631 | "to": "", |
| 3632 | "type": 1, |
| 3633 | "value": "-2" |
| 3634 | }, |
| 3635 | { |
| 3636 | "from": "-100", |
| 3637 | "id": 6, |
| 3638 | "operator": "", |
| 3639 | "text": "scheduled downtime", |
| 3640 | "to": "-3", |
| 3641 | "type": 2 |
| 3642 | } |
| 3643 | ], |
| 3644 | "thresholds": { |
| 3645 | "mode": "absolute", |
| 3646 | "steps": [ |
| 3647 | { |
| 3648 | "color": "red", |
| 3649 | "value": null |
| 3650 | }, |
| 3651 | { |
| 3652 | "color": "#6ED0E0", |
| 3653 | "value": -100 |
| 3654 | }, |
| 3655 | { |
| 3656 | "color": "red", |
| 3657 | "value": -2 |
| 3658 | }, |
| 3659 | { |
| 3660 | "color": "#EAB839", |
| 3661 | "value": 1 |
| 3662 | }, |
| 3663 | { |
| 3664 | "color": "green", |
| 3665 | "value": 2 |
| 3666 | } |
| 3667 | ] |
| 3668 | } |
| 3669 | }, |
| 3670 | "overrides": [] |
| 3671 | }, |
| 3672 | "gridPos": { |
| 3673 | "h": 3, |
| 3674 | "w": 5, |
| 3675 | "x": 0, |
| 3676 | "y": 30 |
| 3677 | }, |
| 3678 | "id": 124, |
| 3679 | "links": [ |
| 3680 | { |
| 3681 | "targetBlank": true, |
| 3682 | "title": "Drill down: cluster compute", |
| 3683 | "url": "d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster?orgId=1&refresh=10s&var-datasource=${edge}&${__url_time_range}" |
| 3684 | }, |
| 3685 | { |
| 3686 | "targetBlank": true, |
| 3687 | "title": "Drill down: cluster networking", |
| 3688 | "url": "d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster?orgId=1&refresh=10s&var-resolution=5m&var-interval=4h&var-datasource=${edge}&${__url_time_range}" |
| 3689 | }, |
| 3690 | { |
| 3691 | "targetBlank": true, |
| 3692 | "title": "Drill down: nodes", |
| 3693 | "url": "d/fa49a4706d07a042595b664c87fb33ea/nodes?orgId=1&var-datasource=${edge}&${__url_time_range}" |
| 3694 | } |
| 3695 | ], |
| 3696 | "maxPerRow": 6, |
| 3697 | "options": { |
| 3698 | "colorMode": "background", |
| 3699 | "graphMode": "none", |
| 3700 | "justifyMode": "auto", |
| 3701 | "orientation": "auto", |
| 3702 | "reduceOptions": { |
| 3703 | "calcs": [ |
| 3704 | "last" |
| 3705 | ], |
| 3706 | "fields": "", |
| 3707 | "values": false |
| 3708 | }, |
| 3709 | "textMode": "auto" |
| 3710 | }, |
| 3711 | "pluginVersion": "7.1.5", |
| 3712 | "repeat": null, |
| 3713 | "repeatDirection": "h", |
| 3714 | "repeatIteration": 1611099859488, |
| 3715 | "repeatPanelId": 4, |
| 3716 | "repeatedByRow": true, |
| 3717 | "scopedVars": { |
| 3718 | "edge": { |
| 3719 | "selected": false, |
| 3720 | "text": "ace-stanford2-prd", |
| 3721 | "value": "ace-stanford2-prd" |
| 3722 | } |
| 3723 | }, |
| 3724 | "targets": [ |
| 3725 | { |
| 3726 | "expr": "sum(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| 3727 | "interval": "", |
| 3728 | "legendFormat": "Control Plane", |
| 3729 | "refId": "A" |
| 3730 | }, |
| 3731 | { |
| 3732 | "expr": "sum(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| 3733 | "interval": "", |
| 3734 | "legendFormat": "User Plane", |
| 3735 | "refId": "B" |
| 3736 | } |
| 3737 | ], |
| 3738 | "timeFrom": null, |
| 3739 | "timeShift": null, |
| 3740 | "title": "Current", |
| 3741 | "type": "stat" |
| 3742 | }, |
| 3743 | { |
| 3744 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 3745 | "fieldConfig": { |
| 3746 | "defaults": { |
| 3747 | "custom": {}, |
| 3748 | "mappings": [], |
| 3749 | "thresholds": { |
| 3750 | "mode": "absolute", |
| 3751 | "steps": [ |
| 3752 | { |
| 3753 | "color": "red", |
| 3754 | "value": null |
| 3755 | }, |
| 3756 | { |
| 3757 | "color": "#EAB839", |
| 3758 | "value": 50 |
| 3759 | }, |
| 3760 | { |
| 3761 | "color": "green", |
| 3762 | "value": 95 |
| 3763 | } |
| 3764 | ] |
| 3765 | }, |
| 3766 | "unit": "percent" |
| 3767 | }, |
| 3768 | "overrides": [] |
| 3769 | }, |
| 3770 | "gridPos": { |
| 3771 | "h": 3, |
| 3772 | "w": 4, |
| 3773 | "x": 5, |
| 3774 | "y": 30 |
| 3775 | }, |
| 3776 | "id": 125, |
| 3777 | "maxPerRow": 6, |
| 3778 | "options": { |
| 3779 | "colorMode": "background", |
| 3780 | "graphMode": "none", |
| 3781 | "justifyMode": "auto", |
| 3782 | "orientation": "auto", |
| 3783 | "reduceOptions": { |
| 3784 | "calcs": [ |
| 3785 | "mean" |
| 3786 | ], |
| 3787 | "fields": "", |
| 3788 | "values": false |
| 3789 | }, |
| 3790 | "textMode": "auto" |
| 3791 | }, |
| 3792 | "pluginVersion": "7.1.5", |
| 3793 | "repeat": null, |
| 3794 | "repeatDirection": "h", |
| 3795 | "repeatIteration": 1611099859488, |
| 3796 | "repeatPanelId": 5, |
| 3797 | "repeatedByRow": true, |
| 3798 | "scopedVars": { |
| 3799 | "edge": { |
| 3800 | "selected": false, |
| 3801 | "text": "ace-stanford2-prd", |
| 3802 | "value": "ace-stanford2-prd" |
| 3803 | } |
| 3804 | }, |
| 3805 | "targets": [ |
| 3806 | { |
| 3807 | "expr": "sum(clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
| 3808 | "interval": "", |
| 3809 | "legendFormat": "Control Plane", |
| 3810 | "refId": "A" |
| 3811 | }, |
| 3812 | { |
| 3813 | "expr": "sum(clamp_min(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
| 3814 | "interval": "", |
| 3815 | "legendFormat": "User Plane", |
| 3816 | "refId": "B" |
| 3817 | } |
| 3818 | ], |
| 3819 | "timeFrom": null, |
| 3820 | "timeShift": null, |
| 3821 | "title": "Uptime", |
| 3822 | "transformations": [], |
| 3823 | "type": "stat" |
| 3824 | }, |
| 3825 | { |
| 3826 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 3827 | "description": "", |
| 3828 | "fieldConfig": { |
| 3829 | "defaults": { |
| 3830 | "custom": {}, |
| 3831 | "decimals": 0, |
| 3832 | "mappings": [], |
| 3833 | "thresholds": { |
| 3834 | "mode": "absolute", |
| 3835 | "steps": [ |
| 3836 | { |
| 3837 | "color": "green", |
| 3838 | "value": null |
| 3839 | }, |
| 3840 | { |
| 3841 | "color": "#EAB839", |
| 3842 | "value": 1 |
| 3843 | }, |
| 3844 | { |
| 3845 | "color": "red", |
| 3846 | "value": 10 |
| 3847 | } |
| 3848 | ] |
| 3849 | }, |
| 3850 | "unit": "percent" |
| 3851 | }, |
| 3852 | "overrides": [] |
| 3853 | }, |
| 3854 | "gridPos": { |
| 3855 | "h": 3, |
| 3856 | "w": 2, |
| 3857 | "x": 9, |
| 3858 | "y": 30 |
| 3859 | }, |
| 3860 | "id": 126, |
| 3861 | "maxPerRow": 6, |
| 3862 | "options": { |
| 3863 | "colorMode": "background", |
| 3864 | "graphMode": "none", |
| 3865 | "justifyMode": "auto", |
| 3866 | "orientation": "auto", |
| 3867 | "reduceOptions": { |
| 3868 | "calcs": [ |
| 3869 | "mean" |
| 3870 | ], |
| 3871 | "fields": "", |
| 3872 | "values": false |
| 3873 | }, |
| 3874 | "textMode": "auto" |
| 3875 | }, |
| 3876 | "pluginVersion": "7.1.5", |
| 3877 | "repeatDirection": "h", |
| 3878 | "repeatIteration": 1611099859488, |
| 3879 | "repeatPanelId": 90, |
| 3880 | "repeatedByRow": true, |
| 3881 | "scopedVars": { |
| 3882 | "edge": { |
| 3883 | "selected": false, |
| 3884 | "text": "ace-stanford2-prd", |
| 3885 | "value": "ace-stanford2-prd" |
| 3886 | } |
| 3887 | }, |
| 3888 | "targets": [ |
| 3889 | { |
| 3890 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0)) * 100", |
| 3891 | "interval": "", |
| 3892 | "legendFormat": "", |
| 3893 | "refId": "A" |
| 3894 | } |
| 3895 | ], |
| 3896 | "timeFrom": null, |
| 3897 | "timeShift": null, |
| 3898 | "title": "Unscheduled Downtime", |
| 3899 | "transformations": [], |
| 3900 | "type": "stat" |
| 3901 | }, |
| 3902 | { |
| 3903 | "aliasColors": { |
| 3904 | "Scheduled": "blue", |
| 3905 | "Scheduled downtime": "blue", |
| 3906 | "Test down": "yellow", |
| 3907 | "Unscheduled": "red", |
| 3908 | "Unscheduled downtime": "red" |
| 3909 | }, |
| 3910 | "bars": false, |
| 3911 | "dashLength": 10, |
| 3912 | "dashes": false, |
| 3913 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 3914 | "fieldConfig": { |
| 3915 | "defaults": { |
| 3916 | "custom": {}, |
| 3917 | "links": [] |
| 3918 | }, |
| 3919 | "overrides": [] |
| 3920 | }, |
| 3921 | "fill": 10, |
| 3922 | "fillGradient": 0, |
| 3923 | "gridPos": { |
| 3924 | "h": 3, |
| 3925 | "w": 11, |
| 3926 | "x": 11, |
| 3927 | "y": 30 |
| 3928 | }, |
| 3929 | "hiddenSeries": false, |
| 3930 | "id": 127, |
| 3931 | "legend": { |
| 3932 | "alignAsTable": false, |
| 3933 | "avg": false, |
| 3934 | "current": false, |
| 3935 | "max": false, |
| 3936 | "min": false, |
| 3937 | "rightSide": false, |
| 3938 | "show": true, |
| 3939 | "total": false, |
| 3940 | "values": false |
| 3941 | }, |
| 3942 | "lines": true, |
| 3943 | "linewidth": 0, |
| 3944 | "maxPerRow": 6, |
| 3945 | "nullPointMode": "null", |
| 3946 | "percentage": false, |
| 3947 | "pluginVersion": "7.1.5", |
| 3948 | "pointradius": 2, |
| 3949 | "points": false, |
| 3950 | "renderer": "flot", |
| 3951 | "repeat": null, |
| 3952 | "repeatDirection": "h", |
| 3953 | "repeatIteration": 1611099859488, |
| 3954 | "repeatPanelId": 23, |
| 3955 | "repeatedByRow": true, |
| 3956 | "scopedVars": { |
| 3957 | "edge": { |
| 3958 | "selected": false, |
| 3959 | "text": "ace-stanford2-prd", |
| 3960 | "value": "ace-stanford2-prd" |
| 3961 | } |
| 3962 | }, |
| 3963 | "seriesOverrides": [], |
| 3964 | "spaceLength": 10, |
| 3965 | "stack": false, |
| 3966 | "steppedLine": true, |
| 3967 | "targets": [ |
| 3968 | { |
| 3969 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0))", |
| 3970 | "interval": "", |
| 3971 | "legendFormat": "Unscheduled", |
| 3972 | "refId": "A" |
| 3973 | }, |
| 3974 | { |
| 3975 | "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| 3976 | "interval": "", |
| 3977 | "legendFormat": "Scheduled", |
| 3978 | "refId": "B" |
| 3979 | }, |
| 3980 | { |
| 3981 | "expr": "sum(clamp_min((aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} * -1) - 1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}, 0))", |
| 3982 | "interval": "", |
| 3983 | "legendFormat": "Test down", |
| 3984 | "refId": "C" |
| 3985 | } |
| 3986 | ], |
| 3987 | "thresholds": [], |
| 3988 | "timeFrom": null, |
| 3989 | "timeRegions": [], |
| 3990 | "timeShift": null, |
| 3991 | "title": "Downtime", |
| 3992 | "tooltip": { |
| 3993 | "shared": true, |
| 3994 | "sort": 0, |
| 3995 | "value_type": "individual" |
| 3996 | }, |
| 3997 | "type": "graph", |
| 3998 | "xaxis": { |
| 3999 | "buckets": null, |
| 4000 | "mode": "time", |
| 4001 | "name": null, |
| 4002 | "show": true, |
| 4003 | "values": [] |
| 4004 | }, |
| 4005 | "yaxes": [ |
| 4006 | { |
| 4007 | "$$hashKey": "object:93", |
| 4008 | "decimals": 0, |
| 4009 | "format": "short", |
| 4010 | "label": "", |
| 4011 | "logBase": 1, |
| 4012 | "max": "1", |
| 4013 | "min": "0", |
| 4014 | "show": false |
| 4015 | }, |
| 4016 | { |
| 4017 | "$$hashKey": "object:94", |
| 4018 | "format": "short", |
| 4019 | "label": null, |
| 4020 | "logBase": 1, |
| 4021 | "max": null, |
| 4022 | "min": null, |
| 4023 | "show": false |
| 4024 | } |
| 4025 | ], |
| 4026 | "yaxis": { |
| 4027 | "align": false, |
| 4028 | "alignLevel": null |
| 4029 | } |
| 4030 | }, |
| 4031 | { |
| 4032 | "datasource": "$edge", |
| 4033 | "fieldConfig": { |
| 4034 | "defaults": { |
| 4035 | "custom": {}, |
| 4036 | "mappings": [], |
| 4037 | "noValue": "0", |
| 4038 | "thresholds": { |
| 4039 | "mode": "absolute", |
| 4040 | "steps": [ |
| 4041 | { |
| 4042 | "color": "green", |
| 4043 | "value": null |
| 4044 | }, |
| 4045 | { |
| 4046 | "color": "red", |
| 4047 | "value": 1 |
| 4048 | } |
| 4049 | ] |
| 4050 | } |
| 4051 | }, |
| 4052 | "overrides": [] |
| 4053 | }, |
| 4054 | "gridPos": { |
| 4055 | "h": 3, |
| 4056 | "w": 2, |
| 4057 | "x": 22, |
| 4058 | "y": 30 |
| 4059 | }, |
| 4060 | "id": 128, |
| 4061 | "options": { |
| 4062 | "colorMode": "value", |
| 4063 | "graphMode": "area", |
| 4064 | "justifyMode": "auto", |
| 4065 | "orientation": "auto", |
| 4066 | "reduceOptions": { |
| 4067 | "calcs": [ |
| 4068 | "last" |
| 4069 | ], |
| 4070 | "fields": "", |
| 4071 | "values": false |
| 4072 | }, |
| 4073 | "textMode": "auto" |
| 4074 | }, |
| 4075 | "pluginVersion": "7.1.5", |
| 4076 | "repeatIteration": 1611099859488, |
| 4077 | "repeatPanelId": 92, |
| 4078 | "repeatedByRow": true, |
| 4079 | "scopedVars": { |
| 4080 | "edge": { |
| 4081 | "selected": false, |
| 4082 | "text": "ace-stanford2-prd", |
| 4083 | "value": "ace-stanford2-prd" |
| 4084 | } |
| 4085 | }, |
| 4086 | "targets": [ |
| 4087 | { |
| 4088 | "expr": "sum(ALERTS{alertstate=\"firing\", severity=~\"critical|warning\", alertname!~\"NodeClockNotSynchronising|Kube.*Overcommit\"})", |
| 4089 | "interval": "", |
| 4090 | "legendFormat": "", |
| 4091 | "refId": "A" |
| 4092 | } |
| 4093 | ], |
| 4094 | "timeFrom": null, |
| 4095 | "timeShift": null, |
| 4096 | "title": "Alerts", |
| 4097 | "type": "stat" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4098 | }, |
| 4099 | { |
| 4100 | "collapsed": false, |
| 4101 | "datasource": null, |
| 4102 | "gridPos": { |
| 4103 | "h": 1, |
| 4104 | "w": 24, |
| 4105 | "x": 0, |
Andy Bavier | 1be3dc9 | 2021-01-15 09:36:29 -0700 | [diff] [blame] | 4106 | "y": 33 |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4107 | }, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4108 | "id": 129, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4109 | "panels": [], |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4110 | "repeat": null, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4111 | "repeatIteration": 1611099859488, |
| 4112 | "repeatPanelId": 35, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4113 | "scopedVars": { |
| 4114 | "edge": { |
| 4115 | "selected": false, |
| 4116 | "text": "ace-tucson", |
| 4117 | "value": "ace-tucson" |
| 4118 | } |
| 4119 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4120 | "title": "Edge: $edge", |
| 4121 | "type": "row" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4122 | }, |
| 4123 | { |
| 4124 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 4125 | "description": "", |
| 4126 | "fieldConfig": { |
| 4127 | "defaults": { |
| 4128 | "custom": {}, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4129 | "mappings": [ |
| 4130 | { |
| 4131 | "from": "", |
| 4132 | "id": 1, |
| 4133 | "operator": "", |
| 4134 | "text": "error", |
| 4135 | "to": "", |
| 4136 | "type": 1, |
| 4137 | "value": "-1" |
| 4138 | }, |
| 4139 | { |
| 4140 | "from": "", |
| 4141 | "id": 2, |
| 4142 | "operator": "", |
| 4143 | "text": "disconnected", |
| 4144 | "to": "", |
| 4145 | "type": 1, |
| 4146 | "value": "0" |
| 4147 | }, |
| 4148 | { |
| 4149 | "from": "", |
| 4150 | "id": 3, |
| 4151 | "operator": "", |
| 4152 | "text": "connecting", |
| 4153 | "to": "", |
| 4154 | "type": 1, |
| 4155 | "value": "1" |
| 4156 | }, |
| 4157 | { |
| 4158 | "from": "", |
| 4159 | "id": 4, |
| 4160 | "operator": "", |
| 4161 | "text": "connected", |
| 4162 | "to": "", |
| 4163 | "type": 1, |
| 4164 | "value": "2" |
| 4165 | }, |
| 4166 | { |
| 4167 | "from": "", |
| 4168 | "id": 5, |
| 4169 | "operator": "", |
| 4170 | "text": "no result", |
| 4171 | "to": "", |
| 4172 | "type": 1, |
| 4173 | "value": "-2" |
| 4174 | }, |
| 4175 | { |
| 4176 | "from": "-100", |
| 4177 | "id": 6, |
| 4178 | "operator": "", |
| 4179 | "text": "scheduled downtime", |
| 4180 | "to": "-3", |
| 4181 | "type": 2 |
| 4182 | } |
| 4183 | ], |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4184 | "thresholds": { |
| 4185 | "mode": "absolute", |
| 4186 | "steps": [ |
| 4187 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4188 | "color": "red", |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4189 | "value": null |
| 4190 | }, |
| 4191 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4192 | "color": "#6ED0E0", |
| 4193 | "value": -100 |
| 4194 | }, |
| 4195 | { |
| 4196 | "color": "red", |
| 4197 | "value": -2 |
| 4198 | }, |
| 4199 | { |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4200 | "color": "#EAB839", |
| 4201 | "value": 1 |
| 4202 | }, |
| 4203 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4204 | "color": "green", |
| 4205 | "value": 2 |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4206 | } |
| 4207 | ] |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4208 | } |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4209 | }, |
| 4210 | "overrides": [] |
| 4211 | }, |
| 4212 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4213 | "h": 3, |
| 4214 | "w": 5, |
| 4215 | "x": 0, |
| 4216 | "y": 34 |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4217 | }, |
| 4218 | "id": 130, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4219 | "links": [ |
| 4220 | { |
| 4221 | "targetBlank": true, |
| 4222 | "title": "Drill down: cluster compute", |
| 4223 | "url": "d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster?orgId=1&refresh=10s&var-datasource=${edge}&${__url_time_range}" |
| 4224 | }, |
| 4225 | { |
| 4226 | "targetBlank": true, |
| 4227 | "title": "Drill down: cluster networking", |
| 4228 | "url": "d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster?orgId=1&refresh=10s&var-resolution=5m&var-interval=4h&var-datasource=${edge}&${__url_time_range}" |
| 4229 | }, |
| 4230 | { |
| 4231 | "targetBlank": true, |
| 4232 | "title": "Drill down: nodes", |
| 4233 | "url": "d/fa49a4706d07a042595b664c87fb33ea/nodes?orgId=1&var-datasource=${edge}&${__url_time_range}" |
| 4234 | } |
| 4235 | ], |
| 4236 | "maxPerRow": 6, |
| 4237 | "options": { |
| 4238 | "colorMode": "background", |
| 4239 | "graphMode": "none", |
| 4240 | "justifyMode": "auto", |
| 4241 | "orientation": "auto", |
| 4242 | "reduceOptions": { |
| 4243 | "calcs": [ |
| 4244 | "last" |
| 4245 | ], |
| 4246 | "fields": "", |
| 4247 | "values": false |
| 4248 | }, |
| 4249 | "textMode": "auto" |
| 4250 | }, |
| 4251 | "pluginVersion": "7.1.5", |
| 4252 | "repeat": null, |
| 4253 | "repeatDirection": "h", |
| 4254 | "repeatIteration": 1611099859488, |
| 4255 | "repeatPanelId": 4, |
| 4256 | "repeatedByRow": true, |
| 4257 | "scopedVars": { |
| 4258 | "edge": { |
| 4259 | "selected": false, |
| 4260 | "text": "ace-tucson", |
| 4261 | "value": "ace-tucson" |
| 4262 | } |
| 4263 | }, |
| 4264 | "targets": [ |
| 4265 | { |
| 4266 | "expr": "sum(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| 4267 | "interval": "", |
| 4268 | "legendFormat": "Control Plane", |
| 4269 | "refId": "A" |
| 4270 | }, |
| 4271 | { |
| 4272 | "expr": "sum(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| 4273 | "interval": "", |
| 4274 | "legendFormat": "User Plane", |
| 4275 | "refId": "B" |
| 4276 | } |
| 4277 | ], |
| 4278 | "timeFrom": null, |
| 4279 | "timeShift": null, |
| 4280 | "title": "Current", |
| 4281 | "type": "stat" |
| 4282 | }, |
| 4283 | { |
| 4284 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 4285 | "fieldConfig": { |
| 4286 | "defaults": { |
| 4287 | "custom": {}, |
| 4288 | "mappings": [], |
| 4289 | "thresholds": { |
| 4290 | "mode": "absolute", |
| 4291 | "steps": [ |
| 4292 | { |
| 4293 | "color": "red", |
| 4294 | "value": null |
| 4295 | }, |
| 4296 | { |
| 4297 | "color": "#EAB839", |
| 4298 | "value": 50 |
| 4299 | }, |
| 4300 | { |
| 4301 | "color": "green", |
| 4302 | "value": 95 |
| 4303 | } |
| 4304 | ] |
| 4305 | }, |
| 4306 | "unit": "percent" |
| 4307 | }, |
| 4308 | "overrides": [] |
| 4309 | }, |
| 4310 | "gridPos": { |
| 4311 | "h": 3, |
| 4312 | "w": 4, |
| 4313 | "x": 5, |
| 4314 | "y": 34 |
| 4315 | }, |
| 4316 | "id": 131, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4317 | "maxPerRow": 6, |
| 4318 | "options": { |
| 4319 | "colorMode": "background", |
| 4320 | "graphMode": "none", |
| 4321 | "justifyMode": "auto", |
| 4322 | "orientation": "auto", |
| 4323 | "reduceOptions": { |
| 4324 | "calcs": [ |
| 4325 | "mean" |
| 4326 | ], |
| 4327 | "fields": "", |
| 4328 | "values": false |
| 4329 | }, |
| 4330 | "textMode": "auto" |
| 4331 | }, |
| 4332 | "pluginVersion": "7.1.5", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4333 | "repeat": null, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4334 | "repeatDirection": "h", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4335 | "repeatIteration": 1611099859488, |
| 4336 | "repeatPanelId": 5, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4337 | "repeatedByRow": true, |
| 4338 | "scopedVars": { |
| 4339 | "edge": { |
| 4340 | "selected": false, |
| 4341 | "text": "ace-tucson", |
| 4342 | "value": "ace-tucson" |
| 4343 | } |
| 4344 | }, |
| 4345 | "targets": [ |
| 4346 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4347 | "expr": "sum(clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4348 | "interval": "", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4349 | "legendFormat": "Control Plane", |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4350 | "refId": "A" |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4351 | }, |
| 4352 | { |
| 4353 | "expr": "sum(clamp_min(aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 1, 0) * 100)", |
| 4354 | "interval": "", |
| 4355 | "legendFormat": "User Plane", |
| 4356 | "refId": "B" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4357 | } |
| 4358 | ], |
| 4359 | "timeFrom": null, |
| 4360 | "timeShift": null, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4361 | "title": "Uptime", |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4362 | "transformations": [], |
| 4363 | "type": "stat" |
| 4364 | }, |
| 4365 | { |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4366 | "datasource": "RANCHER_MONITORING_GLOBAL", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4367 | "description": "", |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4368 | "fieldConfig": { |
| 4369 | "defaults": { |
| 4370 | "custom": {}, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4371 | "decimals": 0, |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4372 | "mappings": [], |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4373 | "thresholds": { |
| 4374 | "mode": "absolute", |
| 4375 | "steps": [ |
| 4376 | { |
| 4377 | "color": "green", |
| 4378 | "value": null |
| 4379 | }, |
| 4380 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4381 | "color": "#EAB839", |
| 4382 | "value": 1 |
| 4383 | }, |
| 4384 | { |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4385 | "color": "red", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4386 | "value": 10 |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4387 | } |
| 4388 | ] |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4389 | }, |
| 4390 | "unit": "percent" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4391 | }, |
| 4392 | "overrides": [] |
| 4393 | }, |
| 4394 | "gridPos": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4395 | "h": 3, |
| 4396 | "w": 2, |
| 4397 | "x": 9, |
| 4398 | "y": 34 |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4399 | }, |
| 4400 | "id": 132, |
| 4401 | "maxPerRow": 6, |
| 4402 | "options": { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4403 | "colorMode": "background", |
| 4404 | "graphMode": "none", |
| 4405 | "justifyMode": "auto", |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4406 | "orientation": "auto", |
| 4407 | "reduceOptions": { |
| 4408 | "calcs": [ |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4409 | "mean" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4410 | ], |
| 4411 | "fields": "", |
| 4412 | "values": false |
| 4413 | }, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4414 | "textMode": "auto" |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4415 | }, |
| 4416 | "pluginVersion": "7.1.5", |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4417 | "repeatDirection": "h", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4418 | "repeatIteration": 1611099859488, |
| 4419 | "repeatPanelId": 90, |
Andy Bavier | 2f13785 | 2020-12-09 15:31:09 -0700 | [diff] [blame] | 4420 | "repeatedByRow": true, |
| 4421 | "scopedVars": { |
| 4422 | "edge": { |
| 4423 | "selected": false, |
| 4424 | "text": "ace-tucson", |
| 4425 | "value": "ace-tucson" |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4426 | } |
| 4427 | }, |
| 4428 | "targets": [ |
| 4429 | { |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4430 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0)) * 100", |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 4431 | "interval": "", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4432 | "legendFormat": "", |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 4433 | "refId": "A" |
| 4434 | } |
| 4435 | ], |
| 4436 | "timeFrom": null, |
| 4437 | "timeShift": null, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4438 | "title": "Unscheduled Downtime", |
| 4439 | "transformations": [], |
| 4440 | "type": "stat" |
| 4441 | }, |
| 4442 | { |
| 4443 | "aliasColors": { |
| 4444 | "Scheduled": "blue", |
| 4445 | "Scheduled downtime": "blue", |
| 4446 | "Test down": "yellow", |
| 4447 | "Unscheduled": "red", |
| 4448 | "Unscheduled downtime": "red" |
| 4449 | }, |
| 4450 | "bars": false, |
| 4451 | "dashLength": 10, |
| 4452 | "dashes": false, |
| 4453 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 4454 | "fieldConfig": { |
| 4455 | "defaults": { |
| 4456 | "custom": {}, |
| 4457 | "links": [] |
| 4458 | }, |
| 4459 | "overrides": [] |
| 4460 | }, |
| 4461 | "fill": 10, |
| 4462 | "fillGradient": 0, |
| 4463 | "gridPos": { |
| 4464 | "h": 3, |
| 4465 | "w": 11, |
| 4466 | "x": 11, |
| 4467 | "y": 34 |
| 4468 | }, |
| 4469 | "hiddenSeries": false, |
| 4470 | "id": 133, |
| 4471 | "legend": { |
| 4472 | "alignAsTable": false, |
| 4473 | "avg": false, |
| 4474 | "current": false, |
| 4475 | "max": false, |
| 4476 | "min": false, |
| 4477 | "rightSide": false, |
| 4478 | "show": true, |
| 4479 | "total": false, |
| 4480 | "values": false |
| 4481 | }, |
| 4482 | "lines": true, |
| 4483 | "linewidth": 0, |
| 4484 | "maxPerRow": 6, |
| 4485 | "nullPointMode": "null", |
| 4486 | "percentage": false, |
| 4487 | "pluginVersion": "7.1.5", |
| 4488 | "pointradius": 2, |
| 4489 | "points": false, |
| 4490 | "renderer": "flot", |
| 4491 | "repeat": null, |
| 4492 | "repeatDirection": "h", |
| 4493 | "repeatIteration": 1611099859488, |
| 4494 | "repeatPanelId": 23, |
| 4495 | "repeatedByRow": true, |
| 4496 | "scopedVars": { |
| 4497 | "edge": { |
| 4498 | "selected": false, |
| 4499 | "text": "ace-tucson", |
| 4500 | "value": "ace-tucson" |
| 4501 | } |
| 4502 | }, |
| 4503 | "seriesOverrides": [], |
| 4504 | "spaceLength": 10, |
| 4505 | "stack": false, |
| 4506 | "steppedLine": true, |
| 4507 | "targets": [ |
| 4508 | { |
| 4509 | "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} + aetheredge_status_user_plane{endpoint=\"metrics80\",name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}), 0))", |
| 4510 | "interval": "", |
| 4511 | "legendFormat": "Unscheduled", |
| 4512 | "refId": "A" |
| 4513 | }, |
| 4514 | { |
| 4515 | "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| 4516 | "interval": "", |
| 4517 | "legendFormat": "Scheduled", |
| 4518 | "refId": "B" |
| 4519 | }, |
| 4520 | { |
| 4521 | "expr": "sum(clamp_min((aetheredge_status_control_plane{endpoint=\"metrics80\",name=\"$edge\"} * -1) - 1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}, 0))", |
| 4522 | "interval": "", |
| 4523 | "legendFormat": "Test down", |
| 4524 | "refId": "C" |
| 4525 | } |
| 4526 | ], |
| 4527 | "thresholds": [], |
| 4528 | "timeFrom": null, |
| 4529 | "timeRegions": [], |
| 4530 | "timeShift": null, |
| 4531 | "title": "Downtime", |
| 4532 | "tooltip": { |
| 4533 | "shared": true, |
| 4534 | "sort": 0, |
| 4535 | "value_type": "individual" |
| 4536 | }, |
| 4537 | "type": "graph", |
| 4538 | "xaxis": { |
| 4539 | "buckets": null, |
| 4540 | "mode": "time", |
| 4541 | "name": null, |
| 4542 | "show": true, |
| 4543 | "values": [] |
| 4544 | }, |
| 4545 | "yaxes": [ |
| 4546 | { |
| 4547 | "$$hashKey": "object:93", |
| 4548 | "decimals": 0, |
| 4549 | "format": "short", |
| 4550 | "label": "", |
| 4551 | "logBase": 1, |
| 4552 | "max": "1", |
| 4553 | "min": "0", |
| 4554 | "show": false |
| 4555 | }, |
| 4556 | { |
| 4557 | "$$hashKey": "object:94", |
| 4558 | "format": "short", |
| 4559 | "label": null, |
| 4560 | "logBase": 1, |
| 4561 | "max": null, |
| 4562 | "min": null, |
| 4563 | "show": false |
| 4564 | } |
| 4565 | ], |
| 4566 | "yaxis": { |
| 4567 | "align": false, |
| 4568 | "alignLevel": null |
| 4569 | } |
| 4570 | }, |
| 4571 | { |
| 4572 | "datasource": "$edge", |
| 4573 | "fieldConfig": { |
| 4574 | "defaults": { |
| 4575 | "custom": {}, |
| 4576 | "mappings": [], |
| 4577 | "noValue": "0", |
| 4578 | "thresholds": { |
| 4579 | "mode": "absolute", |
| 4580 | "steps": [ |
| 4581 | { |
| 4582 | "color": "green", |
| 4583 | "value": null |
| 4584 | }, |
| 4585 | { |
| 4586 | "color": "red", |
| 4587 | "value": 1 |
| 4588 | } |
| 4589 | ] |
| 4590 | } |
| 4591 | }, |
| 4592 | "overrides": [] |
| 4593 | }, |
| 4594 | "gridPos": { |
| 4595 | "h": 3, |
| 4596 | "w": 2, |
| 4597 | "x": 22, |
| 4598 | "y": 34 |
| 4599 | }, |
| 4600 | "id": 134, |
| 4601 | "options": { |
| 4602 | "colorMode": "value", |
| 4603 | "graphMode": "area", |
| 4604 | "justifyMode": "auto", |
| 4605 | "orientation": "auto", |
| 4606 | "reduceOptions": { |
| 4607 | "calcs": [ |
| 4608 | "last" |
| 4609 | ], |
| 4610 | "fields": "", |
| 4611 | "values": false |
| 4612 | }, |
| 4613 | "textMode": "auto" |
| 4614 | }, |
| 4615 | "pluginVersion": "7.1.5", |
| 4616 | "repeatIteration": 1611099859488, |
| 4617 | "repeatPanelId": 92, |
| 4618 | "repeatedByRow": true, |
| 4619 | "scopedVars": { |
| 4620 | "edge": { |
| 4621 | "selected": false, |
| 4622 | "text": "ace-tucson", |
| 4623 | "value": "ace-tucson" |
| 4624 | } |
| 4625 | }, |
| 4626 | "targets": [ |
| 4627 | { |
| 4628 | "expr": "sum(ALERTS{alertstate=\"firing\", severity=~\"critical|warning\", alertname!~\"NodeClockNotSynchronising|Kube.*Overcommit\"})", |
| 4629 | "interval": "", |
| 4630 | "legendFormat": "", |
| 4631 | "refId": "A" |
| 4632 | } |
| 4633 | ], |
| 4634 | "timeFrom": null, |
| 4635 | "timeShift": null, |
| 4636 | "title": "Alerts", |
| 4637 | "type": "stat" |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 4638 | }, |
| 4639 | { |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 4640 | "collapsed": true, |
| 4641 | "datasource": null, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4642 | "gridPos": { |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 4643 | "h": 1, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4644 | "w": 24, |
| 4645 | "x": 0, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4646 | "y": 37 |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4647 | }, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 4648 | "id": 69, |
| 4649 | "panels": [ |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4650 | { |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 4651 | "aliasColors": {}, |
| 4652 | "bars": false, |
| 4653 | "dashLength": 10, |
| 4654 | "dashes": false, |
| 4655 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 4656 | "fieldConfig": { |
| 4657 | "defaults": { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 4658 | "custom": {}, |
| 4659 | "links": [] |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 4660 | }, |
| 4661 | "overrides": [] |
| 4662 | }, |
| 4663 | "fill": 1, |
| 4664 | "fillGradient": 0, |
| 4665 | "gridPos": { |
| 4666 | "h": 5, |
| 4667 | "w": 24, |
| 4668 | "x": 0, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4669 | "y": 34 |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 4670 | }, |
| 4671 | "hiddenSeries": false, |
| 4672 | "id": 21, |
| 4673 | "legend": { |
| 4674 | "avg": false, |
| 4675 | "current": false, |
| 4676 | "max": false, |
| 4677 | "min": false, |
| 4678 | "show": true, |
| 4679 | "total": false, |
| 4680 | "values": false |
| 4681 | }, |
| 4682 | "lines": true, |
| 4683 | "linewidth": 1, |
| 4684 | "maxPerRow": 3, |
| 4685 | "nullPointMode": "null", |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 4686 | "percentage": false, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 4687 | "pluginVersion": "7.1.5", |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 4688 | "pointradius": 2, |
| 4689 | "points": false, |
| 4690 | "renderer": "flot", |
| 4691 | "repeat": null, |
| 4692 | "repeatDirection": "h", |
| 4693 | "seriesOverrides": [], |
| 4694 | "spaceLength": 10, |
| 4695 | "stack": false, |
| 4696 | "steppedLine": false, |
| 4697 | "targets": [ |
| 4698 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 4699 | "expr": "sum(time() - aetheredge_last_update{endpoint=\"metrics80\",name!~\"production.*|.*dongle|ace-argela\"}) by (name)", |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 4700 | "interval": "", |
| 4701 | "legendFormat": "{{name}}", |
| 4702 | "refId": "A" |
| 4703 | } |
| 4704 | ], |
| 4705 | "thresholds": [], |
| 4706 | "timeFrom": null, |
| 4707 | "timeRegions": [], |
| 4708 | "timeShift": null, |
| 4709 | "title": "Seconds since last update", |
| 4710 | "tooltip": { |
| 4711 | "shared": true, |
| 4712 | "sort": 0, |
| 4713 | "value_type": "individual" |
| 4714 | }, |
| 4715 | "type": "graph", |
| 4716 | "xaxis": { |
| 4717 | "buckets": null, |
| 4718 | "mode": "time", |
| 4719 | "name": null, |
| 4720 | "show": true, |
| 4721 | "values": [] |
| 4722 | }, |
| 4723 | "yaxes": [ |
| 4724 | { |
| 4725 | "format": "short", |
| 4726 | "label": null, |
| 4727 | "logBase": 1, |
| 4728 | "max": null, |
| 4729 | "min": null, |
| 4730 | "show": true |
| 4731 | }, |
| 4732 | { |
| 4733 | "format": "short", |
| 4734 | "label": null, |
| 4735 | "logBase": 1, |
| 4736 | "max": null, |
| 4737 | "min": null, |
| 4738 | "show": true |
| 4739 | } |
| 4740 | ], |
| 4741 | "yaxis": { |
| 4742 | "align": false, |
| 4743 | "alignLevel": null |
| 4744 | } |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4745 | } |
| 4746 | ], |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 4747 | "title": "Test status", |
| 4748 | "type": "row" |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4749 | } |
| 4750 | ], |
Andy Bavier | 1be3dc9 | 2021-01-15 09:36:29 -0700 | [diff] [blame] | 4751 | "refresh": "5m", |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 4752 | "schemaVersion": 26, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4753 | "style": "dark", |
| 4754 | "tags": [], |
| 4755 | "templating": { |
| 4756 | "list": [ |
| 4757 | { |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4758 | "current": { |
| 4759 | "selected": true, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4760 | "tags": [], |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 4761 | "text": [ |
| 4762 | "All" |
| 4763 | ], |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4764 | "value": [ |
| 4765 | "$__all" |
| 4766 | ] |
| 4767 | }, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4768 | "hide": 0, |
| 4769 | "includeAll": true, |
| 4770 | "label": "Edge", |
| 4771 | "multi": true, |
| 4772 | "name": "edge", |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 4773 | "options": [], |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4774 | "query": "prometheus", |
| 4775 | "queryValue": "", |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 4776 | "refresh": 1, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4777 | "regex": "(?!ace-att)(?!ace-tef)(?!ace-ciena)ace-.*", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4778 | "skipUrlSync": false, |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4779 | "type": "datasource" |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4780 | } |
| 4781 | ] |
| 4782 | }, |
| 4783 | "time": { |
Andy Bavier | 7f891a4c | 2021-01-13 10:02:08 -0700 | [diff] [blame] | 4784 | "from": "now-24h", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4785 | "to": "now" |
| 4786 | }, |
| 4787 | "timepicker": { |
| 4788 | "refresh_intervals": [ |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 4789 | "10s", |
| 4790 | "30s", |
| 4791 | "1m", |
| 4792 | "5m", |
| 4793 | "15m", |
| 4794 | "30m", |
| 4795 | "1h", |
| 4796 | "2h", |
| 4797 | "1d" |
| 4798 | ] |
| 4799 | }, |
| 4800 | "timezone": "", |
Andy Bavier | 9930764 | 2021-01-21 13:12:10 -0700 | [diff] [blame] | 4801 | "title": "Aether Connected Edge", |
| 4802 | "uid": "Y2z8vDtGz", |
Andy Bavier | 6f3b6a3 | 2021-01-21 09:51:26 -0700 | [diff] [blame] | 4803 | "version": 1 |
Andy Bavier | 9930764 | 2021-01-21 13:12:10 -0700 | [diff] [blame] | 4804 | } |