AETHER-838 Format in rows, highlight Unscheduled Downtime
Change-Id: Id28641408eb9797b7e8eead1414585ce3f5d541a
diff --git a/monitoring/grafana-aether/Chart.yaml b/monitoring/grafana-aether/Chart.yaml
index 3c40940..054d9e3 100644
--- a/monitoring/grafana-aether/Chart.yaml
+++ b/monitoring/grafana-aether/Chart.yaml
@@ -5,6 +5,6 @@
name: grafana-aether
description: A Helm chart for deploying Grafana with Aether dashboards
-version: 0.2.8
+version: 0.3.0
appVersion: 0.1.0
diff --git a/monitoring/grafana-aether/dashboards/global-edge-status.json b/monitoring/grafana-aether/dashboards/global-edge-status.json
index d8fba12..fda4de1 100644
--- a/monitoring/grafana-aether/dashboards/global-edge-status.json
+++ b/monitoring/grafana-aether/dashboards/global-edge-status.json
@@ -2,7 +2,6 @@
"annotations": {
"list": [
{
- "$$hashKey": "object:45",
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
@@ -16,10 +15,24 @@
"editable": true,
"gnetId": null,
"graphTooltip": 0,
- "iteration": 1602017151964,
+ "iteration": 1603317820454,
"links": [],
"panels": [
{
+ "collapsed": false,
+ "datasource": null,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 0
+ },
+ "id": 52,
+ "panels": [],
+ "title": "VPN Status",
+ "type": "row"
+ },
+ {
"datasource": "Google Cloud Monitoring",
"description": "",
"fieldConfig": {
@@ -176,7 +189,7 @@
"h": 4,
"w": 24,
"x": 0,
- "y": 0
+ "y": 1
},
"id": 33,
"options": {
@@ -227,6 +240,28 @@
"type": "stat"
},
{
+ "collapsed": false,
+ "datasource": null,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 5
+ },
+ "id": 35,
+ "panels": [],
+ "repeat": "edge",
+ "scopedVars": {
+ "edge": {
+ "selected": false,
+ "text": "ace-intel",
+ "value": "ace-intel"
+ }
+ },
+ "title": "Edge: $edge",
+ "type": "row"
+ },
+ {
"datasource": null,
"description": "",
"fieldConfig": {
@@ -317,9 +352,9 @@
},
"gridPos": {
"h": 4,
- "w": 4.8,
+ "w": 6,
"x": 0,
- "y": 4
+ "y": 6
},
"id": 4,
"maxPerRow": 6,
@@ -337,149 +372,8 @@
}
},
"pluginVersion": "7.0.5",
- "repeat": "edge",
- "repeatDirection": "h",
- "scopedVars": {
- "edge": {
- "selected": false,
- "text": "ace-argela",
- "value": "ace-argela"
- }
- },
- "targets": [
- {
- "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
- "interval": "",
- "legendFormat": "Control Plane",
- "refId": "A"
- },
- {
- "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
- "interval": "",
- "legendFormat": "User Plane",
- "refId": "B"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Current: $edge",
- "type": "stat"
- },
- {
- "datasource": null,
- "description": "",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [
- {
- "from": "",
- "id": 1,
- "operator": "",
- "text": "error",
- "to": "",
- "type": 1,
- "value": "-1"
- },
- {
- "from": "",
- "id": 2,
- "operator": "",
- "text": "disconnected",
- "to": "",
- "type": 1,
- "value": "0"
- },
- {
- "from": "",
- "id": 3,
- "operator": "",
- "text": "connecting",
- "to": "",
- "type": 1,
- "value": "1"
- },
- {
- "from": "",
- "id": 4,
- "operator": "",
- "text": "connected",
- "to": "",
- "type": 1,
- "value": "2"
- },
- {
- "from": "",
- "id": 5,
- "operator": "",
- "text": "no result",
- "to": "",
- "type": 1,
- "value": "-2"
- },
- {
- "from": "-100",
- "id": 6,
- "operator": "",
- "text": "scheduled downtime",
- "to": "-3",
- "type": 2
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "red",
- "value": null
- },
- {
- "color": "#6ED0E0",
- "value": -100
- },
- {
- "color": "red",
- "value": -2
- },
- {
- "color": "#EAB839",
- "value": 1
- },
- {
- "color": "green",
- "value": 2
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4.8,
- "x": 4.8,
- "y": 4
- },
- "id": 34,
- "maxPerRow": 6,
- "options": {
- "colorMode": "background",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "last"
- ],
- "fields": "",
- "values": false
- }
- },
- "pluginVersion": "7.0.5",
"repeat": null,
"repeatDirection": "h",
- "repeatIteration": 1602017151964,
- "repeatPanelId": 4,
"scopedVars": {
"edge": {
"selected": false,
@@ -503,430 +397,7 @@
],
"timeFrom": null,
"timeShift": null,
- "title": "Current: $edge",
- "type": "stat"
- },
- {
- "datasource": null,
- "description": "",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [
- {
- "from": "",
- "id": 1,
- "operator": "",
- "text": "error",
- "to": "",
- "type": 1,
- "value": "-1"
- },
- {
- "from": "",
- "id": 2,
- "operator": "",
- "text": "disconnected",
- "to": "",
- "type": 1,
- "value": "0"
- },
- {
- "from": "",
- "id": 3,
- "operator": "",
- "text": "connecting",
- "to": "",
- "type": 1,
- "value": "1"
- },
- {
- "from": "",
- "id": 4,
- "operator": "",
- "text": "connected",
- "to": "",
- "type": 1,
- "value": "2"
- },
- {
- "from": "",
- "id": 5,
- "operator": "",
- "text": "no result",
- "to": "",
- "type": 1,
- "value": "-2"
- },
- {
- "from": "-100",
- "id": 6,
- "operator": "",
- "text": "scheduled downtime",
- "to": "-3",
- "type": 2
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "red",
- "value": null
- },
- {
- "color": "#6ED0E0",
- "value": -100
- },
- {
- "color": "red",
- "value": -2
- },
- {
- "color": "#EAB839",
- "value": 1
- },
- {
- "color": "green",
- "value": 2
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4.8,
- "x": 9.6,
- "y": 4
- },
- "id": 35,
- "maxPerRow": 6,
- "options": {
- "colorMode": "background",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "last"
- ],
- "fields": "",
- "values": false
- }
- },
- "pluginVersion": "7.0.5",
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1602017151964,
- "repeatPanelId": 4,
- "scopedVars": {
- "edge": {
- "selected": false,
- "text": "ace-menlo-pixel",
- "value": "ace-menlo-pixel"
- }
- },
- "targets": [
- {
- "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
- "interval": "",
- "legendFormat": "Control Plane",
- "refId": "A"
- },
- {
- "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
- "interval": "",
- "legendFormat": "User Plane",
- "refId": "B"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Current: $edge",
- "type": "stat"
- },
- {
- "datasource": null,
- "description": "",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [
- {
- "from": "",
- "id": 1,
- "operator": "",
- "text": "error",
- "to": "",
- "type": 1,
- "value": "-1"
- },
- {
- "from": "",
- "id": 2,
- "operator": "",
- "text": "disconnected",
- "to": "",
- "type": 1,
- "value": "0"
- },
- {
- "from": "",
- "id": 3,
- "operator": "",
- "text": "connecting",
- "to": "",
- "type": 1,
- "value": "1"
- },
- {
- "from": "",
- "id": 4,
- "operator": "",
- "text": "connected",
- "to": "",
- "type": 1,
- "value": "2"
- },
- {
- "from": "",
- "id": 5,
- "operator": "",
- "text": "no result",
- "to": "",
- "type": 1,
- "value": "-2"
- },
- {
- "from": "-100",
- "id": 6,
- "operator": "",
- "text": "scheduled downtime",
- "to": "-3",
- "type": 2
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "red",
- "value": null
- },
- {
- "color": "#6ED0E0",
- "value": -100
- },
- {
- "color": "red",
- "value": -2
- },
- {
- "color": "#EAB839",
- "value": 1
- },
- {
- "color": "green",
- "value": 2
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4.8,
- "x": 14.399999999999999,
- "y": 4
- },
- "id": 36,
- "maxPerRow": 6,
- "options": {
- "colorMode": "background",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "last"
- ],
- "fields": "",
- "values": false
- }
- },
- "pluginVersion": "7.0.5",
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1602017151964,
- "repeatPanelId": 4,
- "scopedVars": {
- "edge": {
- "selected": false,
- "text": "ace-menlo-rasp-pi",
- "value": "ace-menlo-rasp-pi"
- }
- },
- "targets": [
- {
- "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
- "interval": "",
- "legendFormat": "Control Plane",
- "refId": "A"
- },
- {
- "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
- "interval": "",
- "legendFormat": "User Plane",
- "refId": "B"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Current: $edge",
- "type": "stat"
- },
- {
- "datasource": null,
- "description": "",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [
- {
- "from": "",
- "id": 1,
- "operator": "",
- "text": "error",
- "to": "",
- "type": 1,
- "value": "-1"
- },
- {
- "from": "",
- "id": 2,
- "operator": "",
- "text": "disconnected",
- "to": "",
- "type": 1,
- "value": "0"
- },
- {
- "from": "",
- "id": 3,
- "operator": "",
- "text": "connecting",
- "to": "",
- "type": 1,
- "value": "1"
- },
- {
- "from": "",
- "id": 4,
- "operator": "",
- "text": "connected",
- "to": "",
- "type": 1,
- "value": "2"
- },
- {
- "from": "",
- "id": 5,
- "operator": "",
- "text": "no result",
- "to": "",
- "type": 1,
- "value": "-2"
- },
- {
- "from": "-100",
- "id": 6,
- "operator": "",
- "text": "scheduled downtime",
- "to": "-3",
- "type": 2
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "red",
- "value": null
- },
- {
- "color": "#6ED0E0",
- "value": -100
- },
- {
- "color": "red",
- "value": -2
- },
- {
- "color": "#EAB839",
- "value": 1
- },
- {
- "color": "green",
- "value": 2
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4.8,
- "x": 19.2,
- "y": 4
- },
- "id": 37,
- "maxPerRow": 6,
- "options": {
- "colorMode": "background",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "last"
- ],
- "fields": "",
- "values": false
- }
- },
- "pluginVersion": "7.0.5",
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1602017151964,
- "repeatPanelId": 4,
- "scopedVars": {
- "edge": {
- "selected": false,
- "text": "ace-tucson",
- "value": "ace-tucson"
- }
- },
- "targets": [
- {
- "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
- "interval": "",
- "legendFormat": "Control Plane",
- "refId": "A"
- },
- {
- "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
- "interval": "",
- "legendFormat": "User Plane",
- "refId": "B"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Current: $edge",
+ "title": "Current",
"type": "stat"
},
{
@@ -958,9 +429,9 @@
},
"gridPos": {
"h": 4,
- "w": 4.8,
- "x": 0,
- "y": 8
+ "w": 5,
+ "x": 6,
+ "y": 6
},
"id": 5,
"maxPerRow": 6,
@@ -978,88 +449,8 @@
}
},
"pluginVersion": "7.0.5",
- "repeat": "edge",
- "repeatDirection": "h",
- "scopedVars": {
- "edge": {
- "selected": false,
- "text": "ace-argela",
- "value": "ace-argela"
- }
- },
- "targets": [
- {
- "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
- "interval": "",
- "legendFormat": "Control Plane",
- "refId": "A"
- },
- {
- "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
- "interval": "",
- "legendFormat": "User Plane",
- "refId": "B"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Uptime: $edge",
- "transformations": [],
- "type": "stat"
- },
- {
- "datasource": null,
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "red",
- "value": null
- },
- {
- "color": "#EAB839",
- "value": 50
- },
- {
- "color": "green",
- "value": 95
- }
- ]
- },
- "unit": "percent"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4.8,
- "x": 4.8,
- "y": 8
- },
- "id": 38,
- "maxPerRow": 6,
- "options": {
- "colorMode": "background",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "mean"
- ],
- "fields": "",
- "values": false
- }
- },
- "pluginVersion": "7.0.5",
"repeat": null,
"repeatDirection": "h",
- "repeatIteration": 1602017151964,
- "repeatPanelId": 5,
"scopedVars": {
"edge": {
"selected": false,
@@ -1083,252 +474,17 @@
],
"timeFrom": null,
"timeShift": null,
- "title": "Uptime: $edge",
+ "title": "Uptime",
"transformations": [],
"type": "stat"
},
{
- "datasource": null,
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "red",
- "value": null
- },
- {
- "color": "#EAB839",
- "value": 50
- },
- {
- "color": "green",
- "value": 95
- }
- ]
- },
- "unit": "percent"
- },
- "overrides": []
+ "aliasColors": {
+ "Scheduled": "blue",
+ "Scheduled downtime": "blue",
+ "Unscheduled": "red",
+ "Unscheduled downtime": "red"
},
- "gridPos": {
- "h": 4,
- "w": 4.8,
- "x": 9.6,
- "y": 8
- },
- "id": 39,
- "maxPerRow": 6,
- "options": {
- "colorMode": "background",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "mean"
- ],
- "fields": "",
- "values": false
- }
- },
- "pluginVersion": "7.0.5",
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1602017151964,
- "repeatPanelId": 5,
- "scopedVars": {
- "edge": {
- "selected": false,
- "text": "ace-menlo-pixel",
- "value": "ace-menlo-pixel"
- }
- },
- "targets": [
- {
- "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
- "interval": "",
- "legendFormat": "Control Plane",
- "refId": "A"
- },
- {
- "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
- "interval": "",
- "legendFormat": "User Plane",
- "refId": "B"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Uptime: $edge",
- "transformations": [],
- "type": "stat"
- },
- {
- "datasource": null,
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "red",
- "value": null
- },
- {
- "color": "#EAB839",
- "value": 50
- },
- {
- "color": "green",
- "value": 95
- }
- ]
- },
- "unit": "percent"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4.8,
- "x": 14.399999999999999,
- "y": 8
- },
- "id": 40,
- "maxPerRow": 6,
- "options": {
- "colorMode": "background",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "mean"
- ],
- "fields": "",
- "values": false
- }
- },
- "pluginVersion": "7.0.5",
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1602017151964,
- "repeatPanelId": 5,
- "scopedVars": {
- "edge": {
- "selected": false,
- "text": "ace-menlo-rasp-pi",
- "value": "ace-menlo-rasp-pi"
- }
- },
- "targets": [
- {
- "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
- "interval": "",
- "legendFormat": "Control Plane",
- "refId": "A"
- },
- {
- "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
- "interval": "",
- "legendFormat": "User Plane",
- "refId": "B"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Uptime: $edge",
- "transformations": [],
- "type": "stat"
- },
- {
- "datasource": null,
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "red",
- "value": null
- },
- {
- "color": "#EAB839",
- "value": 50
- },
- {
- "color": "green",
- "value": 95
- }
- ]
- },
- "unit": "percent"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4.8,
- "x": 19.2,
- "y": 8
- },
- "id": 41,
- "maxPerRow": 6,
- "options": {
- "colorMode": "background",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "mean"
- ],
- "fields": "",
- "values": false
- }
- },
- "pluginVersion": "7.0.5",
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1602017151964,
- "repeatPanelId": 5,
- "scopedVars": {
- "edge": {
- "selected": false,
- "text": "ace-tucson",
- "value": "ace-tucson"
- }
- },
- "targets": [
- {
- "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
- "interval": "",
- "legendFormat": "Control Plane",
- "refId": "A"
- },
- {
- "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
- "interval": "",
- "legendFormat": "User Plane",
- "refId": "B"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Uptime: $edge",
- "transformations": [],
- "type": "stat"
- },
- {
- "aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
@@ -1353,13 +509,13 @@
},
"overrides": []
},
- "fill": 5,
+ "fill": 10,
"fillGradient": 0,
"gridPos": {
- "h": 5,
- "w": 4.8,
- "x": 0,
- "y": 12
+ "h": 4,
+ "w": 10,
+ "x": 11,
+ "y": 6
},
"hiddenSeries": false,
"id": 23,
@@ -1384,138 +540,8 @@
"pointradius": 2,
"points": false,
"renderer": "flot",
- "repeat": "edge",
- "repeatDirection": "h",
- "scopedVars": {
- "edge": {
- "selected": false,
- "text": "ace-argela",
- "value": "ace-argela"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": true,
- "targets": [
- {
- "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} + aetheredge_status_user_plane{name=\"$edge\"} - 3, 0))",
- "interval": "",
- "legendFormat": "Edge is up",
- "refId": "A"
- },
- {
- "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
- "interval": "",
- "legendFormat": "Scheduled downtime",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Status: ${edge}",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "$$hashKey": "object:453",
- "decimals": 0,
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": "1",
- "min": "0",
- "show": true
- },
- {
- "$$hashKey": "object:454",
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- }
- },
- "overrides": []
- },
- "fill": 5,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 4.8,
- "x": 4.8,
- "y": 12
- },
- "hiddenSeries": false,
- "id": 42,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 0,
- "maxPerRow": 6,
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pluginVersion": "7.0.5",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
"repeat": null,
"repeatDirection": "h",
- "repeatIteration": 1602017151964,
- "repeatPanelId": 23,
"scopedVars": {
"edge": {
"selected": false,
@@ -1529,15 +555,15 @@
"steppedLine": true,
"targets": [
{
- "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} + aetheredge_status_user_plane{name=\"$edge\"} - 3, 0))",
+ "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))",
"interval": "",
- "legendFormat": "Edge is up",
+ "legendFormat": "Unscheduled",
"refId": "A"
},
{
"expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
"interval": "",
- "legendFormat": "Scheduled downtime",
+ "legendFormat": "Scheduled",
"refId": "B"
}
],
@@ -1545,7 +571,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
- "title": "Status: ${edge}",
+ "title": "Downtime",
"tooltip": {
"shared": true,
"sort": 0,
@@ -1561,7 +587,6 @@
},
"yaxes": [
{
- "$$hashKey": "object:453",
"decimals": 0,
"format": "short",
"label": "",
@@ -1571,397 +596,6 @@
"show": true
},
{
- "$$hashKey": "object:454",
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- }
- },
- "overrides": []
- },
- "fill": 5,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 4.8,
- "x": 9.6,
- "y": 12
- },
- "hiddenSeries": false,
- "id": 43,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 0,
- "maxPerRow": 6,
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pluginVersion": "7.0.5",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1602017151964,
- "repeatPanelId": 23,
- "scopedVars": {
- "edge": {
- "selected": false,
- "text": "ace-menlo-pixel",
- "value": "ace-menlo-pixel"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": true,
- "targets": [
- {
- "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} + aetheredge_status_user_plane{name=\"$edge\"} - 3, 0))",
- "interval": "",
- "legendFormat": "Edge is up",
- "refId": "A"
- },
- {
- "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
- "interval": "",
- "legendFormat": "Scheduled downtime",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Status: ${edge}",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "$$hashKey": "object:453",
- "decimals": 0,
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": "1",
- "min": "0",
- "show": true
- },
- {
- "$$hashKey": "object:454",
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- }
- },
- "overrides": []
- },
- "fill": 5,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 4.8,
- "x": 14.399999999999999,
- "y": 12
- },
- "hiddenSeries": false,
- "id": 44,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 0,
- "maxPerRow": 6,
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pluginVersion": "7.0.5",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1602017151964,
- "repeatPanelId": 23,
- "scopedVars": {
- "edge": {
- "selected": false,
- "text": "ace-menlo-rasp-pi",
- "value": "ace-menlo-rasp-pi"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": true,
- "targets": [
- {
- "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} + aetheredge_status_user_plane{name=\"$edge\"} - 3, 0))",
- "interval": "",
- "legendFormat": "Edge is up",
- "refId": "A"
- },
- {
- "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
- "interval": "",
- "legendFormat": "Scheduled downtime",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Status: ${edge}",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "$$hashKey": "object:453",
- "decimals": 0,
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": "1",
- "min": "0",
- "show": true
- },
- {
- "$$hashKey": "object:454",
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- }
- },
- "overrides": []
- },
- "fill": 5,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 4.8,
- "x": 19.2,
- "y": 12
- },
- "hiddenSeries": false,
- "id": 45,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 0,
- "maxPerRow": 6,
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pluginVersion": "7.0.5",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1602017151964,
- "repeatPanelId": 23,
- "scopedVars": {
- "edge": {
- "selected": false,
- "text": "ace-tucson",
- "value": "ace-tucson"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": true,
- "targets": [
- {
- "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} + aetheredge_status_user_plane{name=\"$edge\"} - 3, 0))",
- "interval": "",
- "legendFormat": "Edge is up",
- "refId": "A"
- },
- {
- "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
- "interval": "",
- "legendFormat": "Scheduled downtime",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Status: ${edge}",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "$$hashKey": "object:453",
- "decimals": 0,
- "format": "short",
- "label": "",
- "logBase": 1,
- "max": "1",
- "min": "0",
- "show": true
- },
- {
- "$$hashKey": "object:454",
"format": "short",
"label": null,
"logBase": 1,
@@ -1999,10 +633,10 @@
"overrides": []
},
"gridPos": {
- "h": 5,
- "w": 4.8,
- "x": 0,
- "y": 17
+ "h": 4,
+ "w": 3,
+ "x": 21,
+ "y": 6
},
"id": 13,
"maxPerRow": 6,
@@ -2019,76 +653,8 @@
"showThresholdMarkers": true
},
"pluginVersion": "7.0.5",
- "repeat": "edge",
- "repeatDirection": "h",
- "scopedVars": {
- "edge": {
- "selected": false,
- "text": "ace-argela",
- "value": "ace-argela"
- }
- },
- "targets": [
- {
- "expr": "sum(time() - aetheredge_last_update{name=\"$edge\"})",
- "interval": "",
- "legendFormat": "{{name}}",
- "refId": "A"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Seconds since last update",
- "type": "gauge"
- },
- {
- "datasource": "RANCHER_MONITORING_GLOBAL",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [],
- "max": 1000,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 750
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 5,
- "w": 4.8,
- "x": 4.8,
- "y": 17
- },
- "id": 46,
- "maxPerRow": 6,
- "options": {
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "last"
- ],
- "fields": "",
- "values": false
- },
- "showThresholdLabels": false,
- "showThresholdMarkers": true
- },
- "pluginVersion": "7.0.5",
"repeat": null,
"repeatDirection": "h",
- "repeatIteration": 1602017151964,
- "repeatPanelId": 13,
"scopedVars": {
"edge": {
"selected": false,
@@ -2110,6 +676,387 @@
"type": "gauge"
},
{
+ "collapsed": false,
+ "datasource": null,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 10
+ },
+ "id": 70,
+ "panels": [],
+ "repeat": null,
+ "repeatIteration": 1603317820454,
+ "repeatPanelId": 35,
+ "scopedVars": {
+ "edge": {
+ "selected": false,
+ "text": "ace-menlo-pixel",
+ "value": "ace-menlo-pixel"
+ }
+ },
+ "title": "Edge: $edge",
+ "type": "row"
+ },
+ {
+ "datasource": null,
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "custom": {},
+ "mappings": [
+ {
+ "from": "",
+ "id": 1,
+ "operator": "",
+ "text": "error",
+ "to": "",
+ "type": 1,
+ "value": "-1"
+ },
+ {
+ "from": "",
+ "id": 2,
+ "operator": "",
+ "text": "disconnected",
+ "to": "",
+ "type": 1,
+ "value": "0"
+ },
+ {
+ "from": "",
+ "id": 3,
+ "operator": "",
+ "text": "connecting",
+ "to": "",
+ "type": 1,
+ "value": "1"
+ },
+ {
+ "from": "",
+ "id": 4,
+ "operator": "",
+ "text": "connected",
+ "to": "",
+ "type": 1,
+ "value": "2"
+ },
+ {
+ "from": "",
+ "id": 5,
+ "operator": "",
+ "text": "no result",
+ "to": "",
+ "type": 1,
+ "value": "-2"
+ },
+ {
+ "from": "-100",
+ "id": 6,
+ "operator": "",
+ "text": "scheduled downtime",
+ "to": "-3",
+ "type": 2
+ }
+ ],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "red",
+ "value": null
+ },
+ {
+ "color": "#6ED0E0",
+ "value": -100
+ },
+ {
+ "color": "red",
+ "value": -2
+ },
+ {
+ "color": "#EAB839",
+ "value": 1
+ },
+ {
+ "color": "green",
+ "value": 2
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 4,
+ "w": 6,
+ "x": 0,
+ "y": 11
+ },
+ "id": 71,
+ "maxPerRow": 6,
+ "options": {
+ "colorMode": "background",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "last"
+ ],
+ "fields": "",
+ "values": false
+ }
+ },
+ "pluginVersion": "7.0.5",
+ "repeat": null,
+ "repeatDirection": "h",
+ "repeatIteration": 1603317820454,
+ "repeatPanelId": 4,
+ "repeatedByRow": true,
+ "scopedVars": {
+ "edge": {
+ "selected": false,
+ "text": "ace-menlo-pixel",
+ "value": "ace-menlo-pixel"
+ }
+ },
+ "targets": [
+ {
+ "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
+ "interval": "",
+ "legendFormat": "Control Plane",
+ "refId": "A"
+ },
+ {
+ "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
+ "interval": "",
+ "legendFormat": "User Plane",
+ "refId": "B"
+ }
+ ],
+ "timeFrom": null,
+ "timeShift": null,
+ "title": "Current",
+ "type": "stat"
+ },
+ {
+ "datasource": null,
+ "fieldConfig": {
+ "defaults": {
+ "custom": {},
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "red",
+ "value": null
+ },
+ {
+ "color": "#EAB839",
+ "value": 50
+ },
+ {
+ "color": "green",
+ "value": 95
+ }
+ ]
+ },
+ "unit": "percent"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 4,
+ "w": 5,
+ "x": 6,
+ "y": 11
+ },
+ "id": 72,
+ "maxPerRow": 6,
+ "options": {
+ "colorMode": "background",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "mean"
+ ],
+ "fields": "",
+ "values": false
+ }
+ },
+ "pluginVersion": "7.0.5",
+ "repeat": null,
+ "repeatDirection": "h",
+ "repeatIteration": 1603317820454,
+ "repeatPanelId": 5,
+ "repeatedByRow": true,
+ "scopedVars": {
+ "edge": {
+ "selected": false,
+ "text": "ace-menlo-pixel",
+ "value": "ace-menlo-pixel"
+ }
+ },
+ "targets": [
+ {
+ "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
+ "interval": "",
+ "legendFormat": "Control Plane",
+ "refId": "A"
+ },
+ {
+ "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
+ "interval": "",
+ "legendFormat": "User Plane",
+ "refId": "B"
+ }
+ ],
+ "timeFrom": null,
+ "timeShift": null,
+ "title": "Uptime",
+ "transformations": [],
+ "type": "stat"
+ },
+ {
+ "aliasColors": {
+ "Scheduled": "blue",
+ "Scheduled downtime": "blue",
+ "Unscheduled": "red",
+ "Unscheduled downtime": "red"
+ },
+ "bars": false,
+ "dashLength": 10,
+ "dashes": false,
+ "datasource": null,
+ "fieldConfig": {
+ "defaults": {
+ "custom": {},
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "fill": 10,
+ "fillGradient": 0,
+ "gridPos": {
+ "h": 4,
+ "w": 10,
+ "x": 11,
+ "y": 11
+ },
+ "hiddenSeries": false,
+ "id": 73,
+ "legend": {
+ "avg": false,
+ "current": false,
+ "max": false,
+ "min": false,
+ "show": true,
+ "total": false,
+ "values": false
+ },
+ "lines": true,
+ "linewidth": 0,
+ "maxPerRow": 6,
+ "nullPointMode": "null",
+ "options": {
+ "dataLinks": []
+ },
+ "percentage": false,
+ "pluginVersion": "7.0.5",
+ "pointradius": 2,
+ "points": false,
+ "renderer": "flot",
+ "repeat": null,
+ "repeatDirection": "h",
+ "repeatIteration": 1603317820454,
+ "repeatPanelId": 23,
+ "repeatedByRow": true,
+ "scopedVars": {
+ "edge": {
+ "selected": false,
+ "text": "ace-menlo-pixel",
+ "value": "ace-menlo-pixel"
+ }
+ },
+ "seriesOverrides": [],
+ "spaceLength": 10,
+ "stack": false,
+ "steppedLine": true,
+ "targets": [
+ {
+ "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))",
+ "interval": "",
+ "legendFormat": "Unscheduled",
+ "refId": "A"
+ },
+ {
+ "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
+ "interval": "",
+ "legendFormat": "Scheduled",
+ "refId": "B"
+ }
+ ],
+ "thresholds": [],
+ "timeFrom": null,
+ "timeRegions": [],
+ "timeShift": null,
+ "title": "Downtime",
+ "tooltip": {
+ "shared": true,
+ "sort": 0,
+ "value_type": "individual"
+ },
+ "type": "graph",
+ "xaxis": {
+ "buckets": null,
+ "mode": "time",
+ "name": null,
+ "show": true,
+ "values": []
+ },
+ "yaxes": [
+ {
+ "decimals": 0,
+ "format": "short",
+ "label": "",
+ "logBase": 1,
+ "max": "1",
+ "min": "0",
+ "show": true
+ },
+ {
+ "format": "short",
+ "label": null,
+ "logBase": 1,
+ "max": null,
+ "min": null,
+ "show": true
+ }
+ ],
+ "yaxis": {
+ "align": false,
+ "alignLevel": null
+ }
+ },
+ {
"datasource": "RANCHER_MONITORING_GLOBAL",
"fieldConfig": {
"defaults": {
@@ -2133,12 +1080,12 @@
"overrides": []
},
"gridPos": {
- "h": 5,
- "w": 4.8,
- "x": 9.6,
- "y": 17
+ "h": 4,
+ "w": 3,
+ "x": 21,
+ "y": 11
},
- "id": 47,
+ "id": 74,
"maxPerRow": 6,
"options": {
"orientation": "auto",
@@ -2155,8 +1102,9 @@
"pluginVersion": "7.0.5",
"repeat": null,
"repeatDirection": "h",
- "repeatIteration": 1602017151964,
+ "repeatIteration": 1603317820454,
"repeatPanelId": 13,
+ "repeatedByRow": true,
"scopedVars": {
"edge": {
"selected": false,
@@ -2178,6 +1126,387 @@
"type": "gauge"
},
{
+ "collapsed": false,
+ "datasource": null,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 15
+ },
+ "id": 75,
+ "panels": [],
+ "repeat": null,
+ "repeatIteration": 1603317820454,
+ "repeatPanelId": 35,
+ "scopedVars": {
+ "edge": {
+ "selected": false,
+ "text": "ace-menlo-rasp-pi",
+ "value": "ace-menlo-rasp-pi"
+ }
+ },
+ "title": "Edge: $edge",
+ "type": "row"
+ },
+ {
+ "datasource": null,
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "custom": {},
+ "mappings": [
+ {
+ "from": "",
+ "id": 1,
+ "operator": "",
+ "text": "error",
+ "to": "",
+ "type": 1,
+ "value": "-1"
+ },
+ {
+ "from": "",
+ "id": 2,
+ "operator": "",
+ "text": "disconnected",
+ "to": "",
+ "type": 1,
+ "value": "0"
+ },
+ {
+ "from": "",
+ "id": 3,
+ "operator": "",
+ "text": "connecting",
+ "to": "",
+ "type": 1,
+ "value": "1"
+ },
+ {
+ "from": "",
+ "id": 4,
+ "operator": "",
+ "text": "connected",
+ "to": "",
+ "type": 1,
+ "value": "2"
+ },
+ {
+ "from": "",
+ "id": 5,
+ "operator": "",
+ "text": "no result",
+ "to": "",
+ "type": 1,
+ "value": "-2"
+ },
+ {
+ "from": "-100",
+ "id": 6,
+ "operator": "",
+ "text": "scheduled downtime",
+ "to": "-3",
+ "type": 2
+ }
+ ],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "red",
+ "value": null
+ },
+ {
+ "color": "#6ED0E0",
+ "value": -100
+ },
+ {
+ "color": "red",
+ "value": -2
+ },
+ {
+ "color": "#EAB839",
+ "value": 1
+ },
+ {
+ "color": "green",
+ "value": 2
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 4,
+ "w": 6,
+ "x": 0,
+ "y": 16
+ },
+ "id": 76,
+ "maxPerRow": 6,
+ "options": {
+ "colorMode": "background",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "last"
+ ],
+ "fields": "",
+ "values": false
+ }
+ },
+ "pluginVersion": "7.0.5",
+ "repeat": null,
+ "repeatDirection": "h",
+ "repeatIteration": 1603317820454,
+ "repeatPanelId": 4,
+ "repeatedByRow": true,
+ "scopedVars": {
+ "edge": {
+ "selected": false,
+ "text": "ace-menlo-rasp-pi",
+ "value": "ace-menlo-rasp-pi"
+ }
+ },
+ "targets": [
+ {
+ "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
+ "interval": "",
+ "legendFormat": "Control Plane",
+ "refId": "A"
+ },
+ {
+ "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
+ "interval": "",
+ "legendFormat": "User Plane",
+ "refId": "B"
+ }
+ ],
+ "timeFrom": null,
+ "timeShift": null,
+ "title": "Current",
+ "type": "stat"
+ },
+ {
+ "datasource": null,
+ "fieldConfig": {
+ "defaults": {
+ "custom": {},
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "red",
+ "value": null
+ },
+ {
+ "color": "#EAB839",
+ "value": 50
+ },
+ {
+ "color": "green",
+ "value": 95
+ }
+ ]
+ },
+ "unit": "percent"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 4,
+ "w": 5,
+ "x": 6,
+ "y": 16
+ },
+ "id": 77,
+ "maxPerRow": 6,
+ "options": {
+ "colorMode": "background",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "mean"
+ ],
+ "fields": "",
+ "values": false
+ }
+ },
+ "pluginVersion": "7.0.5",
+ "repeat": null,
+ "repeatDirection": "h",
+ "repeatIteration": 1603317820454,
+ "repeatPanelId": 5,
+ "repeatedByRow": true,
+ "scopedVars": {
+ "edge": {
+ "selected": false,
+ "text": "ace-menlo-rasp-pi",
+ "value": "ace-menlo-rasp-pi"
+ }
+ },
+ "targets": [
+ {
+ "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
+ "interval": "",
+ "legendFormat": "Control Plane",
+ "refId": "A"
+ },
+ {
+ "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
+ "interval": "",
+ "legendFormat": "User Plane",
+ "refId": "B"
+ }
+ ],
+ "timeFrom": null,
+ "timeShift": null,
+ "title": "Uptime",
+ "transformations": [],
+ "type": "stat"
+ },
+ {
+ "aliasColors": {
+ "Scheduled": "blue",
+ "Scheduled downtime": "blue",
+ "Unscheduled": "red",
+ "Unscheduled downtime": "red"
+ },
+ "bars": false,
+ "dashLength": 10,
+ "dashes": false,
+ "datasource": null,
+ "fieldConfig": {
+ "defaults": {
+ "custom": {},
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "fill": 10,
+ "fillGradient": 0,
+ "gridPos": {
+ "h": 4,
+ "w": 10,
+ "x": 11,
+ "y": 16
+ },
+ "hiddenSeries": false,
+ "id": 78,
+ "legend": {
+ "avg": false,
+ "current": false,
+ "max": false,
+ "min": false,
+ "show": true,
+ "total": false,
+ "values": false
+ },
+ "lines": true,
+ "linewidth": 0,
+ "maxPerRow": 6,
+ "nullPointMode": "null",
+ "options": {
+ "dataLinks": []
+ },
+ "percentage": false,
+ "pluginVersion": "7.0.5",
+ "pointradius": 2,
+ "points": false,
+ "renderer": "flot",
+ "repeat": null,
+ "repeatDirection": "h",
+ "repeatIteration": 1603317820454,
+ "repeatPanelId": 23,
+ "repeatedByRow": true,
+ "scopedVars": {
+ "edge": {
+ "selected": false,
+ "text": "ace-menlo-rasp-pi",
+ "value": "ace-menlo-rasp-pi"
+ }
+ },
+ "seriesOverrides": [],
+ "spaceLength": 10,
+ "stack": false,
+ "steppedLine": true,
+ "targets": [
+ {
+ "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))",
+ "interval": "",
+ "legendFormat": "Unscheduled",
+ "refId": "A"
+ },
+ {
+ "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
+ "interval": "",
+ "legendFormat": "Scheduled",
+ "refId": "B"
+ }
+ ],
+ "thresholds": [],
+ "timeFrom": null,
+ "timeRegions": [],
+ "timeShift": null,
+ "title": "Downtime",
+ "tooltip": {
+ "shared": true,
+ "sort": 0,
+ "value_type": "individual"
+ },
+ "type": "graph",
+ "xaxis": {
+ "buckets": null,
+ "mode": "time",
+ "name": null,
+ "show": true,
+ "values": []
+ },
+ "yaxes": [
+ {
+ "decimals": 0,
+ "format": "short",
+ "label": "",
+ "logBase": 1,
+ "max": "1",
+ "min": "0",
+ "show": true
+ },
+ {
+ "format": "short",
+ "label": null,
+ "logBase": 1,
+ "max": null,
+ "min": null,
+ "show": true
+ }
+ ],
+ "yaxis": {
+ "align": false,
+ "alignLevel": null
+ }
+ },
+ {
"datasource": "RANCHER_MONITORING_GLOBAL",
"fieldConfig": {
"defaults": {
@@ -2201,12 +1530,12 @@
"overrides": []
},
"gridPos": {
- "h": 5,
- "w": 4.8,
- "x": 14.399999999999999,
- "y": 17
+ "h": 4,
+ "w": 3,
+ "x": 21,
+ "y": 16
},
- "id": 48,
+ "id": 79,
"maxPerRow": 6,
"options": {
"orientation": "auto",
@@ -2223,8 +1552,9 @@
"pluginVersion": "7.0.5",
"repeat": null,
"repeatDirection": "h",
- "repeatIteration": 1602017151964,
+ "repeatIteration": 1603317820454,
"repeatPanelId": 13,
+ "repeatedByRow": true,
"scopedVars": {
"edge": {
"selected": false,
@@ -2246,6 +1576,387 @@
"type": "gauge"
},
{
+ "collapsed": false,
+ "datasource": null,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 20
+ },
+ "id": 80,
+ "panels": [],
+ "repeat": null,
+ "repeatIteration": 1603317820454,
+ "repeatPanelId": 35,
+ "scopedVars": {
+ "edge": {
+ "selected": false,
+ "text": "ace-tucson",
+ "value": "ace-tucson"
+ }
+ },
+ "title": "Edge: $edge",
+ "type": "row"
+ },
+ {
+ "datasource": null,
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "custom": {},
+ "mappings": [
+ {
+ "from": "",
+ "id": 1,
+ "operator": "",
+ "text": "error",
+ "to": "",
+ "type": 1,
+ "value": "-1"
+ },
+ {
+ "from": "",
+ "id": 2,
+ "operator": "",
+ "text": "disconnected",
+ "to": "",
+ "type": 1,
+ "value": "0"
+ },
+ {
+ "from": "",
+ "id": 3,
+ "operator": "",
+ "text": "connecting",
+ "to": "",
+ "type": 1,
+ "value": "1"
+ },
+ {
+ "from": "",
+ "id": 4,
+ "operator": "",
+ "text": "connected",
+ "to": "",
+ "type": 1,
+ "value": "2"
+ },
+ {
+ "from": "",
+ "id": 5,
+ "operator": "",
+ "text": "no result",
+ "to": "",
+ "type": 1,
+ "value": "-2"
+ },
+ {
+ "from": "-100",
+ "id": 6,
+ "operator": "",
+ "text": "scheduled downtime",
+ "to": "-3",
+ "type": 2
+ }
+ ],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "red",
+ "value": null
+ },
+ {
+ "color": "#6ED0E0",
+ "value": -100
+ },
+ {
+ "color": "red",
+ "value": -2
+ },
+ {
+ "color": "#EAB839",
+ "value": 1
+ },
+ {
+ "color": "green",
+ "value": 2
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 4,
+ "w": 6,
+ "x": 0,
+ "y": 21
+ },
+ "id": 81,
+ "maxPerRow": 6,
+ "options": {
+ "colorMode": "background",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "last"
+ ],
+ "fields": "",
+ "values": false
+ }
+ },
+ "pluginVersion": "7.0.5",
+ "repeat": null,
+ "repeatDirection": "h",
+ "repeatIteration": 1603317820454,
+ "repeatPanelId": 4,
+ "repeatedByRow": true,
+ "scopedVars": {
+ "edge": {
+ "selected": false,
+ "text": "ace-tucson",
+ "value": "ace-tucson"
+ }
+ },
+ "targets": [
+ {
+ "expr": "sum(aetheredge_status_control_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
+ "interval": "",
+ "legendFormat": "Control Plane",
+ "refId": "A"
+ },
+ {
+ "expr": "sum(aetheredge_status_user_plane{name=\"$edge\"} - (10*aetheredge_in_maintenance_window{name=\"$edge\"}))",
+ "interval": "",
+ "legendFormat": "User Plane",
+ "refId": "B"
+ }
+ ],
+ "timeFrom": null,
+ "timeShift": null,
+ "title": "Current",
+ "type": "stat"
+ },
+ {
+ "datasource": null,
+ "fieldConfig": {
+ "defaults": {
+ "custom": {},
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "red",
+ "value": null
+ },
+ {
+ "color": "#EAB839",
+ "value": 50
+ },
+ {
+ "color": "green",
+ "value": 95
+ }
+ ]
+ },
+ "unit": "percent"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 4,
+ "w": 5,
+ "x": 6,
+ "y": 21
+ },
+ "id": 82,
+ "maxPerRow": 6,
+ "options": {
+ "colorMode": "background",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "mean"
+ ],
+ "fields": "",
+ "values": false
+ }
+ },
+ "pluginVersion": "7.0.5",
+ "repeat": null,
+ "repeatDirection": "h",
+ "repeatIteration": 1603317820454,
+ "repeatPanelId": 5,
+ "repeatedByRow": true,
+ "scopedVars": {
+ "edge": {
+ "selected": false,
+ "text": "ace-tucson",
+ "value": "ace-tucson"
+ }
+ },
+ "targets": [
+ {
+ "expr": "sum(clamp_min(aetheredge_status_control_plane{name=\"$edge\"} - 1, 0) * 100)",
+ "interval": "",
+ "legendFormat": "Control Plane",
+ "refId": "A"
+ },
+ {
+ "expr": "sum(clamp_min(aetheredge_status_user_plane{name=\"$edge\"} - 1, 0) * 100)",
+ "interval": "",
+ "legendFormat": "User Plane",
+ "refId": "B"
+ }
+ ],
+ "timeFrom": null,
+ "timeShift": null,
+ "title": "Uptime",
+ "transformations": [],
+ "type": "stat"
+ },
+ {
+ "aliasColors": {
+ "Scheduled": "blue",
+ "Scheduled downtime": "blue",
+ "Unscheduled": "red",
+ "Unscheduled downtime": "red"
+ },
+ "bars": false,
+ "dashLength": 10,
+ "dashes": false,
+ "datasource": null,
+ "fieldConfig": {
+ "defaults": {
+ "custom": {},
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "fill": 10,
+ "fillGradient": 0,
+ "gridPos": {
+ "h": 4,
+ "w": 10,
+ "x": 11,
+ "y": 21
+ },
+ "hiddenSeries": false,
+ "id": 83,
+ "legend": {
+ "avg": false,
+ "current": false,
+ "max": false,
+ "min": false,
+ "show": true,
+ "total": false,
+ "values": false
+ },
+ "lines": true,
+ "linewidth": 0,
+ "maxPerRow": 6,
+ "nullPointMode": "null",
+ "options": {
+ "dataLinks": []
+ },
+ "percentage": false,
+ "pluginVersion": "7.0.5",
+ "pointradius": 2,
+ "points": false,
+ "renderer": "flot",
+ "repeat": null,
+ "repeatDirection": "h",
+ "repeatIteration": 1603317820454,
+ "repeatPanelId": 23,
+ "repeatedByRow": true,
+ "scopedVars": {
+ "edge": {
+ "selected": false,
+ "text": "ace-tucson",
+ "value": "ace-tucson"
+ }
+ },
+ "seriesOverrides": [],
+ "spaceLength": 10,
+ "stack": false,
+ "steppedLine": true,
+ "targets": [
+ {
+ "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))",
+ "interval": "",
+ "legendFormat": "Unscheduled",
+ "refId": "A"
+ },
+ {
+ "expr": "sum(aetheredge_in_maintenance_window{name=\"$edge\"})",
+ "interval": "",
+ "legendFormat": "Scheduled",
+ "refId": "B"
+ }
+ ],
+ "thresholds": [],
+ "timeFrom": null,
+ "timeRegions": [],
+ "timeShift": null,
+ "title": "Downtime",
+ "tooltip": {
+ "shared": true,
+ "sort": 0,
+ "value_type": "individual"
+ },
+ "type": "graph",
+ "xaxis": {
+ "buckets": null,
+ "mode": "time",
+ "name": null,
+ "show": true,
+ "values": []
+ },
+ "yaxes": [
+ {
+ "decimals": 0,
+ "format": "short",
+ "label": "",
+ "logBase": 1,
+ "max": "1",
+ "min": "0",
+ "show": true
+ },
+ {
+ "format": "short",
+ "label": null,
+ "logBase": 1,
+ "max": null,
+ "min": null,
+ "show": true
+ }
+ ],
+ "yaxis": {
+ "align": false,
+ "alignLevel": null
+ }
+ },
+ {
"datasource": "RANCHER_MONITORING_GLOBAL",
"fieldConfig": {
"defaults": {
@@ -2269,12 +1980,12 @@
"overrides": []
},
"gridPos": {
- "h": 5,
- "w": 4.8,
- "x": 19.2,
- "y": 17
+ "h": 4,
+ "w": 3,
+ "x": 21,
+ "y": 21
},
- "id": 49,
+ "id": 84,
"maxPerRow": 6,
"options": {
"orientation": "auto",
@@ -2291,8 +2002,9 @@
"pluginVersion": "7.0.5",
"repeat": null,
"repeatDirection": "h",
- "repeatIteration": 1602017151964,
+ "repeatIteration": 1603317820454,
"repeatPanelId": 13,
+ "repeatedByRow": true,
"scopedVars": {
"edge": {
"selected": false,
@@ -2314,103 +2026,116 @@
"type": "gauge"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "RANCHER_MONITORING_GLOBAL",
- "fieldConfig": {
- "defaults": {
- "custom": {}
- },
- "overrides": []
- },
- "fill": 1,
- "fillGradient": 0,
+ "collapsed": true,
+ "datasource": null,
"gridPos": {
- "h": 5,
+ "h": 1,
"w": 24,
"x": 0,
- "y": 22
+ "y": 25
},
- "hiddenSeries": false,
- "id": 21,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "maxPerRow": 3,
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "h",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
+ "id": 69,
+ "panels": [
{
- "expr": "sum(time() - aetheredge_last_update{name!~\"production.*|.*dongle|ace-argela\"}) by (name)",
- "interval": "",
- "legendFormat": "{{name}}",
- "refId": "A"
+ "aliasColors": {},
+ "bars": false,
+ "dashLength": 10,
+ "dashes": false,
+ "datasource": "RANCHER_MONITORING_GLOBAL",
+ "fieldConfig": {
+ "defaults": {
+ "custom": {}
+ },
+ "overrides": []
+ },
+ "fill": 1,
+ "fillGradient": 0,
+ "gridPos": {
+ "h": 5,
+ "w": 24,
+ "x": 0,
+ "y": 1
+ },
+ "hiddenSeries": false,
+ "id": 21,
+ "legend": {
+ "avg": false,
+ "current": false,
+ "max": false,
+ "min": false,
+ "show": true,
+ "total": false,
+ "values": false
+ },
+ "lines": true,
+ "linewidth": 1,
+ "maxPerRow": 3,
+ "nullPointMode": "null",
+ "options": {
+ "dataLinks": []
+ },
+ "percentage": false,
+ "pointradius": 2,
+ "points": false,
+ "renderer": "flot",
+ "repeat": null,
+ "repeatDirection": "h",
+ "seriesOverrides": [],
+ "spaceLength": 10,
+ "stack": false,
+ "steppedLine": false,
+ "targets": [
+ {
+ "expr": "sum(time() - aetheredge_last_update{name!~\"production.*|.*dongle|ace-argela\"}) by (name)",
+ "interval": "",
+ "legendFormat": "{{name}}",
+ "refId": "A"
+ }
+ ],
+ "thresholds": [],
+ "timeFrom": null,
+ "timeRegions": [],
+ "timeShift": null,
+ "title": "Seconds since last update",
+ "tooltip": {
+ "shared": true,
+ "sort": 0,
+ "value_type": "individual"
+ },
+ "type": "graph",
+ "xaxis": {
+ "buckets": null,
+ "mode": "time",
+ "name": null,
+ "show": true,
+ "values": []
+ },
+ "yaxes": [
+ {
+ "format": "short",
+ "label": null,
+ "logBase": 1,
+ "max": null,
+ "min": null,
+ "show": true
+ },
+ {
+ "format": "short",
+ "label": null,
+ "logBase": 1,
+ "max": null,
+ "min": null,
+ "show": true
+ }
+ ],
+ "yaxis": {
+ "align": false,
+ "alignLevel": null
+ }
}
],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Seconds since last update",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "$$hashKey": "object:457",
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "$$hashKey": "object:458",
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
+ "title": "Test status",
+ "type": "row"
}
],
"refresh": "30s",
@@ -2423,6 +2148,7 @@
"allValue": null,
"current": {
"selected": true,
+ "tags": [],
"text": "All",
"value": [
"$__all"
@@ -2450,7 +2176,7 @@
]
},
"time": {
- "from": "now-30m",
+ "from": "now-24h",
"to": "now"
},
"timepicker": {
@@ -2468,6 +2194,6 @@
},
"timezone": "",
"title": "Aether Connected Edge",
- "uid": "AIKTPZVMk",
+ "uid": "Y2z8vDtGz",
"version": 1
}
\ No newline at end of file