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 | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 18 | "iteration": 1605130115650, |
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-tucson" |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 142 | }, |
| 143 | "properties": [ |
| 144 | { |
| 145 | "id": "displayName", |
| 146 | "value": "ONF Tucson" |
| 147 | } |
| 148 | ] |
| 149 | }, |
| 150 | { |
| 151 | "matcher": { |
| 152 | "id": "byName", |
Hyunsun Moon | d0d37d5 | 2020-10-26 20:20:37 -0700 | [diff] [blame] | 153 | "options": "production-ace-intel" |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 154 | }, |
| 155 | "properties": [ |
| 156 | { |
| 157 | "id": "displayName", |
| 158 | "value": "Intel" |
| 159 | } |
| 160 | ] |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 161 | }, |
| 162 | { |
| 163 | "matcher": { |
| 164 | "id": "byName", |
| 165 | "options": "production-ace-menlo-2" |
| 166 | }, |
| 167 | "properties": [ |
| 168 | { |
| 169 | "id": "displayName", |
| 170 | "value": "ONF Menlo 2" |
| 171 | } |
| 172 | ] |
| 173 | }, |
| 174 | { |
| 175 | "matcher": { |
| 176 | "id": "byName", |
| 177 | "options": "production-ace-tucson-1" |
| 178 | }, |
| 179 | "properties": [ |
| 180 | { |
| 181 | "id": "displayName", |
| 182 | "value": "ONF Tucson 1" |
| 183 | } |
| 184 | ] |
| 185 | }, |
| 186 | { |
| 187 | "matcher": { |
| 188 | "id": "byName", |
| 189 | "options": "production-ace-tucson-2" |
| 190 | }, |
| 191 | "properties": [ |
| 192 | { |
| 193 | "id": "displayName", |
| 194 | "value": "ONF Tucson 2" |
| 195 | } |
| 196 | ] |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 197 | } |
| 198 | ] |
| 199 | }, |
| 200 | "gridPos": { |
| 201 | "h": 4, |
| 202 | "w": 24, |
| 203 | "x": 0, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 204 | "y": 1 |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 205 | }, |
| 206 | "id": 33, |
| 207 | "options": { |
| 208 | "colorMode": "value", |
| 209 | "graphMode": "area", |
| 210 | "justifyMode": "auto", |
| 211 | "orientation": "auto", |
| 212 | "reduceOptions": { |
| 213 | "calcs": [ |
| 214 | "last" |
| 215 | ], |
| 216 | "fields": "", |
| 217 | "values": false |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 218 | }, |
| 219 | "textMode": "auto" |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 220 | }, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 221 | "pluginVersion": "7.1.5", |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 222 | "repeat": null, |
| 223 | "targets": [ |
| 224 | { |
| 225 | "metricQuery": { |
| 226 | "aliasBy": "{{ metric.label.tunnel_name }}", |
| 227 | "alignmentPeriod": "stackdriver-auto", |
| 228 | "crossSeriesReducer": "REDUCE_NONE", |
Andy Bavier | dbd45bd | 2020-10-02 15:48:35 -0700 | [diff] [blame] | 229 | "filters": [ |
Andy Bavier | acbe6af | 2020-10-06 13:51:42 -0700 | [diff] [blame] | 230 | "metric.label.tunnel_name", |
Hyunsun Moon | d0d37d5 | 2020-10-26 20:20:37 -0700 | [diff] [blame] | 231 | "=", |
| 232 | "production-ace-*" |
Andy Bavier | dbd45bd | 2020-10-02 15:48:35 -0700 | [diff] [blame] | 233 | ], |
Andy Bavier | 5c91c1c | 2020-09-01 11:47:38 -0700 | [diff] [blame] | 234 | "groupBys": [], |
| 235 | "metricKind": "GAUGE", |
| 236 | "metricType": "vpn.googleapis.com/tunnel_established", |
| 237 | "perSeriesAligner": "ALIGN_INTERPOLATE", |
| 238 | "projectName": "onf-vpn", |
| 239 | "unit": "1", |
| 240 | "valueType": "DOUBLE" |
| 241 | }, |
| 242 | "queryType": "metrics", |
| 243 | "refId": "A" |
| 244 | } |
| 245 | ], |
| 246 | "timeFrom": null, |
| 247 | "timeShift": null, |
| 248 | "title": "VPN connections from Google Cloud", |
| 249 | "type": "stat" |
| 250 | }, |
| 251 | { |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 252 | "collapsed": false, |
| 253 | "datasource": null, |
| 254 | "gridPos": { |
| 255 | "h": 1, |
| 256 | "w": 24, |
| 257 | "x": 0, |
| 258 | "y": 5 |
| 259 | }, |
| 260 | "id": 35, |
| 261 | "panels": [], |
| 262 | "repeat": "edge", |
| 263 | "scopedVars": { |
| 264 | "edge": { |
| 265 | "selected": false, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 266 | "text": "ace-menlo", |
| 267 | "value": "ace-menlo" |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 268 | } |
| 269 | }, |
| 270 | "title": "Edge: $edge", |
| 271 | "type": "row" |
| 272 | }, |
| 273 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 274 | "datasource": "RANCHER_MONITORING_GLOBAL", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 275 | "description": "", |
| 276 | "fieldConfig": { |
| 277 | "defaults": { |
| 278 | "custom": {}, |
| 279 | "mappings": [ |
| 280 | { |
| 281 | "from": "", |
| 282 | "id": 1, |
| 283 | "operator": "", |
| 284 | "text": "error", |
| 285 | "to": "", |
| 286 | "type": 1, |
| 287 | "value": "-1" |
| 288 | }, |
| 289 | { |
| 290 | "from": "", |
| 291 | "id": 2, |
| 292 | "operator": "", |
| 293 | "text": "disconnected", |
| 294 | "to": "", |
| 295 | "type": 1, |
| 296 | "value": "0" |
| 297 | }, |
| 298 | { |
| 299 | "from": "", |
| 300 | "id": 3, |
| 301 | "operator": "", |
| 302 | "text": "connecting", |
| 303 | "to": "", |
| 304 | "type": 1, |
| 305 | "value": "1" |
| 306 | }, |
| 307 | { |
| 308 | "from": "", |
| 309 | "id": 4, |
| 310 | "operator": "", |
| 311 | "text": "connected", |
| 312 | "to": "", |
| 313 | "type": 1, |
| 314 | "value": "2" |
| 315 | }, |
| 316 | { |
| 317 | "from": "", |
| 318 | "id": 5, |
| 319 | "operator": "", |
| 320 | "text": "no result", |
| 321 | "to": "", |
| 322 | "type": 1, |
| 323 | "value": "-2" |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 324 | }, |
| 325 | { |
| 326 | "from": "-100", |
| 327 | "id": 6, |
| 328 | "operator": "", |
| 329 | "text": "scheduled downtime", |
| 330 | "to": "-3", |
| 331 | "type": 2 |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 332 | } |
| 333 | ], |
| 334 | "thresholds": { |
| 335 | "mode": "absolute", |
| 336 | "steps": [ |
| 337 | { |
| 338 | "color": "red", |
| 339 | "value": null |
| 340 | }, |
| 341 | { |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 342 | "color": "#6ED0E0", |
| 343 | "value": -100 |
| 344 | }, |
| 345 | { |
| 346 | "color": "red", |
| 347 | "value": -2 |
| 348 | }, |
| 349 | { |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 350 | "color": "#EAB839", |
| 351 | "value": 1 |
| 352 | }, |
| 353 | { |
| 354 | "color": "green", |
| 355 | "value": 2 |
| 356 | } |
| 357 | ] |
| 358 | } |
| 359 | }, |
| 360 | "overrides": [] |
| 361 | }, |
| 362 | "gridPos": { |
| 363 | "h": 4, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 364 | "w": 6, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 365 | "x": 0, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 366 | "y": 6 |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 367 | }, |
| 368 | "id": 4, |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 369 | "maxPerRow": 6, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 370 | "options": { |
| 371 | "colorMode": "background", |
| 372 | "graphMode": "none", |
| 373 | "justifyMode": "auto", |
| 374 | "orientation": "auto", |
| 375 | "reduceOptions": { |
| 376 | "calcs": [ |
| 377 | "last" |
| 378 | ], |
| 379 | "fields": "", |
| 380 | "values": false |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 381 | }, |
| 382 | "textMode": "auto" |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 383 | }, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 384 | "pluginVersion": "7.1.5", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 385 | "repeat": null, |
| 386 | "repeatDirection": "h", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 387 | "scopedVars": { |
| 388 | "edge": { |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 389 | "selected": false, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 390 | "text": "ace-menlo", |
| 391 | "value": "ace-menlo" |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 392 | } |
| 393 | }, |
| 394 | "targets": [ |
| 395 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 396 | "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] | 397 | "interval": "", |
| 398 | "legendFormat": "Control Plane", |
| 399 | "refId": "A" |
| 400 | }, |
| 401 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 402 | "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] | 403 | "interval": "", |
| 404 | "legendFormat": "User Plane", |
| 405 | "refId": "B" |
| 406 | } |
| 407 | ], |
| 408 | "timeFrom": null, |
| 409 | "timeShift": null, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 410 | "title": "Current", |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 411 | "type": "stat" |
| 412 | }, |
| 413 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 414 | "datasource": "RANCHER_MONITORING_GLOBAL", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 415 | "fieldConfig": { |
| 416 | "defaults": { |
| 417 | "custom": {}, |
| 418 | "mappings": [], |
| 419 | "thresholds": { |
| 420 | "mode": "absolute", |
| 421 | "steps": [ |
| 422 | { |
| 423 | "color": "red", |
| 424 | "value": null |
| 425 | }, |
| 426 | { |
| 427 | "color": "#EAB839", |
| 428 | "value": 50 |
| 429 | }, |
| 430 | { |
| 431 | "color": "green", |
| 432 | "value": 95 |
| 433 | } |
| 434 | ] |
| 435 | }, |
| 436 | "unit": "percent" |
| 437 | }, |
| 438 | "overrides": [] |
| 439 | }, |
| 440 | "gridPos": { |
| 441 | "h": 4, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 442 | "w": 5, |
| 443 | "x": 6, |
| 444 | "y": 6 |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 445 | }, |
| 446 | "id": 5, |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 447 | "maxPerRow": 6, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 448 | "options": { |
| 449 | "colorMode": "background", |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 450 | "graphMode": "none", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 451 | "justifyMode": "auto", |
| 452 | "orientation": "auto", |
| 453 | "reduceOptions": { |
| 454 | "calcs": [ |
| 455 | "mean" |
| 456 | ], |
| 457 | "fields": "", |
| 458 | "values": false |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 459 | }, |
| 460 | "textMode": "auto" |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 461 | }, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 462 | "pluginVersion": "7.1.5", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 463 | "repeat": null, |
| 464 | "repeatDirection": "h", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 465 | "scopedVars": { |
| 466 | "edge": { |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 467 | "selected": false, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 468 | "text": "ace-menlo", |
| 469 | "value": "ace-menlo" |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 470 | } |
| 471 | }, |
| 472 | "targets": [ |
| 473 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 474 | "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] | 475 | "interval": "", |
| 476 | "legendFormat": "Control Plane", |
| 477 | "refId": "A" |
| 478 | }, |
| 479 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 480 | "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] | 481 | "interval": "", |
| 482 | "legendFormat": "User Plane", |
| 483 | "refId": "B" |
| 484 | } |
| 485 | ], |
| 486 | "timeFrom": null, |
| 487 | "timeShift": null, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 488 | "title": "Uptime", |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 489 | "transformations": [], |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 490 | "type": "stat" |
| 491 | }, |
| 492 | { |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 493 | "aliasColors": { |
| 494 | "Scheduled": "blue", |
| 495 | "Scheduled downtime": "blue", |
| 496 | "Unscheduled": "red", |
| 497 | "Unscheduled downtime": "red" |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 498 | }, |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 499 | "bars": false, |
| 500 | "dashLength": 10, |
| 501 | "dashes": false, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 502 | "datasource": "RANCHER_MONITORING_GLOBAL", |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 503 | "fieldConfig": { |
| 504 | "defaults": { |
| 505 | "custom": {}, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 506 | "links": [] |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 507 | }, |
| 508 | "overrides": [] |
| 509 | }, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 510 | "fill": 10, |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 511 | "fillGradient": 0, |
| 512 | "gridPos": { |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 513 | "h": 4, |
| 514 | "w": 10, |
| 515 | "x": 11, |
| 516 | "y": 6 |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 517 | }, |
| 518 | "hiddenSeries": false, |
| 519 | "id": 23, |
| 520 | "legend": { |
| 521 | "avg": false, |
| 522 | "current": false, |
| 523 | "max": false, |
| 524 | "min": false, |
| 525 | "show": true, |
| 526 | "total": false, |
| 527 | "values": false |
| 528 | }, |
| 529 | "lines": true, |
| 530 | "linewidth": 0, |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 531 | "maxPerRow": 6, |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 532 | "nullPointMode": "null", |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 533 | "percentage": false, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 534 | "pluginVersion": "7.1.5", |
Andy Bavier | 3fc1203 | 2020-08-11 16:42:56 -0700 | [diff] [blame] | 535 | "pointradius": 2, |
| 536 | "points": false, |
| 537 | "renderer": "flot", |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 538 | "repeat": null, |
| 539 | "repeatDirection": "h", |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 540 | "scopedVars": { |
| 541 | "edge": { |
| 542 | "selected": false, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 543 | "text": "ace-menlo", |
| 544 | "value": "ace-menlo" |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 545 | } |
| 546 | }, |
| 547 | "seriesOverrides": [], |
| 548 | "spaceLength": 10, |
| 549 | "stack": false, |
| 550 | "steppedLine": true, |
| 551 | "targets": [ |
| 552 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 553 | "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] | 554 | "interval": "", |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 555 | "legendFormat": "Unscheduled", |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 556 | "refId": "A" |
| 557 | }, |
| 558 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 559 | "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 560 | "interval": "", |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 561 | "legendFormat": "Scheduled", |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 562 | "refId": "B" |
| 563 | } |
| 564 | ], |
| 565 | "thresholds": [], |
| 566 | "timeFrom": null, |
| 567 | "timeRegions": [], |
| 568 | "timeShift": null, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 569 | "title": "Downtime", |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 570 | "tooltip": { |
| 571 | "shared": true, |
| 572 | "sort": 0, |
| 573 | "value_type": "individual" |
| 574 | }, |
| 575 | "type": "graph", |
| 576 | "xaxis": { |
| 577 | "buckets": null, |
| 578 | "mode": "time", |
| 579 | "name": null, |
| 580 | "show": true, |
| 581 | "values": [] |
| 582 | }, |
| 583 | "yaxes": [ |
| 584 | { |
Andy Bavier | 502d601 | 2020-09-30 11:46:06 -0700 | [diff] [blame] | 585 | "decimals": 0, |
| 586 | "format": "short", |
| 587 | "label": "", |
| 588 | "logBase": 1, |
| 589 | "max": "1", |
| 590 | "min": "0", |
| 591 | "show": true |
| 592 | }, |
| 593 | { |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 594 | "format": "short", |
| 595 | "label": null, |
| 596 | "logBase": 1, |
| 597 | "max": null, |
| 598 | "min": null, |
| 599 | "show": true |
| 600 | } |
| 601 | ], |
| 602 | "yaxis": { |
| 603 | "align": false, |
| 604 | "alignLevel": null |
| 605 | } |
| 606 | }, |
| 607 | { |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 608 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 609 | "fieldConfig": { |
| 610 | "defaults": { |
| 611 | "custom": {}, |
| 612 | "mappings": [], |
| 613 | "max": 1000, |
| 614 | "thresholds": { |
| 615 | "mode": "absolute", |
| 616 | "steps": [ |
| 617 | { |
| 618 | "color": "green", |
| 619 | "value": null |
| 620 | }, |
| 621 | { |
| 622 | "color": "red", |
| 623 | "value": 750 |
| 624 | } |
| 625 | ] |
| 626 | } |
| 627 | }, |
| 628 | "overrides": [] |
| 629 | }, |
| 630 | "gridPos": { |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 631 | "h": 4, |
| 632 | "w": 3, |
| 633 | "x": 21, |
| 634 | "y": 6 |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 635 | }, |
| 636 | "id": 13, |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 637 | "maxPerRow": 6, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 638 | "options": { |
| 639 | "orientation": "auto", |
| 640 | "reduceOptions": { |
| 641 | "calcs": [ |
| 642 | "last" |
| 643 | ], |
| 644 | "fields": "", |
| 645 | "values": false |
| 646 | }, |
| 647 | "showThresholdLabels": false, |
| 648 | "showThresholdMarkers": true |
| 649 | }, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 650 | "pluginVersion": "7.1.5", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 651 | "repeat": null, |
| 652 | "repeatDirection": "h", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 653 | "scopedVars": { |
| 654 | "edge": { |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 655 | "selected": false, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 656 | "text": "ace-menlo", |
| 657 | "value": "ace-menlo" |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 658 | } |
| 659 | }, |
| 660 | "targets": [ |
| 661 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 662 | "expr": "sum(time() - aetheredge_last_update{endpoint=\"metrics80\",name=\"$edge\"})", |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 663 | "interval": "", |
| 664 | "legendFormat": "{{name}}", |
| 665 | "refId": "A" |
| 666 | } |
| 667 | ], |
| 668 | "timeFrom": null, |
| 669 | "timeShift": null, |
| 670 | "title": "Seconds since last update", |
| 671 | "type": "gauge" |
| 672 | }, |
| 673 | { |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 674 | "collapsed": true, |
| 675 | "datasource": null, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 676 | "gridPos": { |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 677 | "h": 1, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 678 | "w": 24, |
| 679 | "x": 0, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 680 | "y": 10 |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 681 | }, |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 682 | "id": 69, |
| 683 | "panels": [ |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 684 | { |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 685 | "aliasColors": {}, |
| 686 | "bars": false, |
| 687 | "dashLength": 10, |
| 688 | "dashes": false, |
| 689 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 690 | "fieldConfig": { |
| 691 | "defaults": { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 692 | "custom": {}, |
| 693 | "links": [] |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 694 | }, |
| 695 | "overrides": [] |
| 696 | }, |
| 697 | "fill": 1, |
| 698 | "fillGradient": 0, |
| 699 | "gridPos": { |
| 700 | "h": 5, |
| 701 | "w": 24, |
| 702 | "x": 0, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 703 | "y": 11 |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 704 | }, |
| 705 | "hiddenSeries": false, |
| 706 | "id": 21, |
| 707 | "legend": { |
| 708 | "avg": false, |
| 709 | "current": false, |
| 710 | "max": false, |
| 711 | "min": false, |
| 712 | "show": true, |
| 713 | "total": false, |
| 714 | "values": false |
| 715 | }, |
| 716 | "lines": true, |
| 717 | "linewidth": 1, |
| 718 | "maxPerRow": 3, |
| 719 | "nullPointMode": "null", |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 720 | "percentage": false, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 721 | "pluginVersion": "7.1.5", |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 722 | "pointradius": 2, |
| 723 | "points": false, |
| 724 | "renderer": "flot", |
| 725 | "repeat": null, |
| 726 | "repeatDirection": "h", |
| 727 | "seriesOverrides": [], |
| 728 | "spaceLength": 10, |
| 729 | "stack": false, |
| 730 | "steppedLine": false, |
| 731 | "targets": [ |
| 732 | { |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 733 | "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] | 734 | "interval": "", |
| 735 | "legendFormat": "{{name}}", |
| 736 | "refId": "A" |
| 737 | } |
| 738 | ], |
| 739 | "thresholds": [], |
| 740 | "timeFrom": null, |
| 741 | "timeRegions": [], |
| 742 | "timeShift": null, |
| 743 | "title": "Seconds since last update", |
| 744 | "tooltip": { |
| 745 | "shared": true, |
| 746 | "sort": 0, |
| 747 | "value_type": "individual" |
| 748 | }, |
| 749 | "type": "graph", |
| 750 | "xaxis": { |
| 751 | "buckets": null, |
| 752 | "mode": "time", |
| 753 | "name": null, |
| 754 | "show": true, |
| 755 | "values": [] |
| 756 | }, |
| 757 | "yaxes": [ |
| 758 | { |
| 759 | "format": "short", |
| 760 | "label": null, |
| 761 | "logBase": 1, |
| 762 | "max": null, |
| 763 | "min": null, |
| 764 | "show": true |
| 765 | }, |
| 766 | { |
| 767 | "format": "short", |
| 768 | "label": null, |
| 769 | "logBase": 1, |
| 770 | "max": null, |
| 771 | "min": null, |
| 772 | "show": true |
| 773 | } |
| 774 | ], |
| 775 | "yaxis": { |
| 776 | "align": false, |
| 777 | "alignLevel": null |
| 778 | } |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 779 | } |
| 780 | ], |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 781 | "title": "Test status", |
| 782 | "type": "row" |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 783 | } |
| 784 | ], |
| 785 | "refresh": "30s", |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 786 | "schemaVersion": 26, |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 787 | "style": "dark", |
| 788 | "tags": [], |
| 789 | "templating": { |
| 790 | "list": [ |
| 791 | { |
| 792 | "allValue": null, |
| 793 | "current": { |
| 794 | "selected": true, |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 795 | "text": [ |
| 796 | "All" |
| 797 | ], |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 798 | "value": [ |
| 799 | "$__all" |
| 800 | ] |
| 801 | }, |
| 802 | "datasource": "RANCHER_MONITORING_GLOBAL", |
| 803 | "definition": "aetheredge_status_control_plane", |
| 804 | "hide": 0, |
| 805 | "includeAll": true, |
| 806 | "label": "Edge", |
| 807 | "multi": true, |
| 808 | "name": "edge", |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 809 | "options": [], |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 810 | "query": "aetheredge_status_control_plane", |
Andy Bavier | 227cb1c | 2020-09-09 10:00:46 -0700 | [diff] [blame] | 811 | "refresh": 1, |
Andy Bavier | acbe6af | 2020-10-06 13:51:42 -0700 | [diff] [blame] | 812 | "regex": "/.*,name=\"(?!ace-menlo-dongle)(?!ace-argela)(ace-.*)\",namespace.*/", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 813 | "skipUrlSync": false, |
| 814 | "sort": 1, |
| 815 | "tagValuesQuery": "", |
| 816 | "tags": [], |
| 817 | "tagsQuery": "", |
| 818 | "type": "query", |
| 819 | "useTags": false |
| 820 | } |
| 821 | ] |
| 822 | }, |
| 823 | "time": { |
Hyunsun Moon | d0d37d5 | 2020-10-26 20:20:37 -0700 | [diff] [blame] | 824 | "from": "now-1h", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 825 | "to": "now" |
| 826 | }, |
| 827 | "timepicker": { |
| 828 | "refresh_intervals": [ |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 829 | "10s", |
| 830 | "30s", |
| 831 | "1m", |
| 832 | "5m", |
| 833 | "15m", |
| 834 | "30m", |
| 835 | "1h", |
| 836 | "2h", |
| 837 | "1d" |
| 838 | ] |
| 839 | }, |
| 840 | "timezone": "", |
| 841 | "title": "Aether Connected Edge", |
Andy Bavier | 49f59f8 | 2020-10-22 09:46:24 -0700 | [diff] [blame] | 842 | "uid": "Y2z8vDtGz", |
Andy Bavier | ab75e9e | 2020-08-06 12:05:30 -0700 | [diff] [blame] | 843 | "version": 1 |
Andy Bavier | 696dfeb | 2020-11-11 14:48:12 -0700 | [diff] [blame] | 844 | } |