blob: fda4de1bc52fceeba0b6349742f78fe1126eb08f [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,
Andy Bavier49f59f82020-10-22 09:46:24 -070018 "iteration": 1603317820454,
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",
81 "options": "aether-gcp-argela"
82 },
83 "properties": [
84 {
85 "id": "displayName",
86 "value": "Argela"
87 }
88 ]
89 },
90 {
91 "matcher": {
92 "id": "byName",
93 "options": "aether-gcp-att"
94 },
95 "properties": [
96 {
97 "id": "displayName",
98 "value": "ATT"
99 }
100 ]
101 },
102 {
103 "matcher": {
104 "id": "byName",
105 "options": "aether-gcp-ciena"
106 },
107 "properties": [
108 {
109 "id": "displayName",
110 "value": "Ciena"
111 }
112 ]
113 },
114 {
115 "matcher": {
116 "id": "byName",
117 "options": "aether-gcp-menlo-prd"
118 },
119 "properties": [
120 {
121 "id": "displayName",
122 "value": "ONF Menlo Prod"
123 }
124 ]
125 },
126 {
127 "matcher": {
128 "id": "byName",
129 "options": "aether-gcp-menlo-stg"
130 },
131 "properties": [
132 {
133 "id": "displayName",
134 "value": "ONF Menlo Staging"
135 }
136 ]
137 },
138 {
139 "matcher": {
140 "id": "byName",
141 "options": "aether-gcp-ntt"
142 },
143 "properties": [
144 {
145 "id": "displayName",
146 "value": "NTT"
147 }
148 ]
149 },
150 {
151 "matcher": {
152 "id": "byName",
153 "options": "aether-gcp-telefonica"
154 },
155 "properties": [
156 {
157 "id": "displayName",
158 "value": "Telefonica"
159 }
160 ]
161 },
162 {
163 "matcher": {
164 "id": "byName",
165 "options": "aether-gcp-tucson"
166 },
167 "properties": [
168 {
169 "id": "displayName",
170 "value": "ONF Tucson"
171 }
172 ]
173 },
174 {
175 "matcher": {
176 "id": "byName",
177 "options": "menlo-gcp1-tunnel-4"
178 },
179 "properties": [
180 {
181 "id": "displayName",
182 "value": "Intel"
183 }
184 ]
185 }
186 ]
187 },
188 "gridPos": {
189 "h": 4,
190 "w": 24,
191 "x": 0,
Andy Bavier49f59f82020-10-22 09:46:24 -0700192 "y": 1
Andy Bavier5c91c1c2020-09-01 11:47:38 -0700193 },
194 "id": 33,
195 "options": {
196 "colorMode": "value",
197 "graphMode": "area",
198 "justifyMode": "auto",
199 "orientation": "auto",
200 "reduceOptions": {
201 "calcs": [
202 "last"
203 ],
204 "fields": "",
205 "values": false
206 }
207 },
208 "pluginVersion": "7.0.5",
209 "repeat": null,
210 "targets": [
211 {
212 "metricQuery": {
213 "aliasBy": "{{ metric.label.tunnel_name }}",
214 "alignmentPeriod": "stackdriver-auto",
215 "crossSeriesReducer": "REDUCE_NONE",
Andy Bavierdbd45bd2020-10-02 15:48:35 -0700216 "filters": [
Hyunsun Moonddb93ea2020-10-05 16:41:02 -0700217 "metric.label.gateway_name",
218 "=",
Andy Bavieracbe6af2020-10-06 13:51:42 -0700219 "menlo-gcp1",
220 "AND",
221 "metric.label.tunnel_name",
222 "!=",
223 "aether-gcp-argela"
Andy Bavierdbd45bd2020-10-02 15:48:35 -0700224 ],
Andy Bavier5c91c1c2020-09-01 11:47:38 -0700225 "groupBys": [],
226 "metricKind": "GAUGE",
227 "metricType": "vpn.googleapis.com/tunnel_established",
228 "perSeriesAligner": "ALIGN_INTERPOLATE",
229 "projectName": "onf-vpn",
230 "unit": "1",
231 "valueType": "DOUBLE"
232 },
233 "queryType": "metrics",
234 "refId": "A"
235 }
236 ],
237 "timeFrom": null,
238 "timeShift": null,
239 "title": "VPN connections from Google Cloud",
240 "type": "stat"
241 },
242 {
Andy Bavier49f59f82020-10-22 09:46:24 -0700243 "collapsed": false,
244 "datasource": null,
245 "gridPos": {
246 "h": 1,
247 "w": 24,
248 "x": 0,
249 "y": 5
250 },
251 "id": 35,
252 "panels": [],
253 "repeat": "edge",
254 "scopedVars": {
255 "edge": {
256 "selected": false,
257 "text": "ace-intel",
258 "value": "ace-intel"
259 }
260 },
261 "title": "Edge: $edge",
262 "type": "row"
263 },
264 {
Andy Bavierab75e9e2020-08-06 12:05:30 -0700265 "datasource": null,
266 "description": "",
267 "fieldConfig": {
268 "defaults": {
269 "custom": {},
270 "mappings": [
271 {
272 "from": "",
273 "id": 1,
274 "operator": "",
275 "text": "error",
276 "to": "",
277 "type": 1,
278 "value": "-1"
279 },
280 {
281 "from": "",
282 "id": 2,
283 "operator": "",
284 "text": "disconnected",
285 "to": "",
286 "type": 1,
287 "value": "0"
288 },
289 {
290 "from": "",
291 "id": 3,
292 "operator": "",
293 "text": "connecting",
294 "to": "",
295 "type": 1,
296 "value": "1"
297 },
298 {
299 "from": "",
300 "id": 4,
301 "operator": "",
302 "text": "connected",
303 "to": "",
304 "type": 1,
305 "value": "2"
306 },
307 {
308 "from": "",
309 "id": 5,
310 "operator": "",
311 "text": "no result",
312 "to": "",
313 "type": 1,
314 "value": "-2"
Andy Bavier3fc12032020-08-11 16:42:56 -0700315 },
316 {
317 "from": "-100",
318 "id": 6,
319 "operator": "",
320 "text": "scheduled downtime",
321 "to": "-3",
322 "type": 2
Andy Bavierab75e9e2020-08-06 12:05:30 -0700323 }
324 ],
325 "thresholds": {
326 "mode": "absolute",
327 "steps": [
328 {
329 "color": "red",
330 "value": null
331 },
332 {
Andy Bavier3fc12032020-08-11 16:42:56 -0700333 "color": "#6ED0E0",
334 "value": -100
335 },
336 {
337 "color": "red",
338 "value": -2
339 },
340 {
Andy Bavierab75e9e2020-08-06 12:05:30 -0700341 "color": "#EAB839",
342 "value": 1
343 },
344 {
345 "color": "green",
346 "value": 2
347 }
348 ]
349 }
350 },
351 "overrides": []
352 },
353 "gridPos": {
354 "h": 4,
Andy Bavier49f59f82020-10-22 09:46:24 -0700355 "w": 6,
Andy Bavierab75e9e2020-08-06 12:05:30 -0700356 "x": 0,
Andy Bavier49f59f82020-10-22 09:46:24 -0700357 "y": 6
Andy Bavierab75e9e2020-08-06 12:05:30 -0700358 },
359 "id": 4,
Andy Bavier227cb1c2020-09-09 10:00:46 -0700360 "maxPerRow": 6,
Andy Bavierab75e9e2020-08-06 12:05:30 -0700361 "options": {
362 "colorMode": "background",
363 "graphMode": "none",
364 "justifyMode": "auto",
365 "orientation": "auto",
366 "reduceOptions": {
367 "calcs": [
368 "last"
369 ],
370 "fields": "",
371 "values": false
372 }
373 },
374 "pluginVersion": "7.0.5",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700375 "repeat": null,
376 "repeatDirection": "h",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700377 "scopedVars": {
378 "edge": {
Andy Bavierab75e9e2020-08-06 12:05:30 -0700379 "selected": false,
Andy Bavier502d6012020-09-30 11:46:06 -0700380 "text": "ace-intel",
381 "value": "ace-intel"
Andy Bavierab75e9e2020-08-06 12:05:30 -0700382 }
383 },
384 "targets": [
385 {
Andy Bavier3fc12032020-08-11 16:42:56 -0700386 "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700387 "interval": "",
388 "legendFormat": "Control Plane",
389 "refId": "A"
390 },
391 {
Andy Bavier3fc12032020-08-11 16:42:56 -0700392 "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700393 "interval": "",
394 "legendFormat": "User Plane",
395 "refId": "B"
396 }
397 ],
398 "timeFrom": null,
399 "timeShift": null,
Andy Bavier49f59f82020-10-22 09:46:24 -0700400 "title": "Current",
Andy Bavier227cb1c2020-09-09 10:00:46 -0700401 "type": "stat"
402 },
403 {
404 "datasource": null,
Andy Bavierab75e9e2020-08-06 12:05:30 -0700405 "fieldConfig": {
406 "defaults": {
407 "custom": {},
408 "mappings": [],
409 "thresholds": {
410 "mode": "absolute",
411 "steps": [
412 {
413 "color": "red",
414 "value": null
415 },
416 {
417 "color": "#EAB839",
418 "value": 50
419 },
420 {
421 "color": "green",
422 "value": 95
423 }
424 ]
425 },
426 "unit": "percent"
427 },
428 "overrides": []
429 },
430 "gridPos": {
431 "h": 4,
Andy Bavier49f59f82020-10-22 09:46:24 -0700432 "w": 5,
433 "x": 6,
434 "y": 6
Andy Bavierab75e9e2020-08-06 12:05:30 -0700435 },
436 "id": 5,
Andy Bavier227cb1c2020-09-09 10:00:46 -0700437 "maxPerRow": 6,
Andy Bavierab75e9e2020-08-06 12:05:30 -0700438 "options": {
439 "colorMode": "background",
Andy Bavier3fc12032020-08-11 16:42:56 -0700440 "graphMode": "none",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700441 "justifyMode": "auto",
442 "orientation": "auto",
443 "reduceOptions": {
444 "calcs": [
445 "mean"
446 ],
447 "fields": "",
448 "values": false
449 }
450 },
451 "pluginVersion": "7.0.5",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700452 "repeat": null,
453 "repeatDirection": "h",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700454 "scopedVars": {
455 "edge": {
Andy Bavierab75e9e2020-08-06 12:05:30 -0700456 "selected": false,
Andy Bavier502d6012020-09-30 11:46:06 -0700457 "text": "ace-intel",
458 "value": "ace-intel"
Andy Bavierab75e9e2020-08-06 12:05:30 -0700459 }
460 },
461 "targets": [
462 {
463 "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
464 "interval": "",
465 "legendFormat": "Control Plane",
466 "refId": "A"
467 },
468 {
469 "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
470 "interval": "",
471 "legendFormat": "User Plane",
472 "refId": "B"
473 }
474 ],
475 "timeFrom": null,
476 "timeShift": null,
Andy Bavier49f59f82020-10-22 09:46:24 -0700477 "title": "Uptime",
Andy Bavier3fc12032020-08-11 16:42:56 -0700478 "transformations": [],
Andy Bavierab75e9e2020-08-06 12:05:30 -0700479 "type": "stat"
480 },
481 {
Andy Bavier49f59f82020-10-22 09:46:24 -0700482 "aliasColors": {
483 "Scheduled": "blue",
484 "Scheduled downtime": "blue",
485 "Unscheduled": "red",
486 "Unscheduled downtime": "red"
Andy Bavier227cb1c2020-09-09 10:00:46 -0700487 },
Andy Bavier3fc12032020-08-11 16:42:56 -0700488 "bars": false,
489 "dashLength": 10,
490 "dashes": false,
491 "datasource": null,
492 "fieldConfig": {
493 "defaults": {
494 "custom": {},
495 "mappings": [],
496 "thresholds": {
497 "mode": "absolute",
498 "steps": [
499 {
500 "color": "green",
501 "value": null
502 },
503 {
504 "color": "red",
505 "value": 80
506 }
507 ]
508 }
509 },
510 "overrides": []
511 },
Andy Bavier49f59f82020-10-22 09:46:24 -0700512 "fill": 10,
Andy Bavier3fc12032020-08-11 16:42:56 -0700513 "fillGradient": 0,
514 "gridPos": {
Andy Bavier49f59f82020-10-22 09:46:24 -0700515 "h": 4,
516 "w": 10,
517 "x": 11,
518 "y": 6
Andy Bavier3fc12032020-08-11 16:42:56 -0700519 },
520 "hiddenSeries": false,
521 "id": 23,
522 "legend": {
523 "avg": false,
524 "current": false,
525 "max": false,
526 "min": false,
527 "show": true,
528 "total": false,
529 "values": false
530 },
531 "lines": true,
532 "linewidth": 0,
Andy Bavier227cb1c2020-09-09 10:00:46 -0700533 "maxPerRow": 6,
Andy Bavier3fc12032020-08-11 16:42:56 -0700534 "nullPointMode": "null",
535 "options": {
536 "dataLinks": []
537 },
538 "percentage": false,
539 "pluginVersion": "7.0.5",
540 "pointradius": 2,
541 "points": false,
542 "renderer": "flot",
Andy Bavier227cb1c2020-09-09 10:00:46 -0700543 "repeat": null,
544 "repeatDirection": "h",
Andy Bavier227cb1c2020-09-09 10:00:46 -0700545 "scopedVars": {
546 "edge": {
547 "selected": false,
Andy Bavier502d6012020-09-30 11:46:06 -0700548 "text": "ace-intel",
549 "value": "ace-intel"
550 }
551 },
552 "seriesOverrides": [],
553 "spaceLength": 10,
554 "stack": false,
555 "steppedLine": true,
556 "targets": [
557 {
Andy Bavier49f59f82020-10-22 09:46:24 -0700558 "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 -0700559 "interval": "",
Andy Bavier49f59f82020-10-22 09:46:24 -0700560 "legendFormat": "Unscheduled",
Andy Bavier502d6012020-09-30 11:46:06 -0700561 "refId": "A"
562 },
563 {
564 "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
565 "interval": "",
Andy Bavier49f59f82020-10-22 09:46:24 -0700566 "legendFormat": "Scheduled",
Andy Bavier502d6012020-09-30 11:46:06 -0700567 "refId": "B"
568 }
569 ],
570 "thresholds": [],
571 "timeFrom": null,
572 "timeRegions": [],
573 "timeShift": null,
Andy Bavier49f59f82020-10-22 09:46:24 -0700574 "title": "Downtime",
Andy Bavier502d6012020-09-30 11:46:06 -0700575 "tooltip": {
576 "shared": true,
577 "sort": 0,
578 "value_type": "individual"
579 },
580 "type": "graph",
581 "xaxis": {
582 "buckets": null,
583 "mode": "time",
584 "name": null,
585 "show": true,
586 "values": []
587 },
588 "yaxes": [
589 {
Andy Bavier502d6012020-09-30 11:46:06 -0700590 "decimals": 0,
591 "format": "short",
592 "label": "",
593 "logBase": 1,
594 "max": "1",
595 "min": "0",
596 "show": true
597 },
598 {
Andy Bavier227cb1c2020-09-09 10:00:46 -0700599 "format": "short",
600 "label": null,
601 "logBase": 1,
602 "max": null,
603 "min": null,
604 "show": true
605 }
606 ],
607 "yaxis": {
608 "align": false,
609 "alignLevel": null
610 }
611 },
612 {
Andy Bavierab75e9e2020-08-06 12:05:30 -0700613 "datasource": "RANCHER_MONITORING_GLOBAL",
614 "fieldConfig": {
615 "defaults": {
616 "custom": {},
617 "mappings": [],
618 "max": 1000,
619 "thresholds": {
620 "mode": "absolute",
621 "steps": [
622 {
623 "color": "green",
624 "value": null
625 },
626 {
627 "color": "red",
628 "value": 750
629 }
630 ]
631 }
632 },
633 "overrides": []
634 },
635 "gridPos": {
Andy Bavier49f59f82020-10-22 09:46:24 -0700636 "h": 4,
637 "w": 3,
638 "x": 21,
639 "y": 6
Andy Bavierab75e9e2020-08-06 12:05:30 -0700640 },
641 "id": 13,
Andy Bavier227cb1c2020-09-09 10:00:46 -0700642 "maxPerRow": 6,
Andy Bavierab75e9e2020-08-06 12:05:30 -0700643 "options": {
644 "orientation": "auto",
645 "reduceOptions": {
646 "calcs": [
647 "last"
648 ],
649 "fields": "",
650 "values": false
651 },
652 "showThresholdLabels": false,
653 "showThresholdMarkers": true
654 },
655 "pluginVersion": "7.0.5",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700656 "repeat": null,
657 "repeatDirection": "h",
Andy Bavierab75e9e2020-08-06 12:05:30 -0700658 "scopedVars": {
659 "edge": {
Andy Bavierab75e9e2020-08-06 12:05:30 -0700660 "selected": false,
Andy Bavier502d6012020-09-30 11:46:06 -0700661 "text": "ace-intel",
662 "value": "ace-intel"
Andy Bavierab75e9e2020-08-06 12:05:30 -0700663 }
664 },
665 "targets": [
666 {
667 "expr": "sum(time() - aetheredge_last_update{name=\"$edge\"})",
668 "interval": "",
669 "legendFormat": "{{name}}",
670 "refId": "A"
671 }
672 ],
673 "timeFrom": null,
674 "timeShift": null,
675 "title": "Seconds since last update",
676 "type": "gauge"
677 },
678 {
Andy Bavier49f59f82020-10-22 09:46:24 -0700679 "collapsed": false,
680 "datasource": null,
681 "gridPos": {
682 "h": 1,
683 "w": 24,
684 "x": 0,
685 "y": 10
686 },
687 "id": 70,
688 "panels": [],
689 "repeat": null,
690 "repeatIteration": 1603317820454,
691 "repeatPanelId": 35,
692 "scopedVars": {
693 "edge": {
694 "selected": false,
695 "text": "ace-menlo-pixel",
696 "value": "ace-menlo-pixel"
697 }
698 },
699 "title": "Edge: $edge",
700 "type": "row"
701 },
702 {
703 "datasource": null,
704 "description": "",
705 "fieldConfig": {
706 "defaults": {
707 "custom": {},
708 "mappings": [
709 {
710 "from": "",
711 "id": 1,
712 "operator": "",
713 "text": "error",
714 "to": "",
715 "type": 1,
716 "value": "-1"
717 },
718 {
719 "from": "",
720 "id": 2,
721 "operator": "",
722 "text": "disconnected",
723 "to": "",
724 "type": 1,
725 "value": "0"
726 },
727 {
728 "from": "",
729 "id": 3,
730 "operator": "",
731 "text": "connecting",
732 "to": "",
733 "type": 1,
734 "value": "1"
735 },
736 {
737 "from": "",
738 "id": 4,
739 "operator": "",
740 "text": "connected",
741 "to": "",
742 "type": 1,
743 "value": "2"
744 },
745 {
746 "from": "",
747 "id": 5,
748 "operator": "",
749 "text": "no result",
750 "to": "",
751 "type": 1,
752 "value": "-2"
753 },
754 {
755 "from": "-100",
756 "id": 6,
757 "operator": "",
758 "text": "scheduled downtime",
759 "to": "-3",
760 "type": 2
761 }
762 ],
763 "thresholds": {
764 "mode": "absolute",
765 "steps": [
766 {
767 "color": "red",
768 "value": null
769 },
770 {
771 "color": "#6ED0E0",
772 "value": -100
773 },
774 {
775 "color": "red",
776 "value": -2
777 },
778 {
779 "color": "#EAB839",
780 "value": 1
781 },
782 {
783 "color": "green",
784 "value": 2
785 }
786 ]
787 }
788 },
789 "overrides": []
790 },
791 "gridPos": {
792 "h": 4,
793 "w": 6,
794 "x": 0,
795 "y": 11
796 },
797 "id": 71,
798 "maxPerRow": 6,
799 "options": {
800 "colorMode": "background",
801 "graphMode": "none",
802 "justifyMode": "auto",
803 "orientation": "auto",
804 "reduceOptions": {
805 "calcs": [
806 "last"
807 ],
808 "fields": "",
809 "values": false
810 }
811 },
812 "pluginVersion": "7.0.5",
813 "repeat": null,
814 "repeatDirection": "h",
815 "repeatIteration": 1603317820454,
816 "repeatPanelId": 4,
817 "repeatedByRow": true,
818 "scopedVars": {
819 "edge": {
820 "selected": false,
821 "text": "ace-menlo-pixel",
822 "value": "ace-menlo-pixel"
823 }
824 },
825 "targets": [
826 {
827 "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
828 "interval": "",
829 "legendFormat": "Control Plane",
830 "refId": "A"
831 },
832 {
833 "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
834 "interval": "",
835 "legendFormat": "User Plane",
836 "refId": "B"
837 }
838 ],
839 "timeFrom": null,
840 "timeShift": null,
841 "title": "Current",
842 "type": "stat"
843 },
844 {
845 "datasource": null,
846 "fieldConfig": {
847 "defaults": {
848 "custom": {},
849 "mappings": [],
850 "thresholds": {
851 "mode": "absolute",
852 "steps": [
853 {
854 "color": "red",
855 "value": null
856 },
857 {
858 "color": "#EAB839",
859 "value": 50
860 },
861 {
862 "color": "green",
863 "value": 95
864 }
865 ]
866 },
867 "unit": "percent"
868 },
869 "overrides": []
870 },
871 "gridPos": {
872 "h": 4,
873 "w": 5,
874 "x": 6,
875 "y": 11
876 },
877 "id": 72,
878 "maxPerRow": 6,
879 "options": {
880 "colorMode": "background",
881 "graphMode": "none",
882 "justifyMode": "auto",
883 "orientation": "auto",
884 "reduceOptions": {
885 "calcs": [
886 "mean"
887 ],
888 "fields": "",
889 "values": false
890 }
891 },
892 "pluginVersion": "7.0.5",
893 "repeat": null,
894 "repeatDirection": "h",
895 "repeatIteration": 1603317820454,
896 "repeatPanelId": 5,
897 "repeatedByRow": true,
898 "scopedVars": {
899 "edge": {
900 "selected": false,
901 "text": "ace-menlo-pixel",
902 "value": "ace-menlo-pixel"
903 }
904 },
905 "targets": [
906 {
907 "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
908 "interval": "",
909 "legendFormat": "Control Plane",
910 "refId": "A"
911 },
912 {
913 "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
914 "interval": "",
915 "legendFormat": "User Plane",
916 "refId": "B"
917 }
918 ],
919 "timeFrom": null,
920 "timeShift": null,
921 "title": "Uptime",
922 "transformations": [],
923 "type": "stat"
924 },
925 {
926 "aliasColors": {
927 "Scheduled": "blue",
928 "Scheduled downtime": "blue",
929 "Unscheduled": "red",
930 "Unscheduled downtime": "red"
931 },
932 "bars": false,
933 "dashLength": 10,
934 "dashes": false,
935 "datasource": null,
936 "fieldConfig": {
937 "defaults": {
938 "custom": {},
939 "mappings": [],
940 "thresholds": {
941 "mode": "absolute",
942 "steps": [
943 {
944 "color": "green",
945 "value": null
946 },
947 {
948 "color": "red",
949 "value": 80
950 }
951 ]
952 }
953 },
954 "overrides": []
955 },
956 "fill": 10,
957 "fillGradient": 0,
958 "gridPos": {
959 "h": 4,
960 "w": 10,
961 "x": 11,
962 "y": 11
963 },
964 "hiddenSeries": false,
965 "id": 73,
966 "legend": {
967 "avg": false,
968 "current": false,
969 "max": false,
970 "min": false,
971 "show": true,
972 "total": false,
973 "values": false
974 },
975 "lines": true,
976 "linewidth": 0,
977 "maxPerRow": 6,
978 "nullPointMode": "null",
979 "options": {
980 "dataLinks": []
981 },
982 "percentage": false,
983 "pluginVersion": "7.0.5",
984 "pointradius": 2,
985 "points": false,
986 "renderer": "flot",
987 "repeat": null,
988 "repeatDirection": "h",
989 "repeatIteration": 1603317820454,
990 "repeatPanelId": 23,
991 "repeatedByRow": true,
992 "scopedVars": {
993 "edge": {
994 "selected": false,
995 "text": "ace-menlo-pixel",
996 "value": "ace-menlo-pixel"
997 }
998 },
999 "seriesOverrides": [],
1000 "spaceLength": 10,
1001 "stack": false,
1002 "steppedLine": true,
1003 "targets": [
1004 {
1005 "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))",
1006 "interval": "",
1007 "legendFormat": "Unscheduled",
1008 "refId": "A"
1009 },
1010 {
1011 "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
1012 "interval": "",
1013 "legendFormat": "Scheduled",
1014 "refId": "B"
1015 }
1016 ],
1017 "thresholds": [],
1018 "timeFrom": null,
1019 "timeRegions": [],
1020 "timeShift": null,
1021 "title": "Downtime",
1022 "tooltip": {
1023 "shared": true,
1024 "sort": 0,
1025 "value_type": "individual"
1026 },
1027 "type": "graph",
1028 "xaxis": {
1029 "buckets": null,
1030 "mode": "time",
1031 "name": null,
1032 "show": true,
1033 "values": []
1034 },
1035 "yaxes": [
1036 {
1037 "decimals": 0,
1038 "format": "short",
1039 "label": "",
1040 "logBase": 1,
1041 "max": "1",
1042 "min": "0",
1043 "show": true
1044 },
1045 {
1046 "format": "short",
1047 "label": null,
1048 "logBase": 1,
1049 "max": null,
1050 "min": null,
1051 "show": true
1052 }
1053 ],
1054 "yaxis": {
1055 "align": false,
1056 "alignLevel": null
1057 }
1058 },
1059 {
Andy Bavierab75e9e2020-08-06 12:05:30 -07001060 "datasource": "RANCHER_MONITORING_GLOBAL",
1061 "fieldConfig": {
1062 "defaults": {
1063 "custom": {},
1064 "mappings": [],
1065 "max": 1000,
1066 "thresholds": {
1067 "mode": "absolute",
1068 "steps": [
1069 {
1070 "color": "green",
1071 "value": null
1072 },
1073 {
1074 "color": "red",
1075 "value": 750
1076 }
1077 ]
1078 }
1079 },
1080 "overrides": []
1081 },
1082 "gridPos": {
Andy Bavier49f59f82020-10-22 09:46:24 -07001083 "h": 4,
1084 "w": 3,
1085 "x": 21,
1086 "y": 11
Andy Bavierab75e9e2020-08-06 12:05:30 -07001087 },
Andy Bavier49f59f82020-10-22 09:46:24 -07001088 "id": 74,
Andy Bavier227cb1c2020-09-09 10:00:46 -07001089 "maxPerRow": 6,
Andy Bavierab75e9e2020-08-06 12:05:30 -07001090 "options": {
1091 "orientation": "auto",
1092 "reduceOptions": {
1093 "calcs": [
1094 "last"
1095 ],
1096 "fields": "",
1097 "values": false
1098 },
1099 "showThresholdLabels": false,
1100 "showThresholdMarkers": true
1101 },
1102 "pluginVersion": "7.0.5",
1103 "repeat": null,
1104 "repeatDirection": "h",
Andy Bavier49f59f82020-10-22 09:46:24 -07001105 "repeatIteration": 1603317820454,
Andy Bavierab75e9e2020-08-06 12:05:30 -07001106 "repeatPanelId": 13,
Andy Bavier49f59f82020-10-22 09:46:24 -07001107 "repeatedByRow": true,
Andy Bavierab75e9e2020-08-06 12:05:30 -07001108 "scopedVars": {
1109 "edge": {
Andy Bavierab75e9e2020-08-06 12:05:30 -07001110 "selected": false,
Andy Bavier502d6012020-09-30 11:46:06 -07001111 "text": "ace-menlo-pixel",
1112 "value": "ace-menlo-pixel"
Andy Bavierab75e9e2020-08-06 12:05:30 -07001113 }
1114 },
1115 "targets": [
1116 {
1117 "expr": "sum(time() - aetheredge_last_update{name=\"$edge\"})",
1118 "interval": "",
1119 "legendFormat": "{{name}}",
1120 "refId": "A"
1121 }
1122 ],
1123 "timeFrom": null,
1124 "timeShift": null,
1125 "title": "Seconds since last update",
1126 "type": "gauge"
1127 },
1128 {
Andy Bavier49f59f82020-10-22 09:46:24 -07001129 "collapsed": false,
1130 "datasource": null,
1131 "gridPos": {
1132 "h": 1,
1133 "w": 24,
1134 "x": 0,
1135 "y": 15
1136 },
1137 "id": 75,
1138 "panels": [],
1139 "repeat": null,
1140 "repeatIteration": 1603317820454,
1141 "repeatPanelId": 35,
1142 "scopedVars": {
1143 "edge": {
1144 "selected": false,
1145 "text": "ace-menlo-rasp-pi",
1146 "value": "ace-menlo-rasp-pi"
1147 }
1148 },
1149 "title": "Edge: $edge",
1150 "type": "row"
1151 },
1152 {
1153 "datasource": null,
1154 "description": "",
1155 "fieldConfig": {
1156 "defaults": {
1157 "custom": {},
1158 "mappings": [
1159 {
1160 "from": "",
1161 "id": 1,
1162 "operator": "",
1163 "text": "error",
1164 "to": "",
1165 "type": 1,
1166 "value": "-1"
1167 },
1168 {
1169 "from": "",
1170 "id": 2,
1171 "operator": "",
1172 "text": "disconnected",
1173 "to": "",
1174 "type": 1,
1175 "value": "0"
1176 },
1177 {
1178 "from": "",
1179 "id": 3,
1180 "operator": "",
1181 "text": "connecting",
1182 "to": "",
1183 "type": 1,
1184 "value": "1"
1185 },
1186 {
1187 "from": "",
1188 "id": 4,
1189 "operator": "",
1190 "text": "connected",
1191 "to": "",
1192 "type": 1,
1193 "value": "2"
1194 },
1195 {
1196 "from": "",
1197 "id": 5,
1198 "operator": "",
1199 "text": "no result",
1200 "to": "",
1201 "type": 1,
1202 "value": "-2"
1203 },
1204 {
1205 "from": "-100",
1206 "id": 6,
1207 "operator": "",
1208 "text": "scheduled downtime",
1209 "to": "-3",
1210 "type": 2
1211 }
1212 ],
1213 "thresholds": {
1214 "mode": "absolute",
1215 "steps": [
1216 {
1217 "color": "red",
1218 "value": null
1219 },
1220 {
1221 "color": "#6ED0E0",
1222 "value": -100
1223 },
1224 {
1225 "color": "red",
1226 "value": -2
1227 },
1228 {
1229 "color": "#EAB839",
1230 "value": 1
1231 },
1232 {
1233 "color": "green",
1234 "value": 2
1235 }
1236 ]
1237 }
1238 },
1239 "overrides": []
1240 },
1241 "gridPos": {
1242 "h": 4,
1243 "w": 6,
1244 "x": 0,
1245 "y": 16
1246 },
1247 "id": 76,
1248 "maxPerRow": 6,
1249 "options": {
1250 "colorMode": "background",
1251 "graphMode": "none",
1252 "justifyMode": "auto",
1253 "orientation": "auto",
1254 "reduceOptions": {
1255 "calcs": [
1256 "last"
1257 ],
1258 "fields": "",
1259 "values": false
1260 }
1261 },
1262 "pluginVersion": "7.0.5",
1263 "repeat": null,
1264 "repeatDirection": "h",
1265 "repeatIteration": 1603317820454,
1266 "repeatPanelId": 4,
1267 "repeatedByRow": true,
1268 "scopedVars": {
1269 "edge": {
1270 "selected": false,
1271 "text": "ace-menlo-rasp-pi",
1272 "value": "ace-menlo-rasp-pi"
1273 }
1274 },
1275 "targets": [
1276 {
1277 "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
1278 "interval": "",
1279 "legendFormat": "Control Plane",
1280 "refId": "A"
1281 },
1282 {
1283 "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
1284 "interval": "",
1285 "legendFormat": "User Plane",
1286 "refId": "B"
1287 }
1288 ],
1289 "timeFrom": null,
1290 "timeShift": null,
1291 "title": "Current",
1292 "type": "stat"
1293 },
1294 {
1295 "datasource": null,
1296 "fieldConfig": {
1297 "defaults": {
1298 "custom": {},
1299 "mappings": [],
1300 "thresholds": {
1301 "mode": "absolute",
1302 "steps": [
1303 {
1304 "color": "red",
1305 "value": null
1306 },
1307 {
1308 "color": "#EAB839",
1309 "value": 50
1310 },
1311 {
1312 "color": "green",
1313 "value": 95
1314 }
1315 ]
1316 },
1317 "unit": "percent"
1318 },
1319 "overrides": []
1320 },
1321 "gridPos": {
1322 "h": 4,
1323 "w": 5,
1324 "x": 6,
1325 "y": 16
1326 },
1327 "id": 77,
1328 "maxPerRow": 6,
1329 "options": {
1330 "colorMode": "background",
1331 "graphMode": "none",
1332 "justifyMode": "auto",
1333 "orientation": "auto",
1334 "reduceOptions": {
1335 "calcs": [
1336 "mean"
1337 ],
1338 "fields": "",
1339 "values": false
1340 }
1341 },
1342 "pluginVersion": "7.0.5",
1343 "repeat": null,
1344 "repeatDirection": "h",
1345 "repeatIteration": 1603317820454,
1346 "repeatPanelId": 5,
1347 "repeatedByRow": true,
1348 "scopedVars": {
1349 "edge": {
1350 "selected": false,
1351 "text": "ace-menlo-rasp-pi",
1352 "value": "ace-menlo-rasp-pi"
1353 }
1354 },
1355 "targets": [
1356 {
1357 "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
1358 "interval": "",
1359 "legendFormat": "Control Plane",
1360 "refId": "A"
1361 },
1362 {
1363 "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
1364 "interval": "",
1365 "legendFormat": "User Plane",
1366 "refId": "B"
1367 }
1368 ],
1369 "timeFrom": null,
1370 "timeShift": null,
1371 "title": "Uptime",
1372 "transformations": [],
1373 "type": "stat"
1374 },
1375 {
1376 "aliasColors": {
1377 "Scheduled": "blue",
1378 "Scheduled downtime": "blue",
1379 "Unscheduled": "red",
1380 "Unscheduled downtime": "red"
1381 },
1382 "bars": false,
1383 "dashLength": 10,
1384 "dashes": false,
1385 "datasource": null,
1386 "fieldConfig": {
1387 "defaults": {
1388 "custom": {},
1389 "mappings": [],
1390 "thresholds": {
1391 "mode": "absolute",
1392 "steps": [
1393 {
1394 "color": "green",
1395 "value": null
1396 },
1397 {
1398 "color": "red",
1399 "value": 80
1400 }
1401 ]
1402 }
1403 },
1404 "overrides": []
1405 },
1406 "fill": 10,
1407 "fillGradient": 0,
1408 "gridPos": {
1409 "h": 4,
1410 "w": 10,
1411 "x": 11,
1412 "y": 16
1413 },
1414 "hiddenSeries": false,
1415 "id": 78,
1416 "legend": {
1417 "avg": false,
1418 "current": false,
1419 "max": false,
1420 "min": false,
1421 "show": true,
1422 "total": false,
1423 "values": false
1424 },
1425 "lines": true,
1426 "linewidth": 0,
1427 "maxPerRow": 6,
1428 "nullPointMode": "null",
1429 "options": {
1430 "dataLinks": []
1431 },
1432 "percentage": false,
1433 "pluginVersion": "7.0.5",
1434 "pointradius": 2,
1435 "points": false,
1436 "renderer": "flot",
1437 "repeat": null,
1438 "repeatDirection": "h",
1439 "repeatIteration": 1603317820454,
1440 "repeatPanelId": 23,
1441 "repeatedByRow": true,
1442 "scopedVars": {
1443 "edge": {
1444 "selected": false,
1445 "text": "ace-menlo-rasp-pi",
1446 "value": "ace-menlo-rasp-pi"
1447 }
1448 },
1449 "seriesOverrides": [],
1450 "spaceLength": 10,
1451 "stack": false,
1452 "steppedLine": true,
1453 "targets": [
1454 {
1455 "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))",
1456 "interval": "",
1457 "legendFormat": "Unscheduled",
1458 "refId": "A"
1459 },
1460 {
1461 "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
1462 "interval": "",
1463 "legendFormat": "Scheduled",
1464 "refId": "B"
1465 }
1466 ],
1467 "thresholds": [],
1468 "timeFrom": null,
1469 "timeRegions": [],
1470 "timeShift": null,
1471 "title": "Downtime",
1472 "tooltip": {
1473 "shared": true,
1474 "sort": 0,
1475 "value_type": "individual"
1476 },
1477 "type": "graph",
1478 "xaxis": {
1479 "buckets": null,
1480 "mode": "time",
1481 "name": null,
1482 "show": true,
1483 "values": []
1484 },
1485 "yaxes": [
1486 {
1487 "decimals": 0,
1488 "format": "short",
1489 "label": "",
1490 "logBase": 1,
1491 "max": "1",
1492 "min": "0",
1493 "show": true
1494 },
1495 {
1496 "format": "short",
1497 "label": null,
1498 "logBase": 1,
1499 "max": null,
1500 "min": null,
1501 "show": true
1502 }
1503 ],
1504 "yaxis": {
1505 "align": false,
1506 "alignLevel": null
1507 }
1508 },
1509 {
Andy Bavier227cb1c2020-09-09 10:00:46 -07001510 "datasource": "RANCHER_MONITORING_GLOBAL",
1511 "fieldConfig": {
1512 "defaults": {
1513 "custom": {},
1514 "mappings": [],
1515 "max": 1000,
1516 "thresholds": {
1517 "mode": "absolute",
1518 "steps": [
1519 {
1520 "color": "green",
1521 "value": null
1522 },
1523 {
1524 "color": "red",
1525 "value": 750
1526 }
1527 ]
1528 }
1529 },
1530 "overrides": []
1531 },
1532 "gridPos": {
Andy Bavier49f59f82020-10-22 09:46:24 -07001533 "h": 4,
1534 "w": 3,
1535 "x": 21,
1536 "y": 16
Andy Bavier227cb1c2020-09-09 10:00:46 -07001537 },
Andy Bavier49f59f82020-10-22 09:46:24 -07001538 "id": 79,
Andy Bavier227cb1c2020-09-09 10:00:46 -07001539 "maxPerRow": 6,
1540 "options": {
1541 "orientation": "auto",
1542 "reduceOptions": {
1543 "calcs": [
1544 "last"
1545 ],
1546 "fields": "",
1547 "values": false
1548 },
1549 "showThresholdLabels": false,
1550 "showThresholdMarkers": true
1551 },
1552 "pluginVersion": "7.0.5",
1553 "repeat": null,
1554 "repeatDirection": "h",
Andy Bavier49f59f82020-10-22 09:46:24 -07001555 "repeatIteration": 1603317820454,
Andy Bavier227cb1c2020-09-09 10:00:46 -07001556 "repeatPanelId": 13,
Andy Bavier49f59f82020-10-22 09:46:24 -07001557 "repeatedByRow": true,
Andy Bavier227cb1c2020-09-09 10:00:46 -07001558 "scopedVars": {
1559 "edge": {
1560 "selected": false,
Andy Bavier502d6012020-09-30 11:46:06 -07001561 "text": "ace-menlo-rasp-pi",
1562 "value": "ace-menlo-rasp-pi"
1563 }
1564 },
1565 "targets": [
1566 {
1567 "expr": "sum(time() - aetheredge_last_update{name=\"$edge\"})",
1568 "interval": "",
1569 "legendFormat": "{{name}}",
1570 "refId": "A"
1571 }
1572 ],
1573 "timeFrom": null,
1574 "timeShift": null,
1575 "title": "Seconds since last update",
1576 "type": "gauge"
1577 },
1578 {
Andy Bavier49f59f82020-10-22 09:46:24 -07001579 "collapsed": false,
1580 "datasource": null,
1581 "gridPos": {
1582 "h": 1,
1583 "w": 24,
1584 "x": 0,
1585 "y": 20
1586 },
1587 "id": 80,
1588 "panels": [],
1589 "repeat": null,
1590 "repeatIteration": 1603317820454,
1591 "repeatPanelId": 35,
1592 "scopedVars": {
1593 "edge": {
1594 "selected": false,
1595 "text": "ace-tucson",
1596 "value": "ace-tucson"
1597 }
1598 },
1599 "title": "Edge: $edge",
1600 "type": "row"
1601 },
1602 {
1603 "datasource": null,
1604 "description": "",
1605 "fieldConfig": {
1606 "defaults": {
1607 "custom": {},
1608 "mappings": [
1609 {
1610 "from": "",
1611 "id": 1,
1612 "operator": "",
1613 "text": "error",
1614 "to": "",
1615 "type": 1,
1616 "value": "-1"
1617 },
1618 {
1619 "from": "",
1620 "id": 2,
1621 "operator": "",
1622 "text": "disconnected",
1623 "to": "",
1624 "type": 1,
1625 "value": "0"
1626 },
1627 {
1628 "from": "",
1629 "id": 3,
1630 "operator": "",
1631 "text": "connecting",
1632 "to": "",
1633 "type": 1,
1634 "value": "1"
1635 },
1636 {
1637 "from": "",
1638 "id": 4,
1639 "operator": "",
1640 "text": "connected",
1641 "to": "",
1642 "type": 1,
1643 "value": "2"
1644 },
1645 {
1646 "from": "",
1647 "id": 5,
1648 "operator": "",
1649 "text": "no result",
1650 "to": "",
1651 "type": 1,
1652 "value": "-2"
1653 },
1654 {
1655 "from": "-100",
1656 "id": 6,
1657 "operator": "",
1658 "text": "scheduled downtime",
1659 "to": "-3",
1660 "type": 2
1661 }
1662 ],
1663 "thresholds": {
1664 "mode": "absolute",
1665 "steps": [
1666 {
1667 "color": "red",
1668 "value": null
1669 },
1670 {
1671 "color": "#6ED0E0",
1672 "value": -100
1673 },
1674 {
1675 "color": "red",
1676 "value": -2
1677 },
1678 {
1679 "color": "#EAB839",
1680 "value": 1
1681 },
1682 {
1683 "color": "green",
1684 "value": 2
1685 }
1686 ]
1687 }
1688 },
1689 "overrides": []
1690 },
1691 "gridPos": {
1692 "h": 4,
1693 "w": 6,
1694 "x": 0,
1695 "y": 21
1696 },
1697 "id": 81,
1698 "maxPerRow": 6,
1699 "options": {
1700 "colorMode": "background",
1701 "graphMode": "none",
1702 "justifyMode": "auto",
1703 "orientation": "auto",
1704 "reduceOptions": {
1705 "calcs": [
1706 "last"
1707 ],
1708 "fields": "",
1709 "values": false
1710 }
1711 },
1712 "pluginVersion": "7.0.5",
1713 "repeat": null,
1714 "repeatDirection": "h",
1715 "repeatIteration": 1603317820454,
1716 "repeatPanelId": 4,
1717 "repeatedByRow": true,
1718 "scopedVars": {
1719 "edge": {
1720 "selected": false,
1721 "text": "ace-tucson",
1722 "value": "ace-tucson"
1723 }
1724 },
1725 "targets": [
1726 {
1727 "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
1728 "interval": "",
1729 "legendFormat": "Control Plane",
1730 "refId": "A"
1731 },
1732 {
1733 "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
1734 "interval": "",
1735 "legendFormat": "User Plane",
1736 "refId": "B"
1737 }
1738 ],
1739 "timeFrom": null,
1740 "timeShift": null,
1741 "title": "Current",
1742 "type": "stat"
1743 },
1744 {
1745 "datasource": null,
1746 "fieldConfig": {
1747 "defaults": {
1748 "custom": {},
1749 "mappings": [],
1750 "thresholds": {
1751 "mode": "absolute",
1752 "steps": [
1753 {
1754 "color": "red",
1755 "value": null
1756 },
1757 {
1758 "color": "#EAB839",
1759 "value": 50
1760 },
1761 {
1762 "color": "green",
1763 "value": 95
1764 }
1765 ]
1766 },
1767 "unit": "percent"
1768 },
1769 "overrides": []
1770 },
1771 "gridPos": {
1772 "h": 4,
1773 "w": 5,
1774 "x": 6,
1775 "y": 21
1776 },
1777 "id": 82,
1778 "maxPerRow": 6,
1779 "options": {
1780 "colorMode": "background",
1781 "graphMode": "none",
1782 "justifyMode": "auto",
1783 "orientation": "auto",
1784 "reduceOptions": {
1785 "calcs": [
1786 "mean"
1787 ],
1788 "fields": "",
1789 "values": false
1790 }
1791 },
1792 "pluginVersion": "7.0.5",
1793 "repeat": null,
1794 "repeatDirection": "h",
1795 "repeatIteration": 1603317820454,
1796 "repeatPanelId": 5,
1797 "repeatedByRow": true,
1798 "scopedVars": {
1799 "edge": {
1800 "selected": false,
1801 "text": "ace-tucson",
1802 "value": "ace-tucson"
1803 }
1804 },
1805 "targets": [
1806 {
1807 "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
1808 "interval": "",
1809 "legendFormat": "Control Plane",
1810 "refId": "A"
1811 },
1812 {
1813 "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
1814 "interval": "",
1815 "legendFormat": "User Plane",
1816 "refId": "B"
1817 }
1818 ],
1819 "timeFrom": null,
1820 "timeShift": null,
1821 "title": "Uptime",
1822 "transformations": [],
1823 "type": "stat"
1824 },
1825 {
1826 "aliasColors": {
1827 "Scheduled": "blue",
1828 "Scheduled downtime": "blue",
1829 "Unscheduled": "red",
1830 "Unscheduled downtime": "red"
1831 },
1832 "bars": false,
1833 "dashLength": 10,
1834 "dashes": false,
1835 "datasource": null,
1836 "fieldConfig": {
1837 "defaults": {
1838 "custom": {},
1839 "mappings": [],
1840 "thresholds": {
1841 "mode": "absolute",
1842 "steps": [
1843 {
1844 "color": "green",
1845 "value": null
1846 },
1847 {
1848 "color": "red",
1849 "value": 80
1850 }
1851 ]
1852 }
1853 },
1854 "overrides": []
1855 },
1856 "fill": 10,
1857 "fillGradient": 0,
1858 "gridPos": {
1859 "h": 4,
1860 "w": 10,
1861 "x": 11,
1862 "y": 21
1863 },
1864 "hiddenSeries": false,
1865 "id": 83,
1866 "legend": {
1867 "avg": false,
1868 "current": false,
1869 "max": false,
1870 "min": false,
1871 "show": true,
1872 "total": false,
1873 "values": false
1874 },
1875 "lines": true,
1876 "linewidth": 0,
1877 "maxPerRow": 6,
1878 "nullPointMode": "null",
1879 "options": {
1880 "dataLinks": []
1881 },
1882 "percentage": false,
1883 "pluginVersion": "7.0.5",
1884 "pointradius": 2,
1885 "points": false,
1886 "renderer": "flot",
1887 "repeat": null,
1888 "repeatDirection": "h",
1889 "repeatIteration": 1603317820454,
1890 "repeatPanelId": 23,
1891 "repeatedByRow": true,
1892 "scopedVars": {
1893 "edge": {
1894 "selected": false,
1895 "text": "ace-tucson",
1896 "value": "ace-tucson"
1897 }
1898 },
1899 "seriesOverrides": [],
1900 "spaceLength": 10,
1901 "stack": false,
1902 "steppedLine": true,
1903 "targets": [
1904 {
1905 "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))",
1906 "interval": "",
1907 "legendFormat": "Unscheduled",
1908 "refId": "A"
1909 },
1910 {
1911 "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
1912 "interval": "",
1913 "legendFormat": "Scheduled",
1914 "refId": "B"
1915 }
1916 ],
1917 "thresholds": [],
1918 "timeFrom": null,
1919 "timeRegions": [],
1920 "timeShift": null,
1921 "title": "Downtime",
1922 "tooltip": {
1923 "shared": true,
1924 "sort": 0,
1925 "value_type": "individual"
1926 },
1927 "type": "graph",
1928 "xaxis": {
1929 "buckets": null,
1930 "mode": "time",
1931 "name": null,
1932 "show": true,
1933 "values": []
1934 },
1935 "yaxes": [
1936 {
1937 "decimals": 0,
1938 "format": "short",
1939 "label": "",
1940 "logBase": 1,
1941 "max": "1",
1942 "min": "0",
1943 "show": true
1944 },
1945 {
1946 "format": "short",
1947 "label": null,
1948 "logBase": 1,
1949 "max": null,
1950 "min": null,
1951 "show": true
1952 }
1953 ],
1954 "yaxis": {
1955 "align": false,
1956 "alignLevel": null
1957 }
1958 },
1959 {
Andy Bavier502d6012020-09-30 11:46:06 -07001960 "datasource": "RANCHER_MONITORING_GLOBAL",
1961 "fieldConfig": {
1962 "defaults": {
1963 "custom": {},
1964 "mappings": [],
1965 "max": 1000,
1966 "thresholds": {
1967 "mode": "absolute",
1968 "steps": [
1969 {
1970 "color": "green",
1971 "value": null
1972 },
1973 {
1974 "color": "red",
1975 "value": 750
1976 }
1977 ]
1978 }
1979 },
1980 "overrides": []
1981 },
1982 "gridPos": {
Andy Bavier49f59f82020-10-22 09:46:24 -07001983 "h": 4,
1984 "w": 3,
1985 "x": 21,
1986 "y": 21
Andy Bavier502d6012020-09-30 11:46:06 -07001987 },
Andy Bavier49f59f82020-10-22 09:46:24 -07001988 "id": 84,
Andy Bavier502d6012020-09-30 11:46:06 -07001989 "maxPerRow": 6,
1990 "options": {
1991 "orientation": "auto",
1992 "reduceOptions": {
1993 "calcs": [
1994 "last"
1995 ],
1996 "fields": "",
1997 "values": false
1998 },
1999 "showThresholdLabels": false,
2000 "showThresholdMarkers": true
2001 },
2002 "pluginVersion": "7.0.5",
2003 "repeat": null,
2004 "repeatDirection": "h",
Andy Bavier49f59f82020-10-22 09:46:24 -07002005 "repeatIteration": 1603317820454,
Andy Bavier502d6012020-09-30 11:46:06 -07002006 "repeatPanelId": 13,
Andy Bavier49f59f82020-10-22 09:46:24 -07002007 "repeatedByRow": true,
Andy Bavier502d6012020-09-30 11:46:06 -07002008 "scopedVars": {
2009 "edge": {
2010 "selected": false,
2011 "text": "ace-tucson",
2012 "value": "ace-tucson"
Andy Bavier227cb1c2020-09-09 10:00:46 -07002013 }
2014 },
2015 "targets": [
2016 {
2017 "expr": "sum(time() - aetheredge_last_update{name=\"$edge\"})",
2018 "interval": "",
2019 "legendFormat": "{{name}}",
2020 "refId": "A"
2021 }
2022 ],
2023 "timeFrom": null,
2024 "timeShift": null,
2025 "title": "Seconds since last update",
2026 "type": "gauge"
2027 },
2028 {
Andy Bavier49f59f82020-10-22 09:46:24 -07002029 "collapsed": true,
2030 "datasource": null,
Andy Bavierab75e9e2020-08-06 12:05:30 -07002031 "gridPos": {
Andy Bavier49f59f82020-10-22 09:46:24 -07002032 "h": 1,
Andy Bavierab75e9e2020-08-06 12:05:30 -07002033 "w": 24,
2034 "x": 0,
Andy Bavier49f59f82020-10-22 09:46:24 -07002035 "y": 25
Andy Bavierab75e9e2020-08-06 12:05:30 -07002036 },
Andy Bavier49f59f82020-10-22 09:46:24 -07002037 "id": 69,
2038 "panels": [
Andy Bavierab75e9e2020-08-06 12:05:30 -07002039 {
Andy Bavier49f59f82020-10-22 09:46:24 -07002040 "aliasColors": {},
2041 "bars": false,
2042 "dashLength": 10,
2043 "dashes": false,
2044 "datasource": "RANCHER_MONITORING_GLOBAL",
2045 "fieldConfig": {
2046 "defaults": {
2047 "custom": {}
2048 },
2049 "overrides": []
2050 },
2051 "fill": 1,
2052 "fillGradient": 0,
2053 "gridPos": {
2054 "h": 5,
2055 "w": 24,
2056 "x": 0,
2057 "y": 1
2058 },
2059 "hiddenSeries": false,
2060 "id": 21,
2061 "legend": {
2062 "avg": false,
2063 "current": false,
2064 "max": false,
2065 "min": false,
2066 "show": true,
2067 "total": false,
2068 "values": false
2069 },
2070 "lines": true,
2071 "linewidth": 1,
2072 "maxPerRow": 3,
2073 "nullPointMode": "null",
2074 "options": {
2075 "dataLinks": []
2076 },
2077 "percentage": false,
2078 "pointradius": 2,
2079 "points": false,
2080 "renderer": "flot",
2081 "repeat": null,
2082 "repeatDirection": "h",
2083 "seriesOverrides": [],
2084 "spaceLength": 10,
2085 "stack": false,
2086 "steppedLine": false,
2087 "targets": [
2088 {
2089 "expr": "sum(time() - aetheredge_last_update{name!~\"production.*|.*dongle|ace-argela\"}) by (name)",
2090 "interval": "",
2091 "legendFormat": "{{name}}",
2092 "refId": "A"
2093 }
2094 ],
2095 "thresholds": [],
2096 "timeFrom": null,
2097 "timeRegions": [],
2098 "timeShift": null,
2099 "title": "Seconds since last update",
2100 "tooltip": {
2101 "shared": true,
2102 "sort": 0,
2103 "value_type": "individual"
2104 },
2105 "type": "graph",
2106 "xaxis": {
2107 "buckets": null,
2108 "mode": "time",
2109 "name": null,
2110 "show": true,
2111 "values": []
2112 },
2113 "yaxes": [
2114 {
2115 "format": "short",
2116 "label": null,
2117 "logBase": 1,
2118 "max": null,
2119 "min": null,
2120 "show": true
2121 },
2122 {
2123 "format": "short",
2124 "label": null,
2125 "logBase": 1,
2126 "max": null,
2127 "min": null,
2128 "show": true
2129 }
2130 ],
2131 "yaxis": {
2132 "align": false,
2133 "alignLevel": null
2134 }
Andy Bavierab75e9e2020-08-06 12:05:30 -07002135 }
2136 ],
Andy Bavier49f59f82020-10-22 09:46:24 -07002137 "title": "Test status",
2138 "type": "row"
Andy Bavierab75e9e2020-08-06 12:05:30 -07002139 }
2140 ],
2141 "refresh": "30s",
2142 "schemaVersion": 25,
2143 "style": "dark",
2144 "tags": [],
2145 "templating": {
2146 "list": [
2147 {
2148 "allValue": null,
2149 "current": {
2150 "selected": true,
Andy Bavier49f59f82020-10-22 09:46:24 -07002151 "tags": [],
Andy Bavierab75e9e2020-08-06 12:05:30 -07002152 "text": "All",
2153 "value": [
2154 "$__all"
2155 ]
2156 },
2157 "datasource": "RANCHER_MONITORING_GLOBAL",
2158 "definition": "aetheredge_status_control_plane",
2159 "hide": 0,
2160 "includeAll": true,
2161 "label": "Edge",
2162 "multi": true,
2163 "name": "edge",
Andy Bavier227cb1c2020-09-09 10:00:46 -07002164 "options": [],
Andy Bavierab75e9e2020-08-06 12:05:30 -07002165 "query": "aetheredge_status_control_plane",
Andy Bavier227cb1c2020-09-09 10:00:46 -07002166 "refresh": 1,
Andy Bavieracbe6af2020-10-06 13:51:42 -07002167 "regex": "/.*,name=\"(?!ace-menlo-dongle)(?!ace-argela)(ace-.*)\",namespace.*/",
Andy Bavierab75e9e2020-08-06 12:05:30 -07002168 "skipUrlSync": false,
2169 "sort": 1,
2170 "tagValuesQuery": "",
2171 "tags": [],
2172 "tagsQuery": "",
2173 "type": "query",
2174 "useTags": false
2175 }
2176 ]
2177 },
2178 "time": {
Andy Bavier49f59f82020-10-22 09:46:24 -07002179 "from": "now-24h",
Andy Bavierab75e9e2020-08-06 12:05:30 -07002180 "to": "now"
2181 },
2182 "timepicker": {
2183 "refresh_intervals": [
Andy Bavierab75e9e2020-08-06 12:05:30 -07002184 "10s",
2185 "30s",
2186 "1m",
2187 "5m",
2188 "15m",
2189 "30m",
2190 "1h",
2191 "2h",
2192 "1d"
2193 ]
2194 },
2195 "timezone": "",
2196 "title": "Aether Connected Edge",
Andy Bavier49f59f82020-10-22 09:46:24 -07002197 "uid": "Y2z8vDtGz",
Andy Bavierab75e9e2020-08-06 12:05:30 -07002198 "version": 1
Andy Bavieracbe6af2020-10-06 13:51:42 -07002199}