blob: a8d443ce5d8889cba006a3e4d5be31da11378976 [file] [log] [blame]
Andy Bavierab75e9e2020-08-06 12:05:30 -07001{
2 "annotations": {
3 "list": [
4 {
Andy Bavierab75e9e2020-08-06 12:05:30 -07005 "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,
Hyunsun Moond0d37d52020-10-26 20:20:37 -070018 "iteration": 1603767548038,
Andy Bavierab75e9e2020-08-06 12:05:30 -070019 "links": [],
20 "panels": [
21 {
Andy Bavier49f59f82020-10-22 09:46:24 -070022 "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 Bavier5c91c1c2020-09-01 11:47:38 -070036 "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 Moond0d37d52020-10-26 20:20:37 -070081 "options": "production-ace-att"
Andy Bavier5c91c1c2020-09-01 11:47:38 -070082 },
83 "properties": [
84 {
85 "id": "displayName",
86 "value": "ATT"
87 }
88 ]
89 },
90 {
91 "matcher": {
92 "id": "byName",
Hyunsun Moond0d37d52020-10-26 20:20:37 -070093 "options": "production-ace-ciena"
Andy Bavier5c91c1c2020-09-01 11:47:38 -070094 },
95 "properties": [
96 {
97 "id": "displayName",
98 "value": "Ciena"
99 }
100 ]
101 },
102 {
103 "matcher": {
104 "id": "byName",
Hyunsun Moond0d37d52020-10-26 20:20:37 -0700105 "options": "production-ace-menlo"
Andy Bavier5c91c1c2020-09-01 11:47:38 -0700106 },
107 "properties": [
108 {
109 "id": "displayName",
Hyunsun Moond0d37d52020-10-26 20:20:37 -0700110 "value": "ONF Menlo"
Andy Bavier5c91c1c2020-09-01 11:47:38 -0700111 }
112 ]
113 },
114 {
115 "matcher": {
116 "id": "byName",
Hyunsun Moond0d37d52020-10-26 20:20:37 -0700117 "options": "production-ace-ntt"
Andy Bavier5c91c1c2020-09-01 11:47:38 -0700118 },
119 "properties": [
120 {
121 "id": "displayName",
122 "value": "NTT"
123 }
124 ]
125 },
126 {
127 "matcher": {
128 "id": "byName",
Hyunsun Moond0d37d52020-10-26 20:20:37 -0700129 "options": "production-ace-tef"
Andy Bavier5c91c1c2020-09-01 11:47:38 -0700130 },
131 "properties": [
132 {
133 "id": "displayName",
134 "value": "Telefonica"
135 }
136 ]
137 },
138 {
139 "matcher": {
140 "id": "byName",
Hyunsun Moond0d37d52020-10-26 20:20:37 -0700141 "options": "production-ace-tucson"
Andy Bavier5c91c1c2020-09-01 11:47:38 -0700142 },
143 "properties": [
144 {
145 "id": "displayName",
146 "value": "ONF Tucson"
147 }
148 ]
149 },
150 {
151 "matcher": {
152 "id": "byName",
Hyunsun Moond0d37d52020-10-26 20:20:37 -0700153 "options": "production-ace-intel"
Andy Bavier5c91c1c2020-09-01 11:47:38 -0700154 },
155 "properties": [
156 {
157 "id": "displayName",
158 "value": "Intel"
159 }
160 ]
161 }
162 ]
163 },
164 "gridPos": {
165 "h": 4,
166 "w": 24,
167 "x": 0,
Andy Bavier49f59f82020-10-22 09:46:24 -0700168 "y": 1
Andy Bavier5c91c1c2020-09-01 11:47:38 -0700169 },
170 "id": 33,
171 "options": {
172 "colorMode": "value",
173 "graphMode": "area",
174 "justifyMode": "auto",
175 "orientation": "auto",
176 "reduceOptions": {
177 "calcs": [
178 "last"
179 ],
180 "fields": "",
181 "values": false
182 }
183 },
184 "pluginVersion": "7.0.5",
185 "repeat": null,
186 "targets": [
187 {
188 "metricQuery": {
189 "aliasBy": "{{ metric.label.tunnel_name }}",
190 "alignmentPeriod": "stackdriver-auto",
191 "crossSeriesReducer": "REDUCE_NONE",
Andy Bavierdbd45bd2020-10-02 15:48:35 -0700192 "filters": [
Andy Bavieracbe6af2020-10-06 13:51:42 -0700193 "metric.label.tunnel_name",
Hyunsun Moond0d37d52020-10-26 20:20:37 -0700194 "=",
195 "production-ace-*"
Andy Bavierdbd45bd2020-10-02 15:48:35 -0700196 ],
Andy Bavier5c91c1c2020-09-01 11:47:38 -0700197 "groupBys": [],
198 "metricKind": "GAUGE",
199 "metricType": "vpn.googleapis.com/tunnel_established",
200 "perSeriesAligner": "ALIGN_INTERPOLATE",
201 "projectName": "onf-vpn",
202 "unit": "1",
203 "valueType": "DOUBLE"
204 },
205 "queryType": "metrics",
206 "refId": "A"
207 }
208 ],
209 "timeFrom": null,
210 "timeShift": null,
211 "title": "VPN connections from Google Cloud",
212 "type": "stat"
213 },
214 {
Andy Bavier49f59f82020-10-22 09:46:24 -0700215 "collapsed": false,
216 "datasource": null,
217 "gridPos": {
218 "h": 1,
219 "w": 24,
220 "x": 0,
221 "y": 5
222 },
223 "id": 35,
224 "panels": [],
225 "repeat": "edge",
226 "scopedVars": {
227 "edge": {
228 "selected": false,
229 "text": "ace-intel",
230 "value": "ace-intel"
231 }
232 },
233 "title": "Edge: $edge",
234 "type": "row"
235 },
236 {
Andy Bavierab75e9e2020-08-06 12:05:30 -0700237 "datasource": null,
238 "description": "",
239 "fieldConfig": {
240 "defaults": {
241 "custom": {},
242 "mappings": [
243 {
244 "from": "",
245 "id": 1,
246 "operator": "",
247 "text": "error",
248 "to": "",
249 "type": 1,
250 "value": "-1"
251 },
252 {
253 "from": "",
254 "id": 2,
255 "operator": "",
256 "text": "disconnected",
257 "to": "",
258 "type": 1,
259 "value": "0"
260 },
261 {
262 "from": "",
263 "id": 3,
264 "operator": "",
265 "text": "connecting",
266 "to": "",
267 "type": 1,
268 "value": "1"
269 },
270 {
271 "from": "",
272 "id": 4,
273 "operator": "",
274 "text": "connected",
275 "to": "",
276 "type": 1,
277 "value": "2"
278 },
279 {
280 "from": "",
281 "id": 5,
282 "operator": "",
283 "text": "no result",
284 "to": "",
285 "type": 1,
286 "value": "-2"
Andy Bavier3fc12032020-08-11 16:42:56 -0700287 },
288 {
289 "from": "-100",
290 "id": 6,
291 "operator": "",
292 "text": "scheduled downtime",
293 "to": "-3",
294 "type": 2
Andy Bavierab75e9e2020-08-06 12:05:30 -0700295 }
296 ],
297 "thresholds": {
298 "mode": "absolute",
299 "steps": [
300 {
301 "color": "red",
302 "value": null
303 },
304 {
Andy Bavier3fc12032020-08-11 16:42:56 -0700305 "color": "#6ED0E0",
306 "value": -100
307 },
308 {
309 "color": "red",
310 "value": -2
311 },
312 {
Andy Bavierab75e9e2020-08-06 12:05:30 -0700313 "color": "#EAB839",
314 "value": 1
315 },
316 {
317 "color": "green",
318 "value": 2
319 }
320 ]
321 }
322 },
323 "overrides": []
324 },
325 "gridPos": {
326 "h": 4,
Andy Bavier49f59f82020-10-22 09:46:24 -0700327 "w": 6,
Andy Bavierab75e9e2020-08-06 12:05:30 -0700328 "x": 0,
Andy Bavier49f59f82020-10-22 09:46:24 -0700329 "y": 6
Andy Bavierab75e9e2020-08-06 12:05:30 -0700330 },
331 "id": 4,
Andy Bavier227cb1c2020-09-09 10:00:46 -0700332 "maxPerRow": 6,
Andy Bavierab75e9e2020-08-06 12:05:30 -0700333 "options": {
334 "colorMode": "background",
335 "graphMode": "none",
336 "justifyMode": "auto",
337 "orientation": "auto",
338 "reduceOptions": {
339 "calcs": [
340 "last"
341 ],
342 "fields": "",
343 "values": false
344 }
345 },
346 "pluginVersion": "7.0.5",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700347 "repeat": null,
348 "repeatDirection": "h",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700349 "scopedVars": {
350 "edge": {
Andy Bavierab75e9e2020-08-06 12:05:30 -0700351 "selected": false,
Andy Bavier502d6012020-09-30 11:46:06 -0700352 "text": "ace-intel",
353 "value": "ace-intel"
Andy Bavierab75e9e2020-08-06 12:05:30 -0700354 }
355 },
356 "targets": [
357 {
Andy Bavier3fc12032020-08-11 16:42:56 -0700358 "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700359 "interval": "",
360 "legendFormat": "Control Plane",
361 "refId": "A"
362 },
363 {
Andy Bavier3fc12032020-08-11 16:42:56 -0700364 "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700365 "interval": "",
366 "legendFormat": "User Plane",
367 "refId": "B"
368 }
369 ],
370 "timeFrom": null,
371 "timeShift": null,
Andy Bavier49f59f82020-10-22 09:46:24 -0700372 "title": "Current",
Andy Bavier227cb1c2020-09-09 10:00:46 -0700373 "type": "stat"
374 },
375 {
376 "datasource": null,
Andy Bavierab75e9e2020-08-06 12:05:30 -0700377 "fieldConfig": {
378 "defaults": {
379 "custom": {},
380 "mappings": [],
381 "thresholds": {
382 "mode": "absolute",
383 "steps": [
384 {
385 "color": "red",
386 "value": null
387 },
388 {
389 "color": "#EAB839",
390 "value": 50
391 },
392 {
393 "color": "green",
394 "value": 95
395 }
396 ]
397 },
398 "unit": "percent"
399 },
400 "overrides": []
401 },
402 "gridPos": {
403 "h": 4,
Andy Bavier49f59f82020-10-22 09:46:24 -0700404 "w": 5,
405 "x": 6,
406 "y": 6
Andy Bavierab75e9e2020-08-06 12:05:30 -0700407 },
408 "id": 5,
Andy Bavier227cb1c2020-09-09 10:00:46 -0700409 "maxPerRow": 6,
Andy Bavierab75e9e2020-08-06 12:05:30 -0700410 "options": {
411 "colorMode": "background",
Andy Bavier3fc12032020-08-11 16:42:56 -0700412 "graphMode": "none",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700413 "justifyMode": "auto",
414 "orientation": "auto",
415 "reduceOptions": {
416 "calcs": [
417 "mean"
418 ],
419 "fields": "",
420 "values": false
421 }
422 },
423 "pluginVersion": "7.0.5",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700424 "repeat": null,
425 "repeatDirection": "h",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700426 "scopedVars": {
427 "edge": {
Andy Bavierab75e9e2020-08-06 12:05:30 -0700428 "selected": false,
Andy Bavier502d6012020-09-30 11:46:06 -0700429 "text": "ace-intel",
430 "value": "ace-intel"
Andy Bavierab75e9e2020-08-06 12:05:30 -0700431 }
432 },
433 "targets": [
434 {
435 "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
436 "interval": "",
437 "legendFormat": "Control Plane",
438 "refId": "A"
439 },
440 {
441 "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
442 "interval": "",
443 "legendFormat": "User Plane",
444 "refId": "B"
445 }
446 ],
447 "timeFrom": null,
448 "timeShift": null,
Andy Bavier49f59f82020-10-22 09:46:24 -0700449 "title": "Uptime",
Andy Bavier3fc12032020-08-11 16:42:56 -0700450 "transformations": [],
Andy Bavierab75e9e2020-08-06 12:05:30 -0700451 "type": "stat"
452 },
453 {
Andy Bavier49f59f82020-10-22 09:46:24 -0700454 "aliasColors": {
455 "Scheduled": "blue",
456 "Scheduled downtime": "blue",
457 "Unscheduled": "red",
458 "Unscheduled downtime": "red"
Andy Bavier227cb1c2020-09-09 10:00:46 -0700459 },
Andy Bavier3fc12032020-08-11 16:42:56 -0700460 "bars": false,
461 "dashLength": 10,
462 "dashes": false,
463 "datasource": null,
464 "fieldConfig": {
465 "defaults": {
466 "custom": {},
467 "mappings": [],
468 "thresholds": {
469 "mode": "absolute",
470 "steps": [
471 {
472 "color": "green",
473 "value": null
474 },
475 {
476 "color": "red",
477 "value": 80
478 }
479 ]
480 }
481 },
482 "overrides": []
483 },
Andy Bavier49f59f82020-10-22 09:46:24 -0700484 "fill": 10,
Andy Bavier3fc12032020-08-11 16:42:56 -0700485 "fillGradient": 0,
486 "gridPos": {
Andy Bavier49f59f82020-10-22 09:46:24 -0700487 "h": 4,
488 "w": 10,
489 "x": 11,
490 "y": 6
Andy Bavier3fc12032020-08-11 16:42:56 -0700491 },
492 "hiddenSeries": false,
493 "id": 23,
494 "legend": {
495 "avg": false,
496 "current": false,
497 "max": false,
498 "min": false,
499 "show": true,
500 "total": false,
501 "values": false
502 },
503 "lines": true,
504 "linewidth": 0,
Andy Bavier227cb1c2020-09-09 10:00:46 -0700505 "maxPerRow": 6,
Andy Bavier3fc12032020-08-11 16:42:56 -0700506 "nullPointMode": "null",
507 "options": {
508 "dataLinks": []
509 },
510 "percentage": false,
511 "pluginVersion": "7.0.5",
512 "pointradius": 2,
513 "points": false,
514 "renderer": "flot",
Andy Bavier227cb1c2020-09-09 10:00:46 -0700515 "repeat": null,
516 "repeatDirection": "h",
Andy Bavier227cb1c2020-09-09 10:00:46 -0700517 "scopedVars": {
518 "edge": {
519 "selected": false,
Andy Bavier502d6012020-09-30 11:46:06 -0700520 "text": "ace-intel",
521 "value": "ace-intel"
522 }
523 },
524 "seriesOverrides": [],
525 "spaceLength": 10,
526 "stack": false,
527 "steppedLine": true,
528 "targets": [
529 {
Andy Bavier49f59f82020-10-22 09:46:24 -0700530 "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{name=\"$edge\"} + aetheredge_status_user_plane{name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{name=\"$edge\"}), 0))",
Andy Bavier502d6012020-09-30 11:46:06 -0700531 "interval": "",
Andy Bavier49f59f82020-10-22 09:46:24 -0700532 "legendFormat": "Unscheduled",
Andy Bavier502d6012020-09-30 11:46:06 -0700533 "refId": "A"
534 },
535 {
536 "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
537 "interval": "",
Andy Bavier49f59f82020-10-22 09:46:24 -0700538 "legendFormat": "Scheduled",
Andy Bavier502d6012020-09-30 11:46:06 -0700539 "refId": "B"
540 }
541 ],
542 "thresholds": [],
543 "timeFrom": null,
544 "timeRegions": [],
545 "timeShift": null,
Andy Bavier49f59f82020-10-22 09:46:24 -0700546 "title": "Downtime",
Andy Bavier502d6012020-09-30 11:46:06 -0700547 "tooltip": {
548 "shared": true,
549 "sort": 0,
550 "value_type": "individual"
551 },
552 "type": "graph",
553 "xaxis": {
554 "buckets": null,
555 "mode": "time",
556 "name": null,
557 "show": true,
558 "values": []
559 },
560 "yaxes": [
561 {
Andy Bavier502d6012020-09-30 11:46:06 -0700562 "decimals": 0,
563 "format": "short",
564 "label": "",
565 "logBase": 1,
566 "max": "1",
567 "min": "0",
568 "show": true
569 },
570 {
Andy Bavier227cb1c2020-09-09 10:00:46 -0700571 "format": "short",
572 "label": null,
573 "logBase": 1,
574 "max": null,
575 "min": null,
576 "show": true
577 }
578 ],
579 "yaxis": {
580 "align": false,
581 "alignLevel": null
582 }
583 },
584 {
Andy Bavierab75e9e2020-08-06 12:05:30 -0700585 "datasource": "RANCHER_MONITORING_GLOBAL",
586 "fieldConfig": {
587 "defaults": {
588 "custom": {},
589 "mappings": [],
590 "max": 1000,
591 "thresholds": {
592 "mode": "absolute",
593 "steps": [
594 {
595 "color": "green",
596 "value": null
597 },
598 {
599 "color": "red",
600 "value": 750
601 }
602 ]
603 }
604 },
605 "overrides": []
606 },
607 "gridPos": {
Andy Bavier49f59f82020-10-22 09:46:24 -0700608 "h": 4,
609 "w": 3,
610 "x": 21,
611 "y": 6
Andy Bavierab75e9e2020-08-06 12:05:30 -0700612 },
613 "id": 13,
Andy Bavier227cb1c2020-09-09 10:00:46 -0700614 "maxPerRow": 6,
Andy Bavierab75e9e2020-08-06 12:05:30 -0700615 "options": {
616 "orientation": "auto",
617 "reduceOptions": {
618 "calcs": [
619 "last"
620 ],
621 "fields": "",
622 "values": false
623 },
624 "showThresholdLabels": false,
625 "showThresholdMarkers": true
626 },
627 "pluginVersion": "7.0.5",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700628 "repeat": null,
629 "repeatDirection": "h",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700630 "scopedVars": {
631 "edge": {
Andy Bavierab75e9e2020-08-06 12:05:30 -0700632 "selected": false,
Andy Bavier502d6012020-09-30 11:46:06 -0700633 "text": "ace-intel",
634 "value": "ace-intel"
Andy Bavierab75e9e2020-08-06 12:05:30 -0700635 }
636 },
637 "targets": [
638 {
639 "expr": "sum(time() - aetheredge_last_update{name=\"$edge\"})",
640 "interval": "",
641 "legendFormat": "{{name}}",
642 "refId": "A"
643 }
644 ],
645 "timeFrom": null,
646 "timeShift": null,
647 "title": "Seconds since last update",
648 "type": "gauge"
649 },
650 {
Andy Bavier49f59f82020-10-22 09:46:24 -0700651 "collapsed": false,
652 "datasource": null,
653 "gridPos": {
654 "h": 1,
655 "w": 24,
656 "x": 0,
657 "y": 10
658 },
659 "id": 70,
660 "panels": [],
661 "repeat": null,
Hyunsun Moond0d37d52020-10-26 20:20:37 -0700662 "repeatIteration": 1603767548038,
Andy Bavier49f59f82020-10-22 09:46:24 -0700663 "repeatPanelId": 35,
664 "scopedVars": {
665 "edge": {
666 "selected": false,
667 "text": "ace-menlo-pixel",
668 "value": "ace-menlo-pixel"
669 }
670 },
671 "title": "Edge: $edge",
672 "type": "row"
673 },
674 {
675 "datasource": null,
676 "description": "",
677 "fieldConfig": {
678 "defaults": {
679 "custom": {},
680 "mappings": [
681 {
682 "from": "",
683 "id": 1,
684 "operator": "",
685 "text": "error",
686 "to": "",
687 "type": 1,
688 "value": "-1"
689 },
690 {
691 "from": "",
692 "id": 2,
693 "operator": "",
694 "text": "disconnected",
695 "to": "",
696 "type": 1,
697 "value": "0"
698 },
699 {
700 "from": "",
701 "id": 3,
702 "operator": "",
703 "text": "connecting",
704 "to": "",
705 "type": 1,
706 "value": "1"
707 },
708 {
709 "from": "",
710 "id": 4,
711 "operator": "",
712 "text": "connected",
713 "to": "",
714 "type": 1,
715 "value": "2"
716 },
717 {
718 "from": "",
719 "id": 5,
720 "operator": "",
721 "text": "no result",
722 "to": "",
723 "type": 1,
724 "value": "-2"
725 },
726 {
727 "from": "-100",
728 "id": 6,
729 "operator": "",
730 "text": "scheduled downtime",
731 "to": "-3",
732 "type": 2
733 }
734 ],
735 "thresholds": {
736 "mode": "absolute",
737 "steps": [
738 {
739 "color": "red",
740 "value": null
741 },
742 {
743 "color": "#6ED0E0",
744 "value": -100
745 },
746 {
747 "color": "red",
748 "value": -2
749 },
750 {
751 "color": "#EAB839",
752 "value": 1
753 },
754 {
755 "color": "green",
756 "value": 2
757 }
758 ]
759 }
760 },
761 "overrides": []
762 },
763 "gridPos": {
764 "h": 4,
765 "w": 6,
766 "x": 0,
767 "y": 11
768 },
769 "id": 71,
770 "maxPerRow": 6,
771 "options": {
772 "colorMode": "background",
773 "graphMode": "none",
774 "justifyMode": "auto",
775 "orientation": "auto",
776 "reduceOptions": {
777 "calcs": [
778 "last"
779 ],
780 "fields": "",
781 "values": false
782 }
783 },
784 "pluginVersion": "7.0.5",
785 "repeat": null,
786 "repeatDirection": "h",
Hyunsun Moond0d37d52020-10-26 20:20:37 -0700787 "repeatIteration": 1603767548038,
Andy Bavier49f59f82020-10-22 09:46:24 -0700788 "repeatPanelId": 4,
789 "repeatedByRow": true,
790 "scopedVars": {
791 "edge": {
792 "selected": false,
793 "text": "ace-menlo-pixel",
794 "value": "ace-menlo-pixel"
795 }
796 },
797 "targets": [
798 {
799 "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
800 "interval": "",
801 "legendFormat": "Control Plane",
802 "refId": "A"
803 },
804 {
805 "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
806 "interval": "",
807 "legendFormat": "User Plane",
808 "refId": "B"
809 }
810 ],
811 "timeFrom": null,
812 "timeShift": null,
813 "title": "Current",
814 "type": "stat"
815 },
816 {
817 "datasource": null,
818 "fieldConfig": {
819 "defaults": {
820 "custom": {},
821 "mappings": [],
822 "thresholds": {
823 "mode": "absolute",
824 "steps": [
825 {
826 "color": "red",
827 "value": null
828 },
829 {
830 "color": "#EAB839",
831 "value": 50
832 },
833 {
834 "color": "green",
835 "value": 95
836 }
837 ]
838 },
839 "unit": "percent"
840 },
841 "overrides": []
842 },
843 "gridPos": {
844 "h": 4,
845 "w": 5,
846 "x": 6,
847 "y": 11
848 },
849 "id": 72,
850 "maxPerRow": 6,
851 "options": {
852 "colorMode": "background",
853 "graphMode": "none",
854 "justifyMode": "auto",
855 "orientation": "auto",
856 "reduceOptions": {
857 "calcs": [
858 "mean"
859 ],
860 "fields": "",
861 "values": false
862 }
863 },
864 "pluginVersion": "7.0.5",
865 "repeat": null,
866 "repeatDirection": "h",
Hyunsun Moond0d37d52020-10-26 20:20:37 -0700867 "repeatIteration": 1603767548038,
Andy Bavier49f59f82020-10-22 09:46:24 -0700868 "repeatPanelId": 5,
869 "repeatedByRow": true,
870 "scopedVars": {
871 "edge": {
872 "selected": false,
873 "text": "ace-menlo-pixel",
874 "value": "ace-menlo-pixel"
875 }
876 },
877 "targets": [
878 {
879 "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
880 "interval": "",
881 "legendFormat": "Control Plane",
882 "refId": "A"
883 },
884 {
885 "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
886 "interval": "",
887 "legendFormat": "User Plane",
888 "refId": "B"
889 }
890 ],
891 "timeFrom": null,
892 "timeShift": null,
893 "title": "Uptime",
894 "transformations": [],
895 "type": "stat"
896 },
897 {
898 "aliasColors": {
899 "Scheduled": "blue",
900 "Scheduled downtime": "blue",
901 "Unscheduled": "red",
902 "Unscheduled downtime": "red"
903 },
904 "bars": false,
905 "dashLength": 10,
906 "dashes": false,
907 "datasource": null,
908 "fieldConfig": {
909 "defaults": {
910 "custom": {},
911 "mappings": [],
912 "thresholds": {
913 "mode": "absolute",
914 "steps": [
915 {
916 "color": "green",
917 "value": null
918 },
919 {
920 "color": "red",
921 "value": 80
922 }
923 ]
924 }
925 },
926 "overrides": []
927 },
928 "fill": 10,
929 "fillGradient": 0,
930 "gridPos": {
931 "h": 4,
932 "w": 10,
933 "x": 11,
934 "y": 11
935 },
936 "hiddenSeries": false,
937 "id": 73,
938 "legend": {
939 "avg": false,
940 "current": false,
941 "max": false,
942 "min": false,
943 "show": true,
944 "total": false,
945 "values": false
946 },
947 "lines": true,
948 "linewidth": 0,
949 "maxPerRow": 6,
950 "nullPointMode": "null",
951 "options": {
952 "dataLinks": []
953 },
954 "percentage": false,
955 "pluginVersion": "7.0.5",
956 "pointradius": 2,
957 "points": false,
958 "renderer": "flot",
959 "repeat": null,
960 "repeatDirection": "h",
Hyunsun Moond0d37d52020-10-26 20:20:37 -0700961 "repeatIteration": 1603767548038,
Andy Bavier49f59f82020-10-22 09:46:24 -0700962 "repeatPanelId": 23,
963 "repeatedByRow": true,
964 "scopedVars": {
965 "edge": {
966 "selected": false,
967 "text": "ace-menlo-pixel",
968 "value": "ace-menlo-pixel"
969 }
970 },
971 "seriesOverrides": [],
972 "spaceLength": 10,
973 "stack": false,
974 "steppedLine": true,
975 "targets": [
976 {
977 "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{name=\"$edge\"} + aetheredge_status_user_plane{name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{name=\"$edge\"}), 0))",
978 "interval": "",
979 "legendFormat": "Unscheduled",
980 "refId": "A"
981 },
982 {
983 "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
984 "interval": "",
985 "legendFormat": "Scheduled",
986 "refId": "B"
987 }
988 ],
989 "thresholds": [],
990 "timeFrom": null,
991 "timeRegions": [],
992 "timeShift": null,
993 "title": "Downtime",
994 "tooltip": {
995 "shared": true,
996 "sort": 0,
997 "value_type": "individual"
998 },
999 "type": "graph",
1000 "xaxis": {
1001 "buckets": null,
1002 "mode": "time",
1003 "name": null,
1004 "show": true,
1005 "values": []
1006 },
1007 "yaxes": [
1008 {
1009 "decimals": 0,
1010 "format": "short",
1011 "label": "",
1012 "logBase": 1,
1013 "max": "1",
1014 "min": "0",
1015 "show": true
1016 },
1017 {
1018 "format": "short",
1019 "label": null,
1020 "logBase": 1,
1021 "max": null,
1022 "min": null,
1023 "show": true
1024 }
1025 ],
1026 "yaxis": {
1027 "align": false,
1028 "alignLevel": null
1029 }
1030 },
1031 {
Andy Bavierab75e9e2020-08-06 12:05:30 -07001032 "datasource": "RANCHER_MONITORING_GLOBAL",
1033 "fieldConfig": {
1034 "defaults": {
1035 "custom": {},
1036 "mappings": [],
1037 "max": 1000,
1038 "thresholds": {
1039 "mode": "absolute",
1040 "steps": [
1041 {
1042 "color": "green",
1043 "value": null
1044 },
1045 {
1046 "color": "red",
1047 "value": 750
1048 }
1049 ]
1050 }
1051 },
1052 "overrides": []
1053 },
1054 "gridPos": {
Andy Bavier49f59f82020-10-22 09:46:24 -07001055 "h": 4,
1056 "w": 3,
1057 "x": 21,
1058 "y": 11
Andy Bavierab75e9e2020-08-06 12:05:30 -07001059 },
Andy Bavier49f59f82020-10-22 09:46:24 -07001060 "id": 74,
Andy Bavier227cb1c2020-09-09 10:00:46 -07001061 "maxPerRow": 6,
Andy Bavierab75e9e2020-08-06 12:05:30 -07001062 "options": {
1063 "orientation": "auto",
1064 "reduceOptions": {
1065 "calcs": [
1066 "last"
1067 ],
1068 "fields": "",
1069 "values": false
1070 },
1071 "showThresholdLabels": false,
1072 "showThresholdMarkers": true
1073 },
1074 "pluginVersion": "7.0.5",
1075 "repeat": null,
1076 "repeatDirection": "h",
Hyunsun Moond0d37d52020-10-26 20:20:37 -07001077 "repeatIteration": 1603767548038,
Andy Bavierab75e9e2020-08-06 12:05:30 -07001078 "repeatPanelId": 13,
Andy Bavier49f59f82020-10-22 09:46:24 -07001079 "repeatedByRow": true,
Andy Bavierab75e9e2020-08-06 12:05:30 -07001080 "scopedVars": {
1081 "edge": {
Andy Bavierab75e9e2020-08-06 12:05:30 -07001082 "selected": false,
Andy Bavier502d6012020-09-30 11:46:06 -07001083 "text": "ace-menlo-pixel",
1084 "value": "ace-menlo-pixel"
Andy Bavierab75e9e2020-08-06 12:05:30 -07001085 }
1086 },
1087 "targets": [
1088 {
1089 "expr": "sum(time() - aetheredge_last_update{name=\"$edge\"})",
1090 "interval": "",
1091 "legendFormat": "{{name}}",
1092 "refId": "A"
1093 }
1094 ],
1095 "timeFrom": null,
1096 "timeShift": null,
1097 "title": "Seconds since last update",
1098 "type": "gauge"
1099 },
1100 {
Andy Bavier49f59f82020-10-22 09:46:24 -07001101 "collapsed": false,
1102 "datasource": null,
1103 "gridPos": {
1104 "h": 1,
1105 "w": 24,
1106 "x": 0,
1107 "y": 15
1108 },
1109 "id": 75,
1110 "panels": [],
1111 "repeat": null,
Hyunsun Moond0d37d52020-10-26 20:20:37 -07001112 "repeatIteration": 1603767548038,
Andy Bavier49f59f82020-10-22 09:46:24 -07001113 "repeatPanelId": 35,
1114 "scopedVars": {
1115 "edge": {
1116 "selected": false,
1117 "text": "ace-menlo-rasp-pi",
1118 "value": "ace-menlo-rasp-pi"
1119 }
1120 },
1121 "title": "Edge: $edge",
1122 "type": "row"
1123 },
1124 {
1125 "datasource": null,
1126 "description": "",
1127 "fieldConfig": {
1128 "defaults": {
1129 "custom": {},
1130 "mappings": [
1131 {
1132 "from": "",
1133 "id": 1,
1134 "operator": "",
1135 "text": "error",
1136 "to": "",
1137 "type": 1,
1138 "value": "-1"
1139 },
1140 {
1141 "from": "",
1142 "id": 2,
1143 "operator": "",
1144 "text": "disconnected",
1145 "to": "",
1146 "type": 1,
1147 "value": "0"
1148 },
1149 {
1150 "from": "",
1151 "id": 3,
1152 "operator": "",
1153 "text": "connecting",
1154 "to": "",
1155 "type": 1,
1156 "value": "1"
1157 },
1158 {
1159 "from": "",
1160 "id": 4,
1161 "operator": "",
1162 "text": "connected",
1163 "to": "",
1164 "type": 1,
1165 "value": "2"
1166 },
1167 {
1168 "from": "",
1169 "id": 5,
1170 "operator": "",
1171 "text": "no result",
1172 "to": "",
1173 "type": 1,
1174 "value": "-2"
1175 },
1176 {
1177 "from": "-100",
1178 "id": 6,
1179 "operator": "",
1180 "text": "scheduled downtime",
1181 "to": "-3",
1182 "type": 2
1183 }
1184 ],
1185 "thresholds": {
1186 "mode": "absolute",
1187 "steps": [
1188 {
1189 "color": "red",
1190 "value": null
1191 },
1192 {
1193 "color": "#6ED0E0",
1194 "value": -100
1195 },
1196 {
1197 "color": "red",
1198 "value": -2
1199 },
1200 {
1201 "color": "#EAB839",
1202 "value": 1
1203 },
1204 {
1205 "color": "green",
1206 "value": 2
1207 }
1208 ]
1209 }
1210 },
1211 "overrides": []
1212 },
1213 "gridPos": {
1214 "h": 4,
1215 "w": 6,
1216 "x": 0,
1217 "y": 16
1218 },
1219 "id": 76,
1220 "maxPerRow": 6,
1221 "options": {
1222 "colorMode": "background",
1223 "graphMode": "none",
1224 "justifyMode": "auto",
1225 "orientation": "auto",
1226 "reduceOptions": {
1227 "calcs": [
1228 "last"
1229 ],
1230 "fields": "",
1231 "values": false
1232 }
1233 },
1234 "pluginVersion": "7.0.5",
1235 "repeat": null,
1236 "repeatDirection": "h",
Hyunsun Moond0d37d52020-10-26 20:20:37 -07001237 "repeatIteration": 1603767548038,
Andy Bavier49f59f82020-10-22 09:46:24 -07001238 "repeatPanelId": 4,
1239 "repeatedByRow": true,
1240 "scopedVars": {
1241 "edge": {
1242 "selected": false,
1243 "text": "ace-menlo-rasp-pi",
1244 "value": "ace-menlo-rasp-pi"
1245 }
1246 },
1247 "targets": [
1248 {
1249 "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
1250 "interval": "",
1251 "legendFormat": "Control Plane",
1252 "refId": "A"
1253 },
1254 {
1255 "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
1256 "interval": "",
1257 "legendFormat": "User Plane",
1258 "refId": "B"
1259 }
1260 ],
1261 "timeFrom": null,
1262 "timeShift": null,
1263 "title": "Current",
1264 "type": "stat"
1265 },
1266 {
1267 "datasource": null,
1268 "fieldConfig": {
1269 "defaults": {
1270 "custom": {},
1271 "mappings": [],
1272 "thresholds": {
1273 "mode": "absolute",
1274 "steps": [
1275 {
1276 "color": "red",
1277 "value": null
1278 },
1279 {
1280 "color": "#EAB839",
1281 "value": 50
1282 },
1283 {
1284 "color": "green",
1285 "value": 95
1286 }
1287 ]
1288 },
1289 "unit": "percent"
1290 },
1291 "overrides": []
1292 },
1293 "gridPos": {
1294 "h": 4,
1295 "w": 5,
1296 "x": 6,
1297 "y": 16
1298 },
1299 "id": 77,
1300 "maxPerRow": 6,
1301 "options": {
1302 "colorMode": "background",
1303 "graphMode": "none",
1304 "justifyMode": "auto",
1305 "orientation": "auto",
1306 "reduceOptions": {
1307 "calcs": [
1308 "mean"
1309 ],
1310 "fields": "",
1311 "values": false
1312 }
1313 },
1314 "pluginVersion": "7.0.5",
1315 "repeat": null,
1316 "repeatDirection": "h",
Hyunsun Moond0d37d52020-10-26 20:20:37 -07001317 "repeatIteration": 1603767548038,
Andy Bavier49f59f82020-10-22 09:46:24 -07001318 "repeatPanelId": 5,
1319 "repeatedByRow": true,
1320 "scopedVars": {
1321 "edge": {
1322 "selected": false,
1323 "text": "ace-menlo-rasp-pi",
1324 "value": "ace-menlo-rasp-pi"
1325 }
1326 },
1327 "targets": [
1328 {
1329 "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
1330 "interval": "",
1331 "legendFormat": "Control Plane",
1332 "refId": "A"
1333 },
1334 {
1335 "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
1336 "interval": "",
1337 "legendFormat": "User Plane",
1338 "refId": "B"
1339 }
1340 ],
1341 "timeFrom": null,
1342 "timeShift": null,
1343 "title": "Uptime",
1344 "transformations": [],
1345 "type": "stat"
1346 },
1347 {
1348 "aliasColors": {
1349 "Scheduled": "blue",
1350 "Scheduled downtime": "blue",
1351 "Unscheduled": "red",
1352 "Unscheduled downtime": "red"
1353 },
1354 "bars": false,
1355 "dashLength": 10,
1356 "dashes": false,
1357 "datasource": null,
1358 "fieldConfig": {
1359 "defaults": {
1360 "custom": {},
1361 "mappings": [],
1362 "thresholds": {
1363 "mode": "absolute",
1364 "steps": [
1365 {
1366 "color": "green",
1367 "value": null
1368 },
1369 {
1370 "color": "red",
1371 "value": 80
1372 }
1373 ]
1374 }
1375 },
1376 "overrides": []
1377 },
1378 "fill": 10,
1379 "fillGradient": 0,
1380 "gridPos": {
1381 "h": 4,
1382 "w": 10,
1383 "x": 11,
1384 "y": 16
1385 },
1386 "hiddenSeries": false,
1387 "id": 78,
1388 "legend": {
1389 "avg": false,
1390 "current": false,
1391 "max": false,
1392 "min": false,
1393 "show": true,
1394 "total": false,
1395 "values": false
1396 },
1397 "lines": true,
1398 "linewidth": 0,
1399 "maxPerRow": 6,
1400 "nullPointMode": "null",
1401 "options": {
1402 "dataLinks": []
1403 },
1404 "percentage": false,
1405 "pluginVersion": "7.0.5",
1406 "pointradius": 2,
1407 "points": false,
1408 "renderer": "flot",
1409 "repeat": null,
1410 "repeatDirection": "h",
Hyunsun Moond0d37d52020-10-26 20:20:37 -07001411 "repeatIteration": 1603767548038,
Andy Bavier49f59f82020-10-22 09:46:24 -07001412 "repeatPanelId": 23,
1413 "repeatedByRow": true,
1414 "scopedVars": {
1415 "edge": {
1416 "selected": false,
1417 "text": "ace-menlo-rasp-pi",
1418 "value": "ace-menlo-rasp-pi"
1419 }
1420 },
1421 "seriesOverrides": [],
1422 "spaceLength": 10,
1423 "stack": false,
1424 "steppedLine": true,
1425 "targets": [
1426 {
1427 "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{name=\"$edge\"} + aetheredge_status_user_plane{name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{name=\"$edge\"}), 0))",
1428 "interval": "",
1429 "legendFormat": "Unscheduled",
1430 "refId": "A"
1431 },
1432 {
1433 "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
1434 "interval": "",
1435 "legendFormat": "Scheduled",
1436 "refId": "B"
1437 }
1438 ],
1439 "thresholds": [],
1440 "timeFrom": null,
1441 "timeRegions": [],
1442 "timeShift": null,
1443 "title": "Downtime",
1444 "tooltip": {
1445 "shared": true,
1446 "sort": 0,
1447 "value_type": "individual"
1448 },
1449 "type": "graph",
1450 "xaxis": {
1451 "buckets": null,
1452 "mode": "time",
1453 "name": null,
1454 "show": true,
1455 "values": []
1456 },
1457 "yaxes": [
1458 {
1459 "decimals": 0,
1460 "format": "short",
1461 "label": "",
1462 "logBase": 1,
1463 "max": "1",
1464 "min": "0",
1465 "show": true
1466 },
1467 {
1468 "format": "short",
1469 "label": null,
1470 "logBase": 1,
1471 "max": null,
1472 "min": null,
1473 "show": true
1474 }
1475 ],
1476 "yaxis": {
1477 "align": false,
1478 "alignLevel": null
1479 }
1480 },
1481 {
Andy Bavier227cb1c2020-09-09 10:00:46 -07001482 "datasource": "RANCHER_MONITORING_GLOBAL",
1483 "fieldConfig": {
1484 "defaults": {
1485 "custom": {},
1486 "mappings": [],
1487 "max": 1000,
1488 "thresholds": {
1489 "mode": "absolute",
1490 "steps": [
1491 {
1492 "color": "green",
1493 "value": null
1494 },
1495 {
1496 "color": "red",
1497 "value": 750
1498 }
1499 ]
1500 }
1501 },
1502 "overrides": []
1503 },
1504 "gridPos": {
Andy Bavier49f59f82020-10-22 09:46:24 -07001505 "h": 4,
1506 "w": 3,
1507 "x": 21,
1508 "y": 16
Andy Bavier227cb1c2020-09-09 10:00:46 -07001509 },
Andy Bavier49f59f82020-10-22 09:46:24 -07001510 "id": 79,
Andy Bavier227cb1c2020-09-09 10:00:46 -07001511 "maxPerRow": 6,
1512 "options": {
1513 "orientation": "auto",
1514 "reduceOptions": {
1515 "calcs": [
1516 "last"
1517 ],
1518 "fields": "",
1519 "values": false
1520 },
1521 "showThresholdLabels": false,
1522 "showThresholdMarkers": true
1523 },
1524 "pluginVersion": "7.0.5",
1525 "repeat": null,
1526 "repeatDirection": "h",
Hyunsun Moond0d37d52020-10-26 20:20:37 -07001527 "repeatIteration": 1603767548038,
Andy Bavier227cb1c2020-09-09 10:00:46 -07001528 "repeatPanelId": 13,
Andy Bavier49f59f82020-10-22 09:46:24 -07001529 "repeatedByRow": true,
Andy Bavier227cb1c2020-09-09 10:00:46 -07001530 "scopedVars": {
1531 "edge": {
1532 "selected": false,
Andy Bavier502d6012020-09-30 11:46:06 -07001533 "text": "ace-menlo-rasp-pi",
1534 "value": "ace-menlo-rasp-pi"
1535 }
1536 },
1537 "targets": [
1538 {
1539 "expr": "sum(time() - aetheredge_last_update{name=\"$edge\"})",
1540 "interval": "",
1541 "legendFormat": "{{name}}",
1542 "refId": "A"
1543 }
1544 ],
1545 "timeFrom": null,
1546 "timeShift": null,
1547 "title": "Seconds since last update",
1548 "type": "gauge"
1549 },
1550 {
Andy Bavier49f59f82020-10-22 09:46:24 -07001551 "collapsed": false,
1552 "datasource": null,
1553 "gridPos": {
1554 "h": 1,
1555 "w": 24,
1556 "x": 0,
1557 "y": 20
1558 },
1559 "id": 80,
1560 "panels": [],
1561 "repeat": null,
Hyunsun Moond0d37d52020-10-26 20:20:37 -07001562 "repeatIteration": 1603767548038,
Andy Bavier49f59f82020-10-22 09:46:24 -07001563 "repeatPanelId": 35,
1564 "scopedVars": {
1565 "edge": {
1566 "selected": false,
1567 "text": "ace-tucson",
1568 "value": "ace-tucson"
1569 }
1570 },
1571 "title": "Edge: $edge",
1572 "type": "row"
1573 },
1574 {
1575 "datasource": null,
1576 "description": "",
1577 "fieldConfig": {
1578 "defaults": {
1579 "custom": {},
1580 "mappings": [
1581 {
1582 "from": "",
1583 "id": 1,
1584 "operator": "",
1585 "text": "error",
1586 "to": "",
1587 "type": 1,
1588 "value": "-1"
1589 },
1590 {
1591 "from": "",
1592 "id": 2,
1593 "operator": "",
1594 "text": "disconnected",
1595 "to": "",
1596 "type": 1,
1597 "value": "0"
1598 },
1599 {
1600 "from": "",
1601 "id": 3,
1602 "operator": "",
1603 "text": "connecting",
1604 "to": "",
1605 "type": 1,
1606 "value": "1"
1607 },
1608 {
1609 "from": "",
1610 "id": 4,
1611 "operator": "",
1612 "text": "connected",
1613 "to": "",
1614 "type": 1,
1615 "value": "2"
1616 },
1617 {
1618 "from": "",
1619 "id": 5,
1620 "operator": "",
1621 "text": "no result",
1622 "to": "",
1623 "type": 1,
1624 "value": "-2"
1625 },
1626 {
1627 "from": "-100",
1628 "id": 6,
1629 "operator": "",
1630 "text": "scheduled downtime",
1631 "to": "-3",
1632 "type": 2
1633 }
1634 ],
1635 "thresholds": {
1636 "mode": "absolute",
1637 "steps": [
1638 {
1639 "color": "red",
1640 "value": null
1641 },
1642 {
1643 "color": "#6ED0E0",
1644 "value": -100
1645 },
1646 {
1647 "color": "red",
1648 "value": -2
1649 },
1650 {
1651 "color": "#EAB839",
1652 "value": 1
1653 },
1654 {
1655 "color": "green",
1656 "value": 2
1657 }
1658 ]
1659 }
1660 },
1661 "overrides": []
1662 },
1663 "gridPos": {
1664 "h": 4,
1665 "w": 6,
1666 "x": 0,
1667 "y": 21
1668 },
1669 "id": 81,
1670 "maxPerRow": 6,
1671 "options": {
1672 "colorMode": "background",
1673 "graphMode": "none",
1674 "justifyMode": "auto",
1675 "orientation": "auto",
1676 "reduceOptions": {
1677 "calcs": [
1678 "last"
1679 ],
1680 "fields": "",
1681 "values": false
1682 }
1683 },
1684 "pluginVersion": "7.0.5",
1685 "repeat": null,
1686 "repeatDirection": "h",
Hyunsun Moond0d37d52020-10-26 20:20:37 -07001687 "repeatIteration": 1603767548038,
Andy Bavier49f59f82020-10-22 09:46:24 -07001688 "repeatPanelId": 4,
1689 "repeatedByRow": true,
1690 "scopedVars": {
1691 "edge": {
1692 "selected": false,
1693 "text": "ace-tucson",
1694 "value": "ace-tucson"
1695 }
1696 },
1697 "targets": [
1698 {
1699 "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
1700 "interval": "",
1701 "legendFormat": "Control Plane",
1702 "refId": "A"
1703 },
1704 {
1705 "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
1706 "interval": "",
1707 "legendFormat": "User Plane",
1708 "refId": "B"
1709 }
1710 ],
1711 "timeFrom": null,
1712 "timeShift": null,
1713 "title": "Current",
1714 "type": "stat"
1715 },
1716 {
1717 "datasource": null,
1718 "fieldConfig": {
1719 "defaults": {
1720 "custom": {},
1721 "mappings": [],
1722 "thresholds": {
1723 "mode": "absolute",
1724 "steps": [
1725 {
1726 "color": "red",
1727 "value": null
1728 },
1729 {
1730 "color": "#EAB839",
1731 "value": 50
1732 },
1733 {
1734 "color": "green",
1735 "value": 95
1736 }
1737 ]
1738 },
1739 "unit": "percent"
1740 },
1741 "overrides": []
1742 },
1743 "gridPos": {
1744 "h": 4,
1745 "w": 5,
1746 "x": 6,
1747 "y": 21
1748 },
1749 "id": 82,
1750 "maxPerRow": 6,
1751 "options": {
1752 "colorMode": "background",
1753 "graphMode": "none",
1754 "justifyMode": "auto",
1755 "orientation": "auto",
1756 "reduceOptions": {
1757 "calcs": [
1758 "mean"
1759 ],
1760 "fields": "",
1761 "values": false
1762 }
1763 },
1764 "pluginVersion": "7.0.5",
1765 "repeat": null,
1766 "repeatDirection": "h",
Hyunsun Moond0d37d52020-10-26 20:20:37 -07001767 "repeatIteration": 1603767548038,
Andy Bavier49f59f82020-10-22 09:46:24 -07001768 "repeatPanelId": 5,
1769 "repeatedByRow": true,
1770 "scopedVars": {
1771 "edge": {
1772 "selected": false,
1773 "text": "ace-tucson",
1774 "value": "ace-tucson"
1775 }
1776 },
1777 "targets": [
1778 {
1779 "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
1780 "interval": "",
1781 "legendFormat": "Control Plane",
1782 "refId": "A"
1783 },
1784 {
1785 "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
1786 "interval": "",
1787 "legendFormat": "User Plane",
1788 "refId": "B"
1789 }
1790 ],
1791 "timeFrom": null,
1792 "timeShift": null,
1793 "title": "Uptime",
1794 "transformations": [],
1795 "type": "stat"
1796 },
1797 {
1798 "aliasColors": {
1799 "Scheduled": "blue",
1800 "Scheduled downtime": "blue",
1801 "Unscheduled": "red",
1802 "Unscheduled downtime": "red"
1803 },
1804 "bars": false,
1805 "dashLength": 10,
1806 "dashes": false,
1807 "datasource": null,
1808 "fieldConfig": {
1809 "defaults": {
1810 "custom": {},
1811 "mappings": [],
1812 "thresholds": {
1813 "mode": "absolute",
1814 "steps": [
1815 {
1816 "color": "green",
1817 "value": null
1818 },
1819 {
1820 "color": "red",
1821 "value": 80
1822 }
1823 ]
1824 }
1825 },
1826 "overrides": []
1827 },
1828 "fill": 10,
1829 "fillGradient": 0,
1830 "gridPos": {
1831 "h": 4,
1832 "w": 10,
1833 "x": 11,
1834 "y": 21
1835 },
1836 "hiddenSeries": false,
1837 "id": 83,
1838 "legend": {
1839 "avg": false,
1840 "current": false,
1841 "max": false,
1842 "min": false,
1843 "show": true,
1844 "total": false,
1845 "values": false
1846 },
1847 "lines": true,
1848 "linewidth": 0,
1849 "maxPerRow": 6,
1850 "nullPointMode": "null",
1851 "options": {
1852 "dataLinks": []
1853 },
1854 "percentage": false,
1855 "pluginVersion": "7.0.5",
1856 "pointradius": 2,
1857 "points": false,
1858 "renderer": "flot",
1859 "repeat": null,
1860 "repeatDirection": "h",
Hyunsun Moond0d37d52020-10-26 20:20:37 -07001861 "repeatIteration": 1603767548038,
Andy Bavier49f59f82020-10-22 09:46:24 -07001862 "repeatPanelId": 23,
1863 "repeatedByRow": true,
1864 "scopedVars": {
1865 "edge": {
1866 "selected": false,
1867 "text": "ace-tucson",
1868 "value": "ace-tucson"
1869 }
1870 },
1871 "seriesOverrides": [],
1872 "spaceLength": 10,
1873 "stack": false,
1874 "steppedLine": true,
1875 "targets": [
1876 {
1877 "expr": "sum(clamp_min(1 - (clamp_min(aetheredge_status_control_plane{name=\"$edge\"} + aetheredge_status_user_plane{name=\"$edge\"} - 3, 0) + aetheredge_in_maintenance_window{name=\"$edge\"}), 0))",
1878 "interval": "",
1879 "legendFormat": "Unscheduled",
1880 "refId": "A"
1881 },
1882 {
1883 "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
1884 "interval": "",
1885 "legendFormat": "Scheduled",
1886 "refId": "B"
1887 }
1888 ],
1889 "thresholds": [],
1890 "timeFrom": null,
1891 "timeRegions": [],
1892 "timeShift": null,
1893 "title": "Downtime",
1894 "tooltip": {
1895 "shared": true,
1896 "sort": 0,
1897 "value_type": "individual"
1898 },
1899 "type": "graph",
1900 "xaxis": {
1901 "buckets": null,
1902 "mode": "time",
1903 "name": null,
1904 "show": true,
1905 "values": []
1906 },
1907 "yaxes": [
1908 {
1909 "decimals": 0,
1910 "format": "short",
1911 "label": "",
1912 "logBase": 1,
1913 "max": "1",
1914 "min": "0",
1915 "show": true
1916 },
1917 {
1918 "format": "short",
1919 "label": null,
1920 "logBase": 1,
1921 "max": null,
1922 "min": null,
1923 "show": true
1924 }
1925 ],
1926 "yaxis": {
1927 "align": false,
1928 "alignLevel": null
1929 }
1930 },
1931 {
Andy Bavier502d6012020-09-30 11:46:06 -07001932 "datasource": "RANCHER_MONITORING_GLOBAL",
1933 "fieldConfig": {
1934 "defaults": {
1935 "custom": {},
1936 "mappings": [],
1937 "max": 1000,
1938 "thresholds": {
1939 "mode": "absolute",
1940 "steps": [
1941 {
1942 "color": "green",
1943 "value": null
1944 },
1945 {
1946 "color": "red",
1947 "value": 750
1948 }
1949 ]
1950 }
1951 },
1952 "overrides": []
1953 },
1954 "gridPos": {
Andy Bavier49f59f82020-10-22 09:46:24 -07001955 "h": 4,
1956 "w": 3,
1957 "x": 21,
1958 "y": 21
Andy Bavier502d6012020-09-30 11:46:06 -07001959 },
Andy Bavier49f59f82020-10-22 09:46:24 -07001960 "id": 84,
Andy Bavier502d6012020-09-30 11:46:06 -07001961 "maxPerRow": 6,
1962 "options": {
1963 "orientation": "auto",
1964 "reduceOptions": {
1965 "calcs": [
1966 "last"
1967 ],
1968 "fields": "",
1969 "values": false
1970 },
1971 "showThresholdLabels": false,
1972 "showThresholdMarkers": true
1973 },
1974 "pluginVersion": "7.0.5",
1975 "repeat": null,
1976 "repeatDirection": "h",
Hyunsun Moond0d37d52020-10-26 20:20:37 -07001977 "repeatIteration": 1603767548038,
Andy Bavier502d6012020-09-30 11:46:06 -07001978 "repeatPanelId": 13,
Andy Bavier49f59f82020-10-22 09:46:24 -07001979 "repeatedByRow": true,
Andy Bavier502d6012020-09-30 11:46:06 -07001980 "scopedVars": {
1981 "edge": {
1982 "selected": false,
1983 "text": "ace-tucson",
1984 "value": "ace-tucson"
Andy Bavier227cb1c2020-09-09 10:00:46 -07001985 }
1986 },
1987 "targets": [
1988 {
1989 "expr": "sum(time() - aetheredge_last_update{name=\"$edge\"})",
1990 "interval": "",
1991 "legendFormat": "{{name}}",
1992 "refId": "A"
1993 }
1994 ],
1995 "timeFrom": null,
1996 "timeShift": null,
1997 "title": "Seconds since last update",
1998 "type": "gauge"
1999 },
2000 {
Andy Bavier49f59f82020-10-22 09:46:24 -07002001 "collapsed": true,
2002 "datasource": null,
Andy Bavierab75e9e2020-08-06 12:05:30 -07002003 "gridPos": {
Andy Bavier49f59f82020-10-22 09:46:24 -07002004 "h": 1,
Andy Bavierab75e9e2020-08-06 12:05:30 -07002005 "w": 24,
2006 "x": 0,
Andy Bavier49f59f82020-10-22 09:46:24 -07002007 "y": 25
Andy Bavierab75e9e2020-08-06 12:05:30 -07002008 },
Andy Bavier49f59f82020-10-22 09:46:24 -07002009 "id": 69,
2010 "panels": [
Andy Bavierab75e9e2020-08-06 12:05:30 -07002011 {
Andy Bavier49f59f82020-10-22 09:46:24 -07002012 "aliasColors": {},
2013 "bars": false,
2014 "dashLength": 10,
2015 "dashes": false,
2016 "datasource": "RANCHER_MONITORING_GLOBAL",
2017 "fieldConfig": {
2018 "defaults": {
2019 "custom": {}
2020 },
2021 "overrides": []
2022 },
2023 "fill": 1,
2024 "fillGradient": 0,
2025 "gridPos": {
2026 "h": 5,
2027 "w": 24,
2028 "x": 0,
2029 "y": 1
2030 },
2031 "hiddenSeries": false,
2032 "id": 21,
2033 "legend": {
2034 "avg": false,
2035 "current": false,
2036 "max": false,
2037 "min": false,
2038 "show": true,
2039 "total": false,
2040 "values": false
2041 },
2042 "lines": true,
2043 "linewidth": 1,
2044 "maxPerRow": 3,
2045 "nullPointMode": "null",
2046 "options": {
2047 "dataLinks": []
2048 },
2049 "percentage": false,
2050 "pointradius": 2,
2051 "points": false,
2052 "renderer": "flot",
2053 "repeat": null,
2054 "repeatDirection": "h",
2055 "seriesOverrides": [],
2056 "spaceLength": 10,
2057 "stack": false,
2058 "steppedLine": false,
2059 "targets": [
2060 {
2061 "expr": "sum(time() - aetheredge_last_update{name!~\"production.*|.*dongle|ace-argela\"}) by (name)",
2062 "interval": "",
2063 "legendFormat": "{{name}}",
2064 "refId": "A"
2065 }
2066 ],
2067 "thresholds": [],
2068 "timeFrom": null,
2069 "timeRegions": [],
2070 "timeShift": null,
2071 "title": "Seconds since last update",
2072 "tooltip": {
2073 "shared": true,
2074 "sort": 0,
2075 "value_type": "individual"
2076 },
2077 "type": "graph",
2078 "xaxis": {
2079 "buckets": null,
2080 "mode": "time",
2081 "name": null,
2082 "show": true,
2083 "values": []
2084 },
2085 "yaxes": [
2086 {
2087 "format": "short",
2088 "label": null,
2089 "logBase": 1,
2090 "max": null,
2091 "min": null,
2092 "show": true
2093 },
2094 {
2095 "format": "short",
2096 "label": null,
2097 "logBase": 1,
2098 "max": null,
2099 "min": null,
2100 "show": true
2101 }
2102 ],
2103 "yaxis": {
2104 "align": false,
2105 "alignLevel": null
2106 }
Andy Bavierab75e9e2020-08-06 12:05:30 -07002107 }
2108 ],
Andy Bavier49f59f82020-10-22 09:46:24 -07002109 "title": "Test status",
2110 "type": "row"
Andy Bavierab75e9e2020-08-06 12:05:30 -07002111 }
2112 ],
2113 "refresh": "30s",
2114 "schemaVersion": 25,
2115 "style": "dark",
2116 "tags": [],
2117 "templating": {
2118 "list": [
2119 {
2120 "allValue": null,
2121 "current": {
2122 "selected": true,
Andy Bavierab75e9e2020-08-06 12:05:30 -07002123 "text": "All",
2124 "value": [
2125 "$__all"
2126 ]
2127 },
2128 "datasource": "RANCHER_MONITORING_GLOBAL",
2129 "definition": "aetheredge_status_control_plane",
2130 "hide": 0,
2131 "includeAll": true,
2132 "label": "Edge",
2133 "multi": true,
2134 "name": "edge",
Andy Bavier227cb1c2020-09-09 10:00:46 -07002135 "options": [],
Andy Bavierab75e9e2020-08-06 12:05:30 -07002136 "query": "aetheredge_status_control_plane",
Andy Bavier227cb1c2020-09-09 10:00:46 -07002137 "refresh": 1,
Andy Bavieracbe6af2020-10-06 13:51:42 -07002138 "regex": "/.*,name=\"(?!ace-menlo-dongle)(?!ace-argela)(ace-.*)\",namespace.*/",
Andy Bavierab75e9e2020-08-06 12:05:30 -07002139 "skipUrlSync": false,
2140 "sort": 1,
2141 "tagValuesQuery": "",
2142 "tags": [],
2143 "tagsQuery": "",
2144 "type": "query",
2145 "useTags": false
2146 }
2147 ]
2148 },
2149 "time": {
Hyunsun Moond0d37d52020-10-26 20:20:37 -07002150 "from": "now-1h",
Andy Bavierab75e9e2020-08-06 12:05:30 -07002151 "to": "now"
2152 },
2153 "timepicker": {
2154 "refresh_intervals": [
Andy Bavierab75e9e2020-08-06 12:05:30 -07002155 "10s",
2156 "30s",
2157 "1m",
2158 "5m",
2159 "15m",
2160 "30m",
2161 "1h",
2162 "2h",
2163 "1d"
2164 ]
2165 },
2166 "timezone": "",
2167 "title": "Aether Connected Edge",
Andy Bavier49f59f82020-10-22 09:46:24 -07002168 "uid": "Y2z8vDtGz",
Andy Bavierab75e9e2020-08-06 12:05:30 -07002169 "version": 1
Hyunsun Moond0d37d52020-10-26 20:20:37 -07002170}