| { |
| "annotations": { |
| "list": [ |
| { |
| "builtIn": 1, |
| "datasource": "-- Grafana --", |
| "enable": true, |
| "hide": true, |
| "iconColor": "rgba(0, 211, 255, 1)", |
| "name": "Annotations & Alerts", |
| "type": "dashboard" |
| } |
| ] |
| }, |
| "editable": true, |
| "gnetId": null, |
| "graphTooltip": 0, |
| "iteration": 1616774867835, |
| "links": [], |
| "panels": [ |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 0 |
| }, |
| "id": 300, |
| "panels": [ |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "mappings": [ |
| { |
| "from": "", |
| "id": 1, |
| "operator": "", |
| "text": "X", |
| "to": "", |
| "type": 1, |
| "value": "-1" |
| }, |
| { |
| "from": "", |
| "id": 2, |
| "operator": "", |
| "text": "fail", |
| "to": "", |
| "type": 1, |
| "value": "0" |
| }, |
| { |
| "from": "", |
| "id": 3, |
| "operator": "", |
| "text": "ok", |
| "to": "", |
| "type": 1, |
| "value": "1" |
| }, |
| { |
| "from": "-100", |
| "id": 4, |
| "text": "maint", |
| "to": "-6", |
| "type": 2 |
| } |
| ], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#6ED0E0", |
| "value": -100 |
| }, |
| { |
| "color": "red", |
| "value": 0 |
| }, |
| { |
| "color": "green", |
| "value": 1 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 0, |
| "y": 1 |
| }, |
| "id": 259, |
| "links": [], |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "last" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-cornell1-prd", |
| "value": "ace-cornell1-prd" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_connect_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Connect:", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_ping_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Ping:", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Test results", |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 50 |
| }, |
| { |
| "color": "green", |
| "value": 95 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 3, |
| "y": 1 |
| }, |
| "id": 260, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-cornell1-prd", |
| "value": "ace-cornell1-prd" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "avg(avg_over_time(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}[$__interval]) * 100)", |
| "interval": "", |
| "legendFormat": "", |
| "refId": "C" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Uptime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 1 |
| }, |
| { |
| "color": "red", |
| "value": 10 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 6, |
| "y": 1 |
| }, |
| "id": 262, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-cornell1-prd", |
| "value": "ace-cornell1-prd" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"})) * 100", |
| "interval": "", |
| "legendFormat": "Unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * 100", |
| "interval": "", |
| "legendFormat": "Scheduled", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Downtime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "aliasColors": { |
| "Down, unsched": "red", |
| "Down: unscheduled": "red", |
| "Scheduled": "blue", |
| "Scheduled downtime": "blue", |
| "Test down": "yellow", |
| "Unscheduled": "red", |
| "Unscheduled downtime": "red" |
| }, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "Uptime and downtime over time", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 10, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 3, |
| "w": 15, |
| "x": 9, |
| "y": 1 |
| }, |
| "hiddenSeries": false, |
| "id": 235, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 0, |
| "maxPerRow": 6, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "7.1.5", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "repeatDirection": "h", |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-cornell1-prd", |
| "value": "ace-cornell1-prd" |
| } |
| }, |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": true, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"} * (1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Up", |
| "refId": "D" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Down: unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "-1 * sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Down: scheduled", |
| "refId": "B" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Test down", |
| "refId": "C" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:93", |
| "decimals": 0, |
| "format": "short", |
| "label": "", |
| "logBase": 1, |
| "max": "1", |
| "min": "-1", |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:94", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| } |
| ], |
| "repeat": "edge", |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-cornell1-prd", |
| "value": "ace-cornell1-prd" |
| } |
| }, |
| "title": "$edge", |
| "type": "row" |
| }, |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 1 |
| }, |
| "id": 301, |
| "panels": [ |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "mappings": [ |
| { |
| "from": "", |
| "id": 1, |
| "operator": "", |
| "text": "X", |
| "to": "", |
| "type": 1, |
| "value": "-1" |
| }, |
| { |
| "from": "", |
| "id": 2, |
| "operator": "", |
| "text": "fail", |
| "to": "", |
| "type": 1, |
| "value": "0" |
| }, |
| { |
| "from": "", |
| "id": 3, |
| "operator": "", |
| "text": "ok", |
| "to": "", |
| "type": 1, |
| "value": "1" |
| }, |
| { |
| "from": "-100", |
| "id": 4, |
| "text": "maint", |
| "to": "-6", |
| "type": 2 |
| } |
| ], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#6ED0E0", |
| "value": -100 |
| }, |
| { |
| "color": "red", |
| "value": 0 |
| }, |
| { |
| "color": "green", |
| "value": 1 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 0, |
| "y": 1 |
| }, |
| "id": 302, |
| "links": [], |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "last" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 259, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-intel", |
| "value": "ace-intel" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_connect_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Connect:", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_ping_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Ping:", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Test results", |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 50 |
| }, |
| { |
| "color": "green", |
| "value": 95 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 3, |
| "y": 1 |
| }, |
| "id": 303, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 260, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-intel", |
| "value": "ace-intel" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "avg(avg_over_time(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}[$__interval]) * 100)", |
| "interval": "", |
| "legendFormat": "", |
| "refId": "C" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Uptime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 1 |
| }, |
| { |
| "color": "red", |
| "value": 10 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 6, |
| "y": 1 |
| }, |
| "id": 304, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 262, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-intel", |
| "value": "ace-intel" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"})) * 100", |
| "interval": "", |
| "legendFormat": "Unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * 100", |
| "interval": "", |
| "legendFormat": "Scheduled", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Downtime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "aliasColors": { |
| "Down, unsched": "red", |
| "Down: unscheduled": "red", |
| "Scheduled": "blue", |
| "Scheduled downtime": "blue", |
| "Test down": "yellow", |
| "Unscheduled": "red", |
| "Unscheduled downtime": "red" |
| }, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "Uptime and downtime over time", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 10, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 3, |
| "w": 15, |
| "x": 9, |
| "y": 1 |
| }, |
| "hiddenSeries": false, |
| "id": 305, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 0, |
| "maxPerRow": 6, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "7.1.5", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 235, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-intel", |
| "value": "ace-intel" |
| } |
| }, |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": true, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"} * (1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Up", |
| "refId": "D" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Down: unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "-1 * sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Down: scheduled", |
| "refId": "B" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Test down", |
| "refId": "C" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:93", |
| "decimals": 0, |
| "format": "short", |
| "label": "", |
| "logBase": 1, |
| "max": "1", |
| "min": "-1", |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:94", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| } |
| ], |
| "repeat": null, |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 300, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-intel", |
| "value": "ace-intel" |
| } |
| }, |
| "title": "$edge", |
| "type": "row" |
| }, |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 2 |
| }, |
| "id": 306, |
| "panels": [ |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "mappings": [ |
| { |
| "from": "", |
| "id": 1, |
| "operator": "", |
| "text": "X", |
| "to": "", |
| "type": 1, |
| "value": "-1" |
| }, |
| { |
| "from": "", |
| "id": 2, |
| "operator": "", |
| "text": "fail", |
| "to": "", |
| "type": 1, |
| "value": "0" |
| }, |
| { |
| "from": "", |
| "id": 3, |
| "operator": "", |
| "text": "ok", |
| "to": "", |
| "type": 1, |
| "value": "1" |
| }, |
| { |
| "from": "-100", |
| "id": 4, |
| "text": "maint", |
| "to": "-6", |
| "type": 2 |
| } |
| ], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#6ED0E0", |
| "value": -100 |
| }, |
| { |
| "color": "red", |
| "value": 0 |
| }, |
| { |
| "color": "green", |
| "value": 1 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 0, |
| "y": 1 |
| }, |
| "id": 307, |
| "links": [], |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "last" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 259, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-menlo-rasp-pi", |
| "value": "ace-menlo-rasp-pi" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_connect_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Connect:", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_ping_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Ping:", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Test results", |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 50 |
| }, |
| { |
| "color": "green", |
| "value": 95 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 3, |
| "y": 1 |
| }, |
| "id": 308, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 260, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-menlo-rasp-pi", |
| "value": "ace-menlo-rasp-pi" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "avg(avg_over_time(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}[$__interval]) * 100)", |
| "interval": "", |
| "legendFormat": "", |
| "refId": "C" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Uptime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 1 |
| }, |
| { |
| "color": "red", |
| "value": 10 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 6, |
| "y": 1 |
| }, |
| "id": 309, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 262, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-menlo-rasp-pi", |
| "value": "ace-menlo-rasp-pi" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"})) * 100", |
| "interval": "", |
| "legendFormat": "Unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * 100", |
| "interval": "", |
| "legendFormat": "Scheduled", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Downtime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "aliasColors": { |
| "Down, unsched": "red", |
| "Down: unscheduled": "red", |
| "Scheduled": "blue", |
| "Scheduled downtime": "blue", |
| "Test down": "yellow", |
| "Unscheduled": "red", |
| "Unscheduled downtime": "red" |
| }, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "Uptime and downtime over time", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 10, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 3, |
| "w": 15, |
| "x": 9, |
| "y": 1 |
| }, |
| "hiddenSeries": false, |
| "id": 310, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 0, |
| "maxPerRow": 6, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "7.1.5", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 235, |
| "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(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"} * (1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Up", |
| "refId": "D" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Down: unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "-1 * sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Down: scheduled", |
| "refId": "B" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Test down", |
| "refId": "C" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:93", |
| "decimals": 0, |
| "format": "short", |
| "label": "", |
| "logBase": 1, |
| "max": "1", |
| "min": "-1", |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:94", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| } |
| ], |
| "repeat": null, |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 300, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-menlo-rasp-pi", |
| "value": "ace-menlo-rasp-pi" |
| } |
| }, |
| "title": "$edge", |
| "type": "row" |
| }, |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 3 |
| }, |
| "id": 311, |
| "panels": [ |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "mappings": [ |
| { |
| "from": "", |
| "id": 1, |
| "operator": "", |
| "text": "X", |
| "to": "", |
| "type": 1, |
| "value": "-1" |
| }, |
| { |
| "from": "", |
| "id": 2, |
| "operator": "", |
| "text": "fail", |
| "to": "", |
| "type": 1, |
| "value": "0" |
| }, |
| { |
| "from": "", |
| "id": 3, |
| "operator": "", |
| "text": "ok", |
| "to": "", |
| "type": 1, |
| "value": "1" |
| }, |
| { |
| "from": "-100", |
| "id": 4, |
| "text": "maint", |
| "to": "-6", |
| "type": 2 |
| } |
| ], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#6ED0E0", |
| "value": -100 |
| }, |
| { |
| "color": "red", |
| "value": 0 |
| }, |
| { |
| "color": "green", |
| "value": 1 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 0, |
| "y": 1 |
| }, |
| "id": 312, |
| "links": [], |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "last" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 259, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-nctu", |
| "value": "ace-nctu" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_connect_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Connect:", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_ping_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Ping:", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Test results", |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 50 |
| }, |
| { |
| "color": "green", |
| "value": 95 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 3, |
| "y": 1 |
| }, |
| "id": 313, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 260, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-nctu", |
| "value": "ace-nctu" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "avg(avg_over_time(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}[$__interval]) * 100)", |
| "interval": "", |
| "legendFormat": "", |
| "refId": "C" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Uptime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 1 |
| }, |
| { |
| "color": "red", |
| "value": 10 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 6, |
| "y": 1 |
| }, |
| "id": 314, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 262, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-nctu", |
| "value": "ace-nctu" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"})) * 100", |
| "interval": "", |
| "legendFormat": "Unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * 100", |
| "interval": "", |
| "legendFormat": "Scheduled", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Downtime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "aliasColors": { |
| "Down, unsched": "red", |
| "Down: unscheduled": "red", |
| "Scheduled": "blue", |
| "Scheduled downtime": "blue", |
| "Test down": "yellow", |
| "Unscheduled": "red", |
| "Unscheduled downtime": "red" |
| }, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "Uptime and downtime over time", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 10, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 3, |
| "w": 15, |
| "x": 9, |
| "y": 1 |
| }, |
| "hiddenSeries": false, |
| "id": 315, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 0, |
| "maxPerRow": 6, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "7.1.5", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 235, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-nctu", |
| "value": "ace-nctu" |
| } |
| }, |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": true, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"} * (1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Up", |
| "refId": "D" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Down: unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "-1 * sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Down: scheduled", |
| "refId": "B" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Test down", |
| "refId": "C" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:93", |
| "decimals": 0, |
| "format": "short", |
| "label": "", |
| "logBase": 1, |
| "max": "1", |
| "min": "-1", |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:94", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| } |
| ], |
| "repeat": null, |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 300, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-nctu", |
| "value": "ace-nctu" |
| } |
| }, |
| "title": "$edge", |
| "type": "row" |
| }, |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 4 |
| }, |
| "id": 316, |
| "panels": [ |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "mappings": [ |
| { |
| "from": "", |
| "id": 1, |
| "operator": "", |
| "text": "X", |
| "to": "", |
| "type": 1, |
| "value": "-1" |
| }, |
| { |
| "from": "", |
| "id": 2, |
| "operator": "", |
| "text": "fail", |
| "to": "", |
| "type": 1, |
| "value": "0" |
| }, |
| { |
| "from": "", |
| "id": 3, |
| "operator": "", |
| "text": "ok", |
| "to": "", |
| "type": 1, |
| "value": "1" |
| }, |
| { |
| "from": "-100", |
| "id": 4, |
| "text": "maint", |
| "to": "-6", |
| "type": 2 |
| } |
| ], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#6ED0E0", |
| "value": -100 |
| }, |
| { |
| "color": "red", |
| "value": 0 |
| }, |
| { |
| "color": "green", |
| "value": 1 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 0, |
| "y": 1 |
| }, |
| "id": 317, |
| "links": [], |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "last" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 259, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-princeton1-dev", |
| "value": "ace-princeton1-dev" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_connect_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Connect:", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_ping_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Ping:", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Test results", |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 50 |
| }, |
| { |
| "color": "green", |
| "value": 95 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 3, |
| "y": 1 |
| }, |
| "id": 318, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 260, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-princeton1-dev", |
| "value": "ace-princeton1-dev" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "avg(avg_over_time(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}[$__interval]) * 100)", |
| "interval": "", |
| "legendFormat": "", |
| "refId": "C" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Uptime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 1 |
| }, |
| { |
| "color": "red", |
| "value": 10 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 6, |
| "y": 1 |
| }, |
| "id": 319, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 262, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-princeton1-dev", |
| "value": "ace-princeton1-dev" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"})) * 100", |
| "interval": "", |
| "legendFormat": "Unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * 100", |
| "interval": "", |
| "legendFormat": "Scheduled", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Downtime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "aliasColors": { |
| "Down, unsched": "red", |
| "Down: unscheduled": "red", |
| "Scheduled": "blue", |
| "Scheduled downtime": "blue", |
| "Test down": "yellow", |
| "Unscheduled": "red", |
| "Unscheduled downtime": "red" |
| }, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "Uptime and downtime over time", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 10, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 3, |
| "w": 15, |
| "x": 9, |
| "y": 1 |
| }, |
| "hiddenSeries": false, |
| "id": 320, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 0, |
| "maxPerRow": 6, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "7.1.5", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 235, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-princeton1-dev", |
| "value": "ace-princeton1-dev" |
| } |
| }, |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": true, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"} * (1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Up", |
| "refId": "D" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Down: unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "-1 * sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Down: scheduled", |
| "refId": "B" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Test down", |
| "refId": "C" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:93", |
| "decimals": 0, |
| "format": "short", |
| "label": "", |
| "logBase": 1, |
| "max": "1", |
| "min": "-1", |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:94", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| } |
| ], |
| "repeat": null, |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 300, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-princeton1-dev", |
| "value": "ace-princeton1-dev" |
| } |
| }, |
| "title": "$edge", |
| "type": "row" |
| }, |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 5 |
| }, |
| "id": 321, |
| "panels": [ |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "mappings": [ |
| { |
| "from": "", |
| "id": 1, |
| "operator": "", |
| "text": "X", |
| "to": "", |
| "type": 1, |
| "value": "-1" |
| }, |
| { |
| "from": "", |
| "id": 2, |
| "operator": "", |
| "text": "fail", |
| "to": "", |
| "type": 1, |
| "value": "0" |
| }, |
| { |
| "from": "", |
| "id": 3, |
| "operator": "", |
| "text": "ok", |
| "to": "", |
| "type": 1, |
| "value": "1" |
| }, |
| { |
| "from": "-100", |
| "id": 4, |
| "text": "maint", |
| "to": "-6", |
| "type": 2 |
| } |
| ], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#6ED0E0", |
| "value": -100 |
| }, |
| { |
| "color": "red", |
| "value": 0 |
| }, |
| { |
| "color": "green", |
| "value": 1 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 0, |
| "y": 1 |
| }, |
| "id": 322, |
| "links": [], |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "last" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 259, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-princeton1-prd", |
| "value": "ace-princeton1-prd" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_connect_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Connect:", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_ping_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Ping:", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Test results", |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 50 |
| }, |
| { |
| "color": "green", |
| "value": 95 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 3, |
| "y": 1 |
| }, |
| "id": 323, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 260, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-princeton1-prd", |
| "value": "ace-princeton1-prd" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "avg(avg_over_time(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}[$__interval]) * 100)", |
| "interval": "", |
| "legendFormat": "", |
| "refId": "C" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Uptime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 1 |
| }, |
| { |
| "color": "red", |
| "value": 10 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 6, |
| "y": 1 |
| }, |
| "id": 324, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 262, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-princeton1-prd", |
| "value": "ace-princeton1-prd" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"})) * 100", |
| "interval": "", |
| "legendFormat": "Unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * 100", |
| "interval": "", |
| "legendFormat": "Scheduled", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Downtime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "aliasColors": { |
| "Down, unsched": "red", |
| "Down: unscheduled": "red", |
| "Scheduled": "blue", |
| "Scheduled downtime": "blue", |
| "Test down": "yellow", |
| "Unscheduled": "red", |
| "Unscheduled downtime": "red" |
| }, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "Uptime and downtime over time", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 10, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 3, |
| "w": 15, |
| "x": 9, |
| "y": 1 |
| }, |
| "hiddenSeries": false, |
| "id": 325, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 0, |
| "maxPerRow": 6, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "7.1.5", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 235, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-princeton1-prd", |
| "value": "ace-princeton1-prd" |
| } |
| }, |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": true, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"} * (1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Up", |
| "refId": "D" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Down: unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "-1 * sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Down: scheduled", |
| "refId": "B" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Test down", |
| "refId": "C" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:93", |
| "decimals": 0, |
| "format": "short", |
| "label": "", |
| "logBase": 1, |
| "max": "1", |
| "min": "-1", |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:94", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| } |
| ], |
| "repeat": null, |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 300, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-princeton1-prd", |
| "value": "ace-princeton1-prd" |
| } |
| }, |
| "title": "$edge", |
| "type": "row" |
| }, |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 6 |
| }, |
| "id": 326, |
| "panels": [ |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "mappings": [ |
| { |
| "from": "", |
| "id": 1, |
| "operator": "", |
| "text": "X", |
| "to": "", |
| "type": 1, |
| "value": "-1" |
| }, |
| { |
| "from": "", |
| "id": 2, |
| "operator": "", |
| "text": "fail", |
| "to": "", |
| "type": 1, |
| "value": "0" |
| }, |
| { |
| "from": "", |
| "id": 3, |
| "operator": "", |
| "text": "ok", |
| "to": "", |
| "type": 1, |
| "value": "1" |
| }, |
| { |
| "from": "-100", |
| "id": 4, |
| "text": "maint", |
| "to": "-6", |
| "type": 2 |
| } |
| ], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#6ED0E0", |
| "value": -100 |
| }, |
| { |
| "color": "red", |
| "value": 0 |
| }, |
| { |
| "color": "green", |
| "value": 1 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 0, |
| "y": 1 |
| }, |
| "id": 327, |
| "links": [], |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "last" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 259, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-stanford1-prd", |
| "value": "ace-stanford1-prd" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_connect_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Connect:", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_ping_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Ping:", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Test results", |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 50 |
| }, |
| { |
| "color": "green", |
| "value": 95 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 3, |
| "y": 1 |
| }, |
| "id": 328, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 260, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-stanford1-prd", |
| "value": "ace-stanford1-prd" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "avg(avg_over_time(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}[$__interval]) * 100)", |
| "interval": "", |
| "legendFormat": "", |
| "refId": "C" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Uptime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 1 |
| }, |
| { |
| "color": "red", |
| "value": 10 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 6, |
| "y": 1 |
| }, |
| "id": 329, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 262, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-stanford1-prd", |
| "value": "ace-stanford1-prd" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"})) * 100", |
| "interval": "", |
| "legendFormat": "Unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * 100", |
| "interval": "", |
| "legendFormat": "Scheduled", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Downtime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "aliasColors": { |
| "Down, unsched": "red", |
| "Down: unscheduled": "red", |
| "Scheduled": "blue", |
| "Scheduled downtime": "blue", |
| "Test down": "yellow", |
| "Unscheduled": "red", |
| "Unscheduled downtime": "red" |
| }, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "Uptime and downtime over time", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 10, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 3, |
| "w": 15, |
| "x": 9, |
| "y": 1 |
| }, |
| "hiddenSeries": false, |
| "id": 330, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 0, |
| "maxPerRow": 6, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "7.1.5", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 235, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-stanford1-prd", |
| "value": "ace-stanford1-prd" |
| } |
| }, |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": true, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"} * (1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Up", |
| "refId": "D" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Down: unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "-1 * sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Down: scheduled", |
| "refId": "B" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Test down", |
| "refId": "C" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:93", |
| "decimals": 0, |
| "format": "short", |
| "label": "", |
| "logBase": 1, |
| "max": "1", |
| "min": "-1", |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:94", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| } |
| ], |
| "repeat": null, |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 300, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-stanford1-prd", |
| "value": "ace-stanford1-prd" |
| } |
| }, |
| "title": "$edge", |
| "type": "row" |
| }, |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 7 |
| }, |
| "id": 331, |
| "panels": [ |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "mappings": [ |
| { |
| "from": "", |
| "id": 1, |
| "operator": "", |
| "text": "X", |
| "to": "", |
| "type": 1, |
| "value": "-1" |
| }, |
| { |
| "from": "", |
| "id": 2, |
| "operator": "", |
| "text": "fail", |
| "to": "", |
| "type": 1, |
| "value": "0" |
| }, |
| { |
| "from": "", |
| "id": 3, |
| "operator": "", |
| "text": "ok", |
| "to": "", |
| "type": 1, |
| "value": "1" |
| }, |
| { |
| "from": "-100", |
| "id": 4, |
| "text": "maint", |
| "to": "-6", |
| "type": 2 |
| } |
| ], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#6ED0E0", |
| "value": -100 |
| }, |
| { |
| "color": "red", |
| "value": 0 |
| }, |
| { |
| "color": "green", |
| "value": 1 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 0, |
| "y": 1 |
| }, |
| "id": 332, |
| "links": [], |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "last" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 259, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-stanford2-prd", |
| "value": "ace-stanford2-prd" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_connect_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Connect:", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_ping_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Ping:", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Test results", |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 50 |
| }, |
| { |
| "color": "green", |
| "value": 95 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 3, |
| "y": 1 |
| }, |
| "id": 333, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 260, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-stanford2-prd", |
| "value": "ace-stanford2-prd" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "avg(avg_over_time(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}[$__interval]) * 100)", |
| "interval": "", |
| "legendFormat": "", |
| "refId": "C" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Uptime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 1 |
| }, |
| { |
| "color": "red", |
| "value": 10 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 6, |
| "y": 1 |
| }, |
| "id": 334, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 262, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-stanford2-prd", |
| "value": "ace-stanford2-prd" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"})) * 100", |
| "interval": "", |
| "legendFormat": "Unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * 100", |
| "interval": "", |
| "legendFormat": "Scheduled", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Downtime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "aliasColors": { |
| "Down, unsched": "red", |
| "Down: unscheduled": "red", |
| "Scheduled": "blue", |
| "Scheduled downtime": "blue", |
| "Test down": "yellow", |
| "Unscheduled": "red", |
| "Unscheduled downtime": "red" |
| }, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "Uptime and downtime over time", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 10, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 3, |
| "w": 15, |
| "x": 9, |
| "y": 1 |
| }, |
| "hiddenSeries": false, |
| "id": 335, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 0, |
| "maxPerRow": 6, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "7.1.5", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 235, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-stanford2-prd", |
| "value": "ace-stanford2-prd" |
| } |
| }, |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": true, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"} * (1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Up", |
| "refId": "D" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Down: unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "-1 * sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Down: scheduled", |
| "refId": "B" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Test down", |
| "refId": "C" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:93", |
| "decimals": 0, |
| "format": "short", |
| "label": "", |
| "logBase": 1, |
| "max": "1", |
| "min": "-1", |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:94", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| } |
| ], |
| "repeat": null, |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 300, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-stanford2-prd", |
| "value": "ace-stanford2-prd" |
| } |
| }, |
| "title": "$edge", |
| "type": "row" |
| }, |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 8 |
| }, |
| "id": 336, |
| "panels": [ |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "mappings": [ |
| { |
| "from": "", |
| "id": 1, |
| "operator": "", |
| "text": "X", |
| "to": "", |
| "type": 1, |
| "value": "-1" |
| }, |
| { |
| "from": "", |
| "id": 2, |
| "operator": "", |
| "text": "fail", |
| "to": "", |
| "type": 1, |
| "value": "0" |
| }, |
| { |
| "from": "", |
| "id": 3, |
| "operator": "", |
| "text": "ok", |
| "to": "", |
| "type": 1, |
| "value": "1" |
| }, |
| { |
| "from": "-100", |
| "id": 4, |
| "text": "maint", |
| "to": "-6", |
| "type": 2 |
| } |
| ], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#6ED0E0", |
| "value": -100 |
| }, |
| { |
| "color": "red", |
| "value": 0 |
| }, |
| { |
| "color": "green", |
| "value": 1 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 0, |
| "y": 1 |
| }, |
| "id": 337, |
| "links": [], |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "last" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 259, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-tucson", |
| "value": "ace-tucson" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_connect_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Connect:", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_ping_test_ok{endpoint=\"metrics80\",name=\"$edge\"} - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"} - (10*aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Ping:", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Test results", |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "red", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 50 |
| }, |
| { |
| "color": "green", |
| "value": 95 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 3, |
| "y": 1 |
| }, |
| "id": 338, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 260, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-tucson", |
| "value": "ace-tucson" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "avg(avg_over_time(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}[$__interval]) * 100)", |
| "interval": "", |
| "legendFormat": "", |
| "refId": "C" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Uptime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "decimals": 3, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "#EAB839", |
| "value": 1 |
| }, |
| { |
| "color": "red", |
| "value": 10 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 3, |
| "w": 3, |
| "x": 6, |
| "y": 1 |
| }, |
| "id": 339, |
| "maxPerRow": 6, |
| "options": { |
| "colorMode": "background", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "7.1.5", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 262, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-tucson", |
| "value": "ace-tucson" |
| } |
| }, |
| "targets": [ |
| { |
| "expr": "sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"})) * 100", |
| "interval": "", |
| "legendFormat": "Unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * 100", |
| "interval": "", |
| "legendFormat": "Scheduled", |
| "refId": "B" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Downtime", |
| "transformations": [], |
| "type": "stat" |
| }, |
| { |
| "aliasColors": { |
| "Down, unsched": "red", |
| "Down: unscheduled": "red", |
| "Scheduled": "blue", |
| "Scheduled downtime": "blue", |
| "Test down": "yellow", |
| "Unscheduled": "red", |
| "Unscheduled downtime": "red" |
| }, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "description": "Uptime and downtime over time", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 10, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 3, |
| "w": 15, |
| "x": 9, |
| "y": 1 |
| }, |
| "hiddenSeries": false, |
| "id": 340, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 0, |
| "maxPerRow": 6, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "7.1.5", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "repeatDirection": "h", |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 235, |
| "repeatedByRow": true, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-tucson", |
| "value": "ace-tucson" |
| } |
| }, |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": true, |
| "targets": [ |
| { |
| "expr": "sum(aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"} * (1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Up", |
| "refId": "D" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"}) * (1 - aetheredge_e2e_tests_ok{endpoint=\"metrics80\",name=\"$edge\"}))", |
| "interval": "", |
| "legendFormat": "Down: unscheduled", |
| "refId": "A" |
| }, |
| { |
| "expr": "-1 * sum(aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Down: scheduled", |
| "refId": "B" |
| }, |
| { |
| "expr": "-1 * sum((1 - aetheredge_in_maintenance_window{endpoint=\"metrics80\",name=\"$edge\"}) * aetheredge_e2e_tests_down{endpoint=\"metrics80\",name=\"$edge\"})", |
| "interval": "", |
| "legendFormat": "Test down", |
| "refId": "C" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:93", |
| "decimals": 0, |
| "format": "short", |
| "label": "", |
| "logBase": 1, |
| "max": "1", |
| "min": "-1", |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:94", |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| } |
| ], |
| "repeat": null, |
| "repeatIteration": 1616774867835, |
| "repeatPanelId": 300, |
| "scopedVars": { |
| "edge": { |
| "selected": false, |
| "text": "ace-tucson", |
| "value": "ace-tucson" |
| } |
| }, |
| "title": "$edge", |
| "type": "row" |
| } |
| ], |
| "refresh": "5m", |
| "schemaVersion": 26, |
| "style": "dark", |
| "tags": [], |
| "templating": { |
| "list": [ |
| { |
| "allValue": null, |
| "current": { |
| "selected": true, |
| "text": [ |
| "All" |
| ], |
| "value": [ |
| "$__all" |
| ] |
| }, |
| "datasource": "RANCHER_MONITORING_GLOBAL", |
| "definition": "label_values(aetheredge_e2e_tests_ok, name)", |
| "hide": 0, |
| "includeAll": true, |
| "label": "Edge", |
| "multi": true, |
| "name": "edge", |
| "options": [], |
| "query": "label_values(aetheredge_e2e_tests_ok, name)", |
| "refresh": 2, |
| "regex": "", |
| "skipUrlSync": false, |
| "sort": 0, |
| "tagValuesQuery": "", |
| "tags": [], |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| } |
| ] |
| }, |
| "time": { |
| "from": "now-24h", |
| "to": "now" |
| }, |
| "timepicker": { |
| "refresh_intervals": [ |
| "10s", |
| "30s", |
| "1m", |
| "5m", |
| "15m", |
| "30m", |
| "1h", |
| "2h", |
| "1d" |
| ] |
| }, |
| "timezone": "", |
| "title": "Edge E2E Tests", |
| "uid": "XOeEp-QGk", |
| "version": 7 |
| } |