diff --git a/dashboards/apsct.json b/dashboards/apsct.json index ce59ad9753f0fc35dc595d79d42d724d3c047869..65e753ba1b67a7ee35fb22643547949704462bf6 100644 --- a/dashboards/apsct.json +++ b/dashboards/apsct.json @@ -24,7 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 57, + "id": 87, "links": [ { "asDropdown": true, @@ -44,32 +44,226 @@ "liveNow": true, "panels": [ { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "State of the software controller.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "ALARM": { + "color": "orange", + "index": 5, + "text": "ALARM" + }, + "FAULT": { + "color": "red", + "index": 4, + "text": "FAULT" + }, + "INIT": { + "color": "blue", + "index": 2, + "text": "INIT" + }, + "OFF": { + "color": "red", + "index": 1, + "text": "OFF" + }, + "ON": { + "color": "green", + "index": 0, + "text": "ON" + }, + "STANDBY": { + "color": "blue", + "index": 3, + "text": "STANDBY" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unitScale": true + }, + "overrides": [] + }, "gridPos": { - "h": 5, + "h": 6, "w": 4, "x": 0, "y": 0 }, - "id": 48, - "libraryPanel": { - "name": "LCU Device", - "uid": "panel-lcu_device" + "id": 52, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^value$/", + "values": false + }, + "showPercentChange": false, + "textMode": "value", + "wideLayout": true }, - "title": "LCU Device" + "pluginVersion": "10.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "exemplar": false, + "expr": "ds_state{host=\"$station\",family=\"$family\",member=\"$member\"} > 0", + "format": "time_series", + "instant": true, + "interval": "", + "legendFormat": "__auto", + "range": false, + "refId": "A" + } + ], + "title": "LCU Device", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "ds_state" + ], + "mode": "rows", + "valueLabel": "ds_state" + } + } + ], + "type": "stat" }, { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "The amount of time required to read all archiving points.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s", + "unitScale": true + }, + "overrides": [] + }, "gridPos": { - "h": 5, + "h": 6, "w": 10, "x": 4, "y": 0 }, - "id": 50, - "libraryPanel": { - "name": "Archiving speed", - "uid": "panel-archiving_speed" + "id": 54, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "title": "Archiving speed" + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(ds_duration_poll_attributes_bucket{family=\"$family\"}[$__rate_interval])) by (le,member))", + "hide": false, + "instant": false, + "legendFormat": "polling {{member}}", + "range": true, + "refId": "B" + } + ], + "title": "Archiving speed", + "transformations": [], + "type": "timeseries" }, { "datasource": { @@ -199,7 +393,7 @@ "h": 3, "w": 14, "x": 0, - "y": 5 + "y": 6 }, "id": 5, "options": { @@ -372,7 +566,7 @@ "h": 17, "w": 14, "x": 0, - "y": 8 + "y": 9 }, "id": 46, "options": { @@ -1184,7 +1378,7 @@ "h": 1, "w": 24, "x": 0, - "y": 25 + "y": 26 }, "id": 19, "panels": [], @@ -1253,7 +1447,7 @@ "h": 9, "w": 6, "x": 0, - "y": 26 + "y": 27 }, "id": 30, "options": { @@ -1362,7 +1556,7 @@ "h": 9, "w": 6, "x": 6, - "y": 26 + "y": 27 }, "id": 21, "options": { @@ -1485,7 +1679,7 @@ "h": 9, "w": 6, "x": 12, - "y": 26 + "y": 27 }, "id": 29, "options": { @@ -1580,7 +1774,7 @@ "h": 9, "w": 6, "x": 18, - "y": 26 + "y": 27 }, "id": 22, "options": { @@ -1717,6 +1911,6 @@ "timezone": "", "title": "APSCT", "uid": "apsct", - "version": 13, + "version": 1, "weekStart": "" -} +} \ No newline at end of file diff --git a/dashboards/apspu.json b/dashboards/apspu.json index 6c8d6825a892497f822a2575216c54c9f57bf75f..4a256d12dcf56f37d56bed1d62787b3411e11cb1 100644 --- a/dashboards/apspu.json +++ b/dashboards/apspu.json @@ -24,7 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 59, + "id": 78, "links": [ { "asDropdown": true, @@ -44,32 +44,226 @@ "liveNow": true, "panels": [ { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "State of the software controller.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "ALARM": { + "color": "orange", + "index": 5, + "text": "ALARM" + }, + "FAULT": { + "color": "red", + "index": 4, + "text": "FAULT" + }, + "INIT": { + "color": "blue", + "index": 2, + "text": "INIT" + }, + "OFF": { + "color": "red", + "index": 1, + "text": "OFF" + }, + "ON": { + "color": "green", + "index": 0, + "text": "ON" + }, + "STANDBY": { + "color": "blue", + "index": 3, + "text": "STANDBY" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unitScale": true + }, + "overrides": [] + }, "gridPos": { - "h": 6, + "h": 7, "w": 4, "x": 0, "y": 0 }, - "id": 57, - "libraryPanel": { - "name": "LCU Device", - "uid": "panel-lcu_device" + "id": 61, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^value$/", + "values": false + }, + "showPercentChange": false, + "textMode": "value", + "wideLayout": true }, - "title": "LCU Device" + "pluginVersion": "10.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "exemplar": false, + "expr": "ds_state{host=\"$station\",family=\"$family\",member=\"$member\"} > 0", + "format": "time_series", + "instant": true, + "interval": "", + "legendFormat": "__auto", + "range": false, + "refId": "A" + } + ], + "title": "LCU Device", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "ds_state" + ], + "mode": "rows", + "valueLabel": "ds_state" + } + } + ], + "type": "stat" }, { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "The amount of time required to read all archiving points.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s", + "unitScale": true + }, + "overrides": [] + }, "gridPos": { - "h": 6, + "h": 7, "w": 12, "x": 4, "y": 0 }, - "id": 59, - "libraryPanel": { - "name": "Archiving speed", - "uid": "panel-archiving_speed" + "id": 63, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "title": "Archiving speed" + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(ds_duration_poll_attributes_bucket{family=\"$family\"}[$__rate_interval])) by (le,member))", + "hide": false, + "instant": false, + "legendFormat": "polling {{member}}", + "range": true, + "refId": "B" + } + ], + "title": "Archiving speed", + "transformations": [], + "type": "timeseries" }, { "datasource": { @@ -104,7 +298,7 @@ "h": 4, "w": 10, "x": 0, - "y": 6 + "y": 7 }, "id": 5, "options": { @@ -232,7 +426,7 @@ "h": 4, "w": 8, "x": 10, - "y": 6 + "y": 7 }, "id": 43, "options": { @@ -307,7 +501,7 @@ "h": 17, "w": 11, "x": 0, - "y": 10 + "y": 11 }, "id": 55, "options": { @@ -893,7 +1087,7 @@ "h": 1, "w": 24, "x": 0, - "y": 27 + "y": 28 }, "id": 19, "panels": [ @@ -959,7 +1153,7 @@ "h": 9, "w": 6, "x": 0, - "y": 28 + "y": 44 }, "id": 22, "options": { @@ -1054,7 +1248,7 @@ "h": 9, "w": 6, "x": 6, - "y": 28 + "y": 44 }, "id": 44, "options": { @@ -1149,7 +1343,7 @@ "h": 9, "w": 6, "x": 12, - "y": 28 + "y": 44 }, "id": 45, "options": { @@ -1244,7 +1438,7 @@ "h": 9, "w": 6, "x": 0, - "y": 37 + "y": 53 }, "id": 48, "options": { @@ -1339,7 +1533,7 @@ "h": 9, "w": 6, "x": 6, - "y": 37 + "y": 53 }, "id": 49, "options": { @@ -1434,7 +1628,7 @@ "h": 9, "w": 6, "x": 12, - "y": 37 + "y": 53 }, "id": 50, "options": { @@ -1490,7 +1684,7 @@ "h": 1, "w": 24, "x": 0, - "y": 28 + "y": 29 }, "id": 26, "panels": [ @@ -1556,7 +1750,7 @@ "h": 9, "w": 6, "x": 0, - "y": 29 + "y": 45 }, "id": 51, "options": { @@ -1651,7 +1845,7 @@ "h": 9, "w": 6, "x": 6, - "y": 29 + "y": 45 }, "id": 52, "options": { @@ -1746,7 +1940,7 @@ "h": 9, "w": 6, "x": 12, - "y": 29 + "y": 45 }, "id": 53, "options": { @@ -1896,6 +2090,6 @@ "timezone": "", "title": "APSPU", "uid": "apspu", - "version": 11, + "version": 1, "weekStart": "" -} +} \ No newline at end of file diff --git a/dashboards/beamforming.json b/dashboards/beamforming.json index 5f22232ce6a713625bf4d8e33d06730971b8dd46..1d58539b0065ca91ef82dbe1b42e057f3920ee3e 100644 --- a/dashboards/beamforming.json +++ b/dashboards/beamforming.json @@ -24,7 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 69, + "id": 84, "links": [ { "asDropdown": true, @@ -44,32 +44,226 @@ "liveNow": true, "panels": [ { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "State of the software controller.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "ALARM": { + "color": "orange", + "index": 5, + "text": "ALARM" + }, + "FAULT": { + "color": "red", + "index": 4, + "text": "FAULT" + }, + "INIT": { + "color": "blue", + "index": 2, + "text": "INIT" + }, + "OFF": { + "color": "red", + "index": 1, + "text": "OFF" + }, + "ON": { + "color": "green", + "index": 0, + "text": "ON" + }, + "STANDBY": { + "color": "blue", + "index": 3, + "text": "STANDBY" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unitScale": true + }, + "overrides": [] + }, "gridPos": { - "h": 5, + "h": 7, "w": 3, "x": 0, "y": 0 }, - "id": 43, - "libraryPanel": { - "name": "LCU Device", - "uid": "panel-lcu_device" + "id": 47, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^value$/", + "values": false + }, + "showPercentChange": false, + "textMode": "value", + "wideLayout": true }, - "title": "LCU Device" + "pluginVersion": "10.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "exemplar": false, + "expr": "ds_state{host=\"$station\",family=\"$family\",member=\"$member\"} > 0", + "format": "time_series", + "instant": true, + "interval": "", + "legendFormat": "__auto", + "range": false, + "refId": "A" + } + ], + "title": "LCU Device", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "ds_state" + ], + "mode": "rows", + "valueLabel": "ds_state" + } + } + ], + "type": "stat" }, { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "The amount of time required to read all archiving points.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s", + "unitScale": true + }, + "overrides": [] + }, "gridPos": { - "h": 5, - "w": 11, + "h": 7, + "w": 12, "x": 3, "y": 0 }, - "id": 45, - "libraryPanel": { - "name": "Archiving speed", - "uid": "panel-archiving_speed" + "id": 49, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "title": "Archiving speed" + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(ds_duration_poll_attributes_bucket{family=\"$family\"}[$__rate_interval])) by (le,member))", + "hide": false, + "instant": false, + "legendFormat": "polling {{member}}", + "range": true, + "refId": "B" + } + ], + "title": "Archiving speed", + "transformations": [], + "type": "timeseries" }, { "datasource": { @@ -118,7 +312,7 @@ "h": 2, "w": 10, "x": 0, - "y": 5 + "y": 7 }, "id": 25, "options": { @@ -192,7 +386,7 @@ "h": 8, "w": 10, "x": 10, - "y": 5 + "y": 7 }, "id": 41, "maxDataPoints": 1, @@ -318,7 +512,7 @@ "h": 6, "w": 5, "x": 0, - "y": 7 + "y": 9 }, "id": 21, "options": { @@ -458,7 +652,7 @@ "h": 6, "w": 5, "x": 5, - "y": 7 + "y": 9 }, "id": 26, "options": { @@ -666,6 +860,6 @@ "timezone": "", "title": "Beamforming", "uid": "beamforming", - "version": 8, + "version": 1, "weekStart": "" -} +} \ No newline at end of file diff --git a/dashboards/beamlet.json b/dashboards/beamlet.json index aa614cee166fc50dc5b89210d24c980f566b5a54..2cebba5f420a22cbaa86f7d71fc48018d91445d0 100644 --- a/dashboards/beamlet.json +++ b/dashboards/beamlet.json @@ -24,7 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 56, + "id": 73, "links": [ { "asDropdown": true, @@ -44,32 +44,226 @@ "liveNow": true, "panels": [ { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "State of the software controller.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "ALARM": { + "color": "orange", + "index": 5, + "text": "ALARM" + }, + "FAULT": { + "color": "red", + "index": 4, + "text": "FAULT" + }, + "INIT": { + "color": "blue", + "index": 2, + "text": "INIT" + }, + "OFF": { + "color": "red", + "index": 1, + "text": "OFF" + }, + "ON": { + "color": "green", + "index": 0, + "text": "ON" + }, + "STANDBY": { + "color": "blue", + "index": 3, + "text": "STANDBY" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unitScale": true + }, + "overrides": [] + }, "gridPos": { "h": 6, "w": 3, "x": 0, "y": 0 }, - "id": 27, - "libraryPanel": { - "name": "LCU Device", - "uid": "panel-lcu_device" + "id": 29, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^value$/", + "values": false + }, + "showPercentChange": false, + "textMode": "value", + "wideLayout": true }, - "title": "LCU Device" + "pluginVersion": "10.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "exemplar": false, + "expr": "ds_state{host=\"$station\",family=\"$family\",member=\"$member\"} > 0", + "format": "time_series", + "instant": true, + "interval": "", + "legendFormat": "__auto", + "range": false, + "refId": "A" + } + ], + "title": "LCU Device", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "ds_state" + ], + "mode": "rows", + "valueLabel": "ds_state" + } + } + ], + "type": "stat" }, { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "The amount of time required to read all archiving points.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s", + "unitScale": true + }, + "overrides": [] + }, "gridPos": { "h": 6, - "w": 9, + "w": 11, "x": 3, "y": 0 }, - "id": 25, - "libraryPanel": { - "name": "Archiving speed", - "uid": "panel-archiving_speed" + "id": 31, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "title": "Archiving speed" + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(ds_duration_poll_attributes_bucket{family=\"$family\"}[$__rate_interval])) by (le,member))", + "hide": false, + "instant": false, + "legendFormat": "polling {{member}}", + "range": true, + "refId": "B" + } + ], + "title": "Archiving speed", + "transformations": [], + "type": "timeseries" }, { "datasource": { @@ -598,6 +792,6 @@ "timezone": "", "title": "Beamlet", "uid": "beamlet", - "version": 7, + "version": 1, "weekStart": "" -} +} \ No newline at end of file diff --git a/dashboards/bst_sst_xst.json b/dashboards/bst_sst_xst.json index 2440643cff6e67b53866512baa63839c9b3144fe..052c03c4ad825f34dc44d29b190b7aed9adb5a40 100644 --- a/dashboards/bst_sst_xst.json +++ b/dashboards/bst_sst_xst.json @@ -24,7 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 48, + "id": 85, "links": [ { "asDropdown": true, @@ -58,18 +58,125 @@ "type": "row" }, { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "State of the software controller.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "ALARM": { + "color": "orange", + "index": 5, + "text": "ALARM" + }, + "FAULT": { + "color": "red", + "index": 4, + "text": "FAULT" + }, + "INIT": { + "color": "blue", + "index": 2, + "text": "INIT" + }, + "OFF": { + "color": "red", + "index": 1, + "text": "OFF" + }, + "ON": { + "color": "green", + "index": 0, + "text": "ON" + }, + "STANDBY": { + "color": "blue", + "index": 3, + "text": "STANDBY" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unitScale": true + }, + "overrides": [] + }, "gridPos": { - "h": 4, - "w": 3, + "h": 6, + "w": 4, "x": 0, "y": 1 }, - "id": 62, - "libraryPanel": { - "name": "LCU Device", - "uid": "panel-lcu_device" + "id": 64, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^value$/", + "values": false + }, + "showPercentChange": false, + "textMode": "value", + "wideLayout": true }, - "title": "LCU Device" + "pluginVersion": "10.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "exemplar": false, + "expr": "ds_state{host=\"$station\",family=\"$family\",member=\"$member\"} > 0", + "format": "time_series", + "instant": true, + "interval": "", + "legendFormat": "__auto", + "range": false, + "refId": "A" + } + ], + "title": "LCU Device", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "ds_state" + ], + "mode": "rows", + "valueLabel": "ds_state" + } + } + ], + "type": "stat" }, { "datasource": { @@ -955,6 +1062,6 @@ "timezone": "", "title": "BST/SST/XST", "uid": "bst_sst_xst", - "version": 13, + "version": 1, "weekStart": "" -} +} \ No newline at end of file diff --git a/dashboards/home.json b/dashboards/home.json index 98381ad5489e829710ea1c8671bed1b1d0b7dbaf..6ed31ef20f86f6ada721eb586d80b1bd82ff0159 100644 --- a/dashboards/home.json +++ b/dashboards/home.json @@ -24,7 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 51, + "id": 95, "links": [ { "asDropdown": true, @@ -324,22 +324,32 @@ "type": "prometheus", "uid": "prometheus" }, + "description": "Quality of each antenna (OK, SUSPICIOUS, BROKEN, BEYOND_REPAIR)", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, + "fieldMinMax": false, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "rgba(245, 54, 54, 0.9)", + "color": "green", "value": null }, { - "color": "rgba(50, 172, 45, 0.97)", + "color": "blue", "value": 1 + }, + { + "color": "red", + "value": 2 + }, + { + "color": "#000000", + "value": 3 } ] }, @@ -349,7 +359,7 @@ }, "gridPos": { "h": 16, - "w": 13, + "w": 6, "x": 11, "y": 1 }, @@ -394,23 +404,25 @@ } }, "displayProperties": [ + "member", "antenna_name" ], "location": { "geohash": "geohash", "mode": "geohash" }, - "name": "Tiles", + "name": "Antennas & Tiles", "query": "A", - "titleField": "antenna_name", + "titleField": "antenna_quality", "type": "markers" } ], "view": { - "id": "coords", - "lat": 52.915858, - "lon": 6.851331, - "zoom": 13.67 + "id": "auto", + "lat": 52.911208, + "lon": 6.867937, + "shared": true, + "zoom": 18 } }, "pluginVersion": "8.5.1", @@ -422,7 +434,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "# obtain geographical location as a \"geohash\" label\r\nlabel_join(ds_antenna_reference_geohash_info{host=\"$station\"}, \"geohash\", \"\", \"str_value\")\r\n\r\n# obtain antenna name as an \"antenna_name\" label\r\n* on(x, member) group_right(geohash)\r\nlabel_join(ds_antenna_names_info{host=\"$station\"}, \"antenna_name\", \"\", \"str_value\")\r\n\r\n# # obtain the value of the marker\r\n# * on(x, member) group_right(geohash, antenna_name)\r\n# ds_ant_mask{host=\"$station\", access=\"r\"} != bool 0", + "expr": "# obtain geographical location as a \"geohash\" label\r\nlabel_join(ds_antenna_reference_geohash_info{host=\"$station\"}, \"geohash\", \"\", \"str_value\")\r\n\r\n# obtain antenna name as an \"antenna_name\" label\r\n* on(x, member) group_right(geohash)\r\nlabel_join(ds_antenna_names_info{host=\"$station\"}, \"antenna_name\", \"\", \"str_value\")\r\n\r\n# obtain antenna quality\r\n* on(x, member) group_right(geohash, antenna_name)\r\nlabel_join(ds_antenna_quality_str_info{host=\"$station\"}, \"antenna_quality\", \"\", \"str_value\")\r\n\r\n# # obtain the value of the marker\r\n* on(x, member) group_right(geohash, antenna_name, antenna_quality)\r\nds_antenna_quality{host=\"$station\", access=\"r\"}", "format": "table", "instant": true, "legendFormat": "{{idx}}: {{antenna_name}} = {{Value}}", @@ -430,10 +442,236 @@ "refId": "A" } ], - "title": "Antenna Locations", + "title": "Antenna Locations & Quality", "transformations": [], "type": "orchestracities-map-panel" }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Antennas that are observing (green) or not (yellow).", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "fieldMinMax": false, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "semi-dark-yellow", + "value": null + }, + { + "color": "green", + "value": 1 + } + ] + }, + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 16, + "w": 6, + "x": 17, + "y": 1 + }, + "id": 68, + "maxDataPoints": 1, + "options": { + "basemap": { + "config": {}, + "type": "osm-standard" + }, + "controls": { + "mouseWheelZoom": true, + "showAttribution": true, + "showDebug": false, + "showLayercontrol": true, + "showScale": true, + "showZoom": true + }, + "layers": [ + { + "config": { + "cluster": false, + "clusterDistance": 20, + "clusterMinDistance": 0, + "clusterValue": "size", + "color": { + "field": "Value", + "fixed": "dark-green" + }, + "enableGradient": false, + "enableShadow": false, + "fillOpacity": 0.4, + "iconSize": 9, + "pinShape": "marker", + "shape": "circle", + "showLegend": false, + "showPin": false, + "size": { + "fixed": 5, + "max": 15, + "min": 2 + } + }, + "displayProperties": [ + "member", + "antenna_name" + ], + "location": { + "geohash": "geohash", + "mode": "geohash" + }, + "name": "Antennas & Tiles", + "query": "A", + "titleField": "antenna_quality", + "type": "markers" + } + ], + "view": { + "id": "auto", + "lat": 52.911208, + "lon": 6.867937, + "shared": true, + "zoom": 18 + } + }, + "pluginVersion": "8.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "exemplar": false, + "expr": "# obtain geographical location as a \"geohash\" label\r\nlabel_join(ds_antenna_reference_geohash_info{host=\"$station\"}, \"geohash\", \"\", \"str_value\")\r\n\r\n# obtain antenna name as an \"antenna_name\" label\r\n* on(x, member) group_right(geohash)\r\nlabel_join(ds_antenna_names_info{host=\"$station\"}, \"antenna_name\", \"\", \"str_value\")\r\n\r\n# # obtain the value of the marker\r\n* on(x, member) group_right(geohash, antenna_name, antenna_quality)\r\n(\r\n # select antennas that are in an active field and in the usage mask\r\n (label_join(ds_active_antenna_fields_info,\"member\",\"\",\"str_value\") * on(member) group_right ds_antenna_usage_mask{access=\"r\",family=\"DigitalBeam\"}) or\r\n # add antennas in inactive fields\r\n (ds_antenna_usage_mask{access=\"r\",family=\"DigitalBeam\"} * 0)\r\n)\r\n", + "format": "table", + "instant": true, + "legendFormat": "{{idx}}: {{antenna_name}} = {{Value}}", + "range": false, + "refId": "A" + } + ], + "title": "Observing Antennas", + "transformations": [], + "type": "orchestracities-map-panel" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Which state transition the StationManager is currently performing.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "color": "green", + "index": 0, + "text": "DONE" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "orange", + "value": null + } + ] + }, + "unit": "none", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 4, + "x": 0, + "y": 7 + }, + "id": 69, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^str_value$/", + "values": false + }, + "showPercentChange": false, + "textMode": "value", + "wideLayout": true + }, + "pluginVersion": "10.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "exemplar": false, + "expr": "ds_station_state_transitioning * on(station) group_left(str_value) ds_last_requested_transition_info", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "{{state_value}}", + "range": false, + "refId": "A" + } + ], + "title": "Active State Transition", + "transformations": [ + { + "id": "filterByValue", + "options": { + "filters": [ + { + "config": { + "id": "equal", + "options": { + "value": "" + } + }, + "fieldName": "Value" + } + ], + "match": "any", + "type": "exclude" + } + }, + { + "disabled": true, + "id": "labelsToFields", + "options": {} + } + ], + "type": "stat" + }, { "datasource": { "type": "loki", @@ -519,6 +757,6 @@ "timezone": "", "title": "Home", "uid": "home", - "version": 10, + "version": 7, "weekStart": "" } diff --git a/dashboards/recv.json b/dashboards/recv.json index d62c0a0917299a764e4c159f31271fcae1ed31ec..3de6b291345d5e9f829b973ea3bd45808b8f9c52 100644 --- a/dashboards/recv.json +++ b/dashboards/recv.json @@ -24,7 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 65, + "id": 82, "links": [ { "asDropdown": true, @@ -44,32 +44,226 @@ "liveNow": true, "panels": [ { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "State of the software controller.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "ALARM": { + "color": "orange", + "index": 5, + "text": "ALARM" + }, + "FAULT": { + "color": "red", + "index": 4, + "text": "FAULT" + }, + "INIT": { + "color": "blue", + "index": 2, + "text": "INIT" + }, + "OFF": { + "color": "red", + "index": 1, + "text": "OFF" + }, + "ON": { + "color": "green", + "index": 0, + "text": "ON" + }, + "STANDBY": { + "color": "blue", + "index": 3, + "text": "STANDBY" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unitScale": true + }, + "overrides": [] + }, "gridPos": { "h": 6, "w": 3, "x": 0, "y": 0 }, - "id": 31, - "libraryPanel": { - "name": "LCU Device", - "uid": "panel-lcu_device" + "id": 35, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^value$/", + "values": false + }, + "showPercentChange": false, + "textMode": "value", + "wideLayout": true }, - "title": "LCU Device" + "pluginVersion": "10.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "exemplar": false, + "expr": "ds_state{host=\"$station\",family=\"$family\",member=\"$member\"} > 0", + "format": "time_series", + "instant": true, + "interval": "", + "legendFormat": "__auto", + "range": false, + "refId": "A" + } + ], + "title": "LCU Device", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "ds_state" + ], + "mode": "rows", + "valueLabel": "ds_state" + } + } + ], + "type": "stat" }, { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "The amount of time required to read all archiving points.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s", + "unitScale": true + }, + "overrides": [] + }, "gridPos": { "h": 6, - "w": 9, + "w": 12, "x": 3, "y": 0 }, - "id": 33, - "libraryPanel": { - "name": "Archiving speed", - "uid": "panel-archiving_speed" + "id": 37, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "title": "Archiving speed" + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(ds_duration_poll_attributes_bucket{family=\"$family\"}[$__rate_interval])) by (le,member))", + "hide": false, + "instant": false, + "legendFormat": "polling {{member}}", + "range": true, + "refId": "B" + } + ], + "title": "Archiving speed", + "transformations": [], + "type": "timeseries" }, { "collapsed": false, @@ -689,7 +883,8 @@ "mode": "absolute", "steps": [ { - "color": "transparent" + "color": "transparent", + "value": null } ] }, @@ -783,7 +978,8 @@ "mode": "absolute", "steps": [ { - "color": "transparent" + "color": "transparent", + "value": null } ] }, @@ -877,7 +1073,8 @@ "mode": "absolute", "steps": [ { - "color": "transparent" + "color": "transparent", + "value": null } ] }, @@ -971,7 +1168,8 @@ "mode": "absolute", "steps": [ { - "color": "transparent" + "color": "transparent", + "value": null } ] }, @@ -1355,6 +1553,6 @@ "timezone": "", "title": "RECV", "uid": "recv", - "version": 7, + "version": 1, "weekStart": "" -} +} \ No newline at end of file diff --git a/dashboards/sdp.json b/dashboards/sdp.json index 7a412fcf4cca655a81bf117c85c4140aa6447115..8a2699935b5915aa70526ffd5d07880b04f41138 100644 --- a/dashboards/sdp.json +++ b/dashboards/sdp.json @@ -24,7 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 66, + "id": 92, "links": [ { "asDropdown": true, @@ -44,112 +44,208 @@ "liveNow": true, "panels": [ { - "gridPos": { - "h": 6, - "w": 3, - "x": 0, - "y": 0 - }, - "id": 78, - "libraryPanel": { - "name": "LCU Device", - "uid": "panel-lcu_device" - }, - "title": "LCU Device" - }, - { - "gridPos": { - "h": 6, - "w": 9, - "x": 3, - "y": 0 - }, - "id": 80, - "libraryPanel": { - "name": "Archiving speed", - "uid": "panel-archiving_speed" - }, - "title": "Archiving speed" - }, - { - "collapsed": false, "datasource": { "type": "prometheus", "uid": "prometheus" }, + "description": "State of the software controller.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "ALARM": { + "color": "orange", + "index": 5, + "text": "ALARM" + }, + "FAULT": { + "color": "red", + "index": 4, + "text": "FAULT" + }, + "INIT": { + "color": "blue", + "index": 2, + "text": "INIT" + }, + "OFF": { + "color": "red", + "index": 1, + "text": "OFF" + }, + "ON": { + "color": "green", + "index": 0, + "text": "ON" + }, + "STANDBY": { + "color": "blue", + "index": 3, + "text": "STANDBY" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unitScale": true + }, + "overrides": [] + }, "gridPos": { - "h": 1, - "w": 24, + "h": 7, + "w": 3, "x": 0, - "y": 6 + "y": 0 }, - "id": 27, - "panels": [], + "id": 82, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^value$/", + "values": false + }, + "showPercentChange": false, + "textMode": "value", + "wideLayout": true + }, + "pluginVersion": "10.3.3", "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, + "editorMode": "code", + "exemplar": false, + "expr": "ds_state{host=\"$station\",family=\"$family\",member=\"$member\"} > 0", + "format": "time_series", + "instant": true, + "interval": "", + "legendFormat": "__auto", + "range": false, "refId": "A" } ], - "title": "SDP", - "type": "row" + "title": "LCU Device", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "ds_state" + ], + "mode": "rows", + "valueLabel": "ds_state" + } + } + ], + "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, - "description": "Is the FPGA being controlled?", + "description": "The amount of time required to read all archiving points.", "fieldConfig": { "defaults": { "color": { - "mode": "thresholds" + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "transparent", + "color": "green", "value": null }, { - "color": "green", - "value": 1 + "color": "red", + "value": 80 } ] }, + "unit": "s", "unitScale": true }, "overrides": [] }, "gridPos": { - "h": 2, - "w": 8, - "x": 0, - "y": 7 + "h": 7, + "w": 11, + "x": 3, + "y": 0 }, - "id": 2, + "id": 84, "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "showPercentChange": false, - "textMode": "name", - "wideLayout": true + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "pluginVersion": "10.3.3", + "pluginVersion": "8.4.5", "targets": [ { "datasource": { @@ -157,16 +253,17 @@ "uid": "prometheus" }, "editorMode": "code", - "exemplar": true, - "expr": "ds_tr_fpga_mask{access=\"r\",host=\"$station\",family=\"SDPFirmware\",member=\"$antennafield\"}", - "interval": "", - "legendFormat": "{{x}}", + "expr": "histogram_quantile(0.95, sum(rate(ds_duration_poll_attributes_bucket{family=\"$family\"}[$__rate_interval])) by (le,member))", + "hide": false, + "instant": false, + "legendFormat": "polling {{member}}", "range": true, - "refId": "A" + "refId": "B" } ], - "title": "FPGA Mask", - "type": "stat" + "title": "Archiving speed", + "transformations": [], + "type": "timeseries" }, { "datasource": { @@ -248,87 +345,54 @@ "type": "prometheus", "uid": "prometheus" }, - "description": "Offset between the Translator local time and the FPGA PPS.", + "description": "Is the WG turned on, replacing any antenna signal?", "fieldConfig": { "defaults": { "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line" - } + "mode": "thresholds" }, "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", + "color": "transparent", "value": null }, - { - "color": "yellow", - "value": 0.2 - }, { "color": "red", - "value": 0.5 + "value": 1 } ] }, - "unit": "s", "unitScale": true }, "overrides": [] }, "gridPos": { - "h": 6, - "w": 7, - "x": 16, - "y": 7 + "h": 2, + "w": 8, + "x": 8, + "y": 9 }, - "id": 22, + "id": 18, "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + "showPercentChange": false, + "textMode": "name", + "wideLayout": true }, + "pluginVersion": "10.3.3", "targets": [ { "datasource": { @@ -337,22 +401,48 @@ }, "editorMode": "code", "exemplar": true, - "expr": "ds_tr_tod_pps_delta{host=\"$station\",family=\"SDPFirmware\",member=\"$antennafield\"}", - "instant": false, + "expr": "sum by (x) (ds_fpga_wg_enable{host=\"$station\",family=\"SDP\",member=\"$antennafield\"})", "interval": "", - "legendFormat": "{{name}}", + "legendFormat": "{{x}}", + "range": true, "refId": "A" } ], - "title": "Translator Clock Offset", - "type": "timeseries" + "title": "Waveform Generator", + "type": "stat" }, { + "collapsed": false, "datasource": { "type": "prometheus", "uid": "prometheus" }, - "description": "Is the PPS present?", + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 11 + }, + "id": 27, + "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "refId": "A" + } + ], + "title": "SDP", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Is the FPGA being controlled?", "fieldConfig": { "defaults": { "color": { @@ -366,13 +456,9 @@ "color": "transparent", "value": null }, - { - "color": "red", - "value": 10 - }, { "color": "green", - "value": 11 + "value": 1 } ] }, @@ -384,9 +470,9 @@ "h": 2, "w": 8, "x": 0, - "y": 9 + "y": 12 }, - "id": 23, + "id": 2, "options": { "colorMode": "background", "graphMode": "none", @@ -412,14 +498,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "ds_fpga_pps_present{host=\"$station\",family=\"SDPFirmware\", member=\"$antennafield\"}\r\n+ on(x) (10 * ds_tr_fpga_mask{access=\"r\",host=\"$station\",family=\"SDPFirmware\", member=\"$antennafield\"})", + "expr": "ds_tr_fpga_mask{access=\"r\",host=\"$station\",family=\"SDPFirmware\",member=\"$antennafield\"}", "interval": "", "legendFormat": "{{x}}", "range": true, "refId": "A" } ], - "title": "FPGA Clock Lock", + "title": "FPGA Mask", "type": "stat" }, { @@ -427,7 +513,7 @@ "type": "prometheus", "uid": "prometheus" }, - "description": "Is the WG turned on, replacing any antenna signal?", + "description": "Is the FPGA receiving a signal on all of its inputs?", "fieldConfig": { "defaults": { "color": { @@ -441,9 +527,13 @@ "color": "transparent", "value": null }, + { + "color": "green", + "value": 10 + }, { "color": "red", - "value": 1 + "value": 11 } ] }, @@ -455,9 +545,9 @@ "h": 2, "w": 8, "x": 8, - "y": 9 + "y": 12 }, - "id": 18, + "id": 17, "options": { "colorMode": "background", "graphMode": "none", @@ -483,14 +573,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum by (x) (ds_fpga_wg_enable{host=\"$station\",family=\"SDP\",member=\"$antennafield\"})", + "expr": "(sum by (x) (ds_fpga_signal_input_rms{host=\"$station\",family=\"SDP\",member=\"$antennafield\"} == bool 0))\r\n+ on(x) (10 * ds_tr_fpga_mask{access=\"r\",host=\"$station\",family=\"SDPFirmware\",member=\"$antennafield\"})\r\n", + "instant": false, "interval": "", "legendFormat": "{{x}}", - "range": true, "refId": "A" } ], - "title": "Waveform Generator", + "title": "FPGA Input Signal", "type": "stat" }, { @@ -498,32 +588,131 @@ "type": "prometheus", "uid": "prometheus" }, - "description": "", + "description": "Offset between the Translator local time and the FPGA PPS.", "fieldConfig": { "defaults": { "color": { - "mode": "thresholds" + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "line" + } }, - "decimals": 0, "mappings": [], + "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "transparent", + "color": "green", "value": null }, { - "color": "green", - "value": 1 + "color": "yellow", + "value": 0.2 }, { - "color": "#EAB839", - "value": 70 + "color": "red", + "value": 0.5 + } + ] + }, + "unit": "s", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 7, + "x": 16, + "y": 12 + }, + "id": 22, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "exemplar": true, + "expr": "ds_tr_tod_pps_delta{host=\"$station\",family=\"SDPFirmware\",member=\"$antennafield\"}", + "instant": false, + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "Translator Clock Offset", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Is the PPS present?", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null }, { "color": "red", - "value": 80 + "value": 10 + }, + { + "color": "green", + "value": 11 } ] }, @@ -535,9 +724,9 @@ "h": 2, "w": 8, "x": 0, - "y": 11 + "y": 14 }, - "id": 19, + "id": 23, "options": { "colorMode": "background", "graphMode": "none", @@ -551,7 +740,7 @@ "values": false }, "showPercentChange": false, - "textMode": "value", + "textMode": "name", "wideLayout": true }, "pluginVersion": "10.3.3", @@ -563,14 +752,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "ds_fpga_temp{host=\"$station\",family=\"SDPFirmware\",member=\"$antennafield\"}", + "expr": "ds_fpga_pps_present{host=\"$station\",family=\"SDPFirmware\", member=\"$antennafield\"}\r\n+ on(x) (10 * ds_tr_fpga_mask{access=\"r\",host=\"$station\",family=\"SDPFirmware\", member=\"$antennafield\"})", "interval": "", "legendFormat": "{{x}}", "range": true, "refId": "A" } ], - "title": "FPGA Temperatures", + "title": "FPGA Clock Lock", "type": "stat" }, { @@ -578,7 +767,7 @@ "type": "prometheus", "uid": "prometheus" }, - "description": "Is the FPGA receiving a signal on all of its inputs?", + "description": "Is the signal processing enabled?", "fieldConfig": { "defaults": { "color": { @@ -610,9 +799,9 @@ "h": 2, "w": 8, "x": 8, - "y": 11 + "y": 14 }, - "id": 17, + "id": 15, "options": { "colorMode": "background", "graphMode": "none", @@ -638,14 +827,16 @@ }, "editorMode": "code", "exemplar": true, - "expr": "(sum by (x) (ds_fpga_signal_input_rms{host=\"$station\",family=\"SDP\",member=\"$antennafield\"} == bool 0))\r\n+ on(x) (10 * ds_tr_fpga_mask{access=\"r\",host=\"$station\",family=\"SDPFirmware\",member=\"$antennafield\"})\r\n", + "expr": "(1 - ds_fpga_processing_enable{host=\"$station\",family=\"SDP\",member=\"$antennafield\"})\r\n+ on(x) (ds_fpga_boot_image{host=\"$station\",family=\"SDPFirmware\",member=\"$antennafield\"} != bool 1)\r\n+ on(x) (10 * ds_tr_fpga_mask{access=\"r\",host=\"$station\",family=\"SDPFirmware\",member=\"$antennafield\"})", + "hide": false, "instant": false, "interval": "", "legendFormat": "{{x}}", "refId": "A" } ], - "title": "FPGA Input Signal", + "title": "FPGA Processing", + "transformations": [], "type": "stat" }, { @@ -653,12 +844,13 @@ "type": "prometheus", "uid": "prometheus" }, - "description": "Is the signal processing enabled?", + "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, + "decimals": 0, "mappings": [], "thresholds": { "mode": "absolute", @@ -669,11 +861,15 @@ }, { "color": "green", - "value": 10 + "value": 1 + }, + { + "color": "#EAB839", + "value": 70 }, { "color": "red", - "value": 11 + "value": 80 } ] }, @@ -684,10 +880,10 @@ "gridPos": { "h": 2, "w": 8, - "x": 8, - "y": 13 + "x": 0, + "y": 16 }, - "id": 15, + "id": 19, "options": { "colorMode": "background", "graphMode": "none", @@ -701,7 +897,7 @@ "values": false }, "showPercentChange": false, - "textMode": "name", + "textMode": "value", "wideLayout": true }, "pluginVersion": "10.3.3", @@ -713,16 +909,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "(1 - ds_fpga_processing_enable{host=\"$station\",family=\"SDP\",member=\"$antennafield\"})\r\n+ on(x) (ds_fpga_boot_image{host=\"$station\",family=\"SDPFirmware\",member=\"$antennafield\"} != bool 1)\r\n+ on(x) (10 * ds_tr_fpga_mask{access=\"r\",host=\"$station\",family=\"SDPFirmware\",member=\"$antennafield\"})", - "hide": false, - "instant": false, + "expr": "ds_fpga_temp{host=\"$station\",family=\"SDPFirmware\",member=\"$antennafield\"}", "interval": "", "legendFormat": "{{x}}", + "range": true, "refId": "A" } ], - "title": "FPGA Processing", - "transformations": [], + "title": "FPGA Temperatures", "type": "stat" }, { @@ -735,7 +929,7 @@ "h": 1, "w": 24, "x": 0, - "y": 15 + "y": 18 }, "id": 39, "panels": [], @@ -818,7 +1012,7 @@ "h": 16, "w": 4, "x": 0, - "y": 16 + "y": 19 }, "id": 37, "options": { @@ -918,7 +1112,7 @@ "h": 8, "w": 4, "x": 4, - "y": 16 + "y": 19 }, "id": 40, "options": { @@ -1018,7 +1212,7 @@ "h": 8, "w": 4, "x": 8, - "y": 16 + "y": 19 }, "id": 43, "options": { @@ -1118,7 +1312,7 @@ "h": 8, "w": 4, "x": 12, - "y": 16 + "y": 19 }, "id": 42, "options": { @@ -1218,7 +1412,7 @@ "h": 8, "w": 5, "x": 16, - "y": 16 + "y": 19 }, "id": 41, "options": { @@ -1330,7 +1524,7 @@ "h": 8, "w": 4, "x": 4, - "y": 24 + "y": 27 }, "id": 44, "options": { @@ -1428,7 +1622,7 @@ "h": 8, "w": 4, "x": 8, - "y": 24 + "y": 27 }, "id": 47, "options": { @@ -1526,7 +1720,7 @@ "h": 8, "w": 4, "x": 12, - "y": 24 + "y": 27 }, "id": 46, "options": { @@ -1624,7 +1818,7 @@ "h": 8, "w": 5, "x": 16, - "y": 24 + "y": 27 }, "id": 45, "options": { @@ -1737,7 +1931,7 @@ "h": 8, "w": 4, "x": 0, - "y": 32 + "y": 35 }, "id": 48, "options": { @@ -1836,7 +2030,7 @@ "h": 8, "w": 4, "x": 4, - "y": 32 + "y": 35 }, "id": 49, "options": { @@ -1935,7 +2129,7 @@ "h": 8, "w": 4, "x": 8, - "y": 32 + "y": 35 }, "id": 50, "options": { @@ -2034,7 +2228,7 @@ "h": 8, "w": 4, "x": 12, - "y": 32 + "y": 35 }, "id": 51, "options": { @@ -2133,7 +2327,7 @@ "h": 8, "w": 4, "x": 16, - "y": 32 + "y": 35 }, "id": 52, "options": { @@ -2232,7 +2426,7 @@ "h": 8, "w": 4, "x": 20, - "y": 32 + "y": 35 }, "id": 58, "options": { @@ -2331,7 +2525,7 @@ "h": 8, "w": 4, "x": 0, - "y": 40 + "y": 43 }, "id": 53, "options": { @@ -2430,7 +2624,7 @@ "h": 8, "w": 4, "x": 4, - "y": 40 + "y": 43 }, "id": 54, "options": { @@ -2529,7 +2723,7 @@ "h": 8, "w": 4, "x": 8, - "y": 40 + "y": 43 }, "id": 55, "options": { @@ -2628,7 +2822,7 @@ "h": 8, "w": 4, "x": 12, - "y": 40 + "y": 43 }, "id": 56, "options": { @@ -2726,7 +2920,7 @@ "h": 8, "w": 4, "x": 16, - "y": 40 + "y": 43 }, "id": 57, "options": { @@ -2824,7 +3018,7 @@ "h": 8, "w": 4, "x": 20, - "y": 40 + "y": 43 }, "id": 59, "options": { @@ -2868,7 +3062,7 @@ "h": 1, "w": 24, "x": 0, - "y": 48 + "y": 51 }, "id": 61, "panels": [], @@ -2948,7 +3142,7 @@ "h": 8, "w": 11, "x": 0, - "y": 49 + "y": 52 }, "id": 63, "options": { @@ -3060,7 +3254,7 @@ "h": 8, "w": 12, "x": 11, - "y": 49 + "y": 52 }, "id": 64, "options": { @@ -3103,7 +3297,7 @@ "h": 1, "w": 24, "x": 0, - "y": 57 + "y": 60 }, "id": 66, "panels": [], @@ -3171,7 +3365,7 @@ "h": 7, "w": 6, "x": 0, - "y": 58 + "y": 61 }, "id": 70, "non_matching_cells_text": "-", @@ -3311,7 +3505,7 @@ "h": 7, "w": 9, "x": 6, - "y": 58 + "y": 61 }, "id": 69, "non_matching_cells_text": "-", @@ -3451,7 +3645,7 @@ "h": 5, "w": 15, "x": 0, - "y": 65 + "y": 68 }, "id": 67, "non_matching_cells_text": "-", @@ -3533,7 +3727,7 @@ "h": 1, "w": 24, "x": 0, - "y": 70 + "y": 73 }, "id": 73, "panels": [], @@ -3601,7 +3795,7 @@ "h": 17, "w": 2, "x": 0, - "y": 71 + "y": 74 }, "id": 74, "non_matching_cells_text": "-", @@ -3724,7 +3918,7 @@ "h": 17, "w": 8, "x": 2, - "y": 71 + "y": 74 }, "id": 68, "non_matching_cells_text": "-", @@ -3847,7 +4041,7 @@ "h": 17, "w": 8, "x": 10, - "y": 71 + "y": 74 }, "id": 71, "non_matching_cells_text": "-", @@ -4051,6 +4245,6 @@ "timezone": "", "title": "SDP", "uid": "sdp", - "version": 10, + "version": 1, "weekStart": "" -} +} \ No newline at end of file diff --git a/dashboards/unb2.json b/dashboards/unb2.json index 4127b02b10dc822a5e97128472d1b3eec4070cf4..f3344ba50e030c3a200facd17f476ad5ade83630 100644 --- a/dashboards/unb2.json +++ b/dashboards/unb2.json @@ -24,7 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 68, + "id": 93, "links": [ { "asDropdown": true, @@ -45,29 +45,29 @@ "panels": [ { "gridPos": { - "h": 5, + "h": 6, "w": 3, "x": 0, "y": 0 }, - "id": 4, + "id": 9, "libraryPanel": { "name": "LCU Device", - "uid": "panel-lcu_device" + "uid": "de85bac6-7c88-47c9-9572-baf34f876ce6" }, "title": "LCU Device" }, { "gridPos": { - "h": 5, - "w": 9, + "h": 6, + "w": 10, "x": 3, "y": 0 }, - "id": 6, + "id": 11, "libraryPanel": { "name": "Archiving speed", - "uid": "panel-archiving_speed" + "uid": "acdf9c50-534b-4ac9-baed-e1f9b64739e0" }, "title": "Archiving speed" }, @@ -80,7 +80,7 @@ "h": 19, "w": 8, "x": 0, - "y": 5 + "y": 6 }, "id": 2, "links": [], @@ -1231,7 +1231,7 @@ "h": 13, "w": 10, "x": 8, - "y": 5 + "y": 6 }, "id": 7, "options": { @@ -1552,6 +1552,6 @@ "timezone": "", "title": "UNB2", "uid": "unb2", - "version": 6, + "version": 1, "weekStart": "" -} +} \ No newline at end of file