From 111db4d34f282f421e31cc16d36cdfcb6be603cf Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Thu, 14 Oct 2021 11:49:50 +0200 Subject: [PATCH] L2SS-394: Split off sensors into separate dashboard --- docker-compose/grafana/dashboards/home.json | 1172 ++++------------- .../dashboards/version-information.json | 2 +- 2 files changed, 278 insertions(+), 896 deletions(-) diff --git a/docker-compose/grafana/dashboards/home.json b/docker-compose/grafana/dashboards/home.json index 413ccbfdb..6d4641a65 100644 --- a/docker-compose/grafana/dashboards/home.json +++ b/docker-compose/grafana/dashboards/home.json @@ -19,10 +19,12 @@ ] }, "editable": true, + "fiscalYearStartMonth": 0, "gnetId": null, "graphTooltip": 0, - "id": 3, + "id": 6, "links": [], + "liveNow": false, "panels": [ { "collapsed": false, @@ -47,6 +49,8 @@ "mode": "thresholds" }, "mappings": [], + "max": 100, + "min": 0, "thresholds": { "mode": "absolute", "steps": [ @@ -76,6 +80,7 @@ }, "id": 43, "options": { + "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" @@ -87,7 +92,7 @@ "showThresholdMarkers": false, "text": {} }, - "pluginVersion": "8.1.2", + "pluginVersion": "8.2.1", "targets": [ { "exemplar": true, @@ -176,10 +181,13 @@ "fields": "", "values": false }, - "text": {}, + "text": { + "titleSize": 20, + "valueSize": 20 + }, "textMode": "value_and_name" }, - "pluginVersion": "8.1.2", + "pluginVersion": "8.2.1", "targets": [ { "exemplar": true, @@ -191,6 +199,15 @@ } ], "title": "Device States", + "transformations": [ + { + "id": "renameByRegex", + "options": { + "regex": ".*/(.*)/1", + "renamePattern": "$1" + } + } + ], "type": "stat" }, { @@ -247,7 +264,7 @@ }, "gridPos": { "h": 9, - "w": 12, + "w": 10, "x": 10, "y": 1 }, @@ -267,7 +284,7 @@ "alias": "", "bucketAggs": [ { - "field": "extra.tango_device.keyword", + "field": "extra.lofar_id.keyword", "id": "2", "settings": { "min_doc_count": "0", @@ -300,8 +317,71 @@ } ], "title": "Errors", + "transformations": [ + { + "id": "renameByRegex", + "options": { + "regex": "\\(.*/.*/1\\)", + "renamePattern": "" + } + } + ], "type": "timeseries" }, + { + "datasource": null, + "description": "Links to other dashboards", + "gridPos": { + "h": 9, + "w": 4, + "x": 20, + "y": 1 + }, + "id": 47, + "options": { + "folderId": 0, + "maxItems": 10, + "query": "", + "showHeadings": false, + "showRecentlyViewed": false, + "showSearch": true, + "showStarred": false, + "tags": [] + }, + "pluginVersion": "8.2.1", + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": false, + "rawSql": "SELECT\n data_time AS \"time\",\n att_conf_id\nFROM att_scalar_devboolean_rw\nWHERE\n $__timeFilter(data_time)\nORDER BY data_time", + "refId": "A", + "select": [ + [ + { + "params": [ + "att_conf_id" + ], + "type": "column" + } + ] + ], + "table": "att_scalar_devboolean_rw", + "timeColumn": "data_time", + "timeColumnType": "timestamp", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "title": "Dashboards", + "type": "dashlist" + }, { "datasource": "Prometheus", "description": "", @@ -341,7 +421,7 @@ "options": { "showHeader": false }, - "pluginVersion": "8.1.2", + "pluginVersion": "8.2.1", "targets": [ { "exemplar": true, @@ -358,6 +438,10 @@ "id": "labelsToFields", "options": {} }, + { + "id": "merge", + "options": {} + }, { "id": "organize", "options": { @@ -414,95 +498,6 @@ "title": "RECV", "type": "row" }, - { - "datasource": "Prometheus", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "celsius" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 5, - "x": 0, - "y": 11 - }, - "id": 22, - "options": { - "legend": { - "calcs": [], - "displayMode": "hidden", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/recv/1\",name=\"RCU_temperature_R\"} - 273.15", - "format": "time_series", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "{{x}}", - "refId": "A" - } - ], - "title": "RCU temperatures", - "transformations": [], - "type": "timeseries" - }, { "datasource": "Prometheus", "fieldConfig": { @@ -534,7 +529,7 @@ "gridPos": { "h": 8, "w": 6, - "x": 5, + "x": 0, "y": 11 }, "id": 21, @@ -553,7 +548,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.1.2", + "pluginVersion": "8.2.1", "targets": [ { "exemplar": true, @@ -597,7 +592,7 @@ "gridPos": { "h": 8, "w": 6, - "x": 11, + "x": 6, "y": 11 }, "id": 25, @@ -605,718 +600,32 @@ "colorMode": "background", "graphMode": "area", "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "name" - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "(2 - device_attribute{device=\"lts/recv/1\",name=\"RCU_I2C_STATUS_R\"}) * on(x) device_attribute{device=\"lts/recv/1\",name=\"RCU_mask_RW\"}", - "interval": "", - "legendFormat": "{{y}}", - "refId": "A" - } - ], - "title": "RCU I2C status", - "type": "stat" - }, - { - "datasource": "Prometheus", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 3, - "x": 17, - "y": 11 - }, - "id": 24, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "name" - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "1-device_attribute{device=\"lts/apsct/1\",name=\"APSCT_PWR_on_R\"}", - "interval": "", - "legendFormat": "Power", - "refId": "A" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/apsct/1\",name=\"APSCT_I2C_error_R\"}", - "hide": false, - "interval": "", - "legendFormat": "I2C", - "refId": "B" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/apsct/1\",name=\"APSCT_PLL_200MHz_error_R\"}", - "hide": false, - "interval": "", - "legendFormat": "PLL", - "refId": "C" - }, - { - "exemplar": true, - "expr": "1-device_attribute{device=\"lts/apsct/1\",name=\"APSCT_PLL_200MHz_locked_R\"}", - "hide": false, - "interval": "", - "legendFormat": "PLL Lock", - "refId": "D" - } - ], - "title": "Clock", - "type": "stat" - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 19 - }, - "id": 46, - "panels": [], - "title": "Uniboard 2", - "type": "row" - }, - { - "datasource": "Prometheus", - "description": "Temperature sensors of each node on each board", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic", - "seriesBy": "max" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 85 - } - ] - }, - "unit": "celsius" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 5, - "x": 0, - "y": 20 - }, - "id": 48, - "options": { - "legend": { - "calcs": [], - "displayMode": "hidden", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_CORE_TEMP_R\"}", - "interval": "", - "legendFormat": "Core board {{x}} node {{y}}", - "refId": "A" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_ERAM_TEMP_R\"}", - "hide": false, - "interval": "", - "legendFormat": "ERAM board {{x}} node {{y}}", - "refId": "B" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_RXGXB_TEMP_R\"}", - "hide": false, - "interval": "", - "legendFormat": "TrRx board {{x}} node {{y}}", - "refId": "C" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_TXGB_TEMP_R\"}", - "hide": false, - "interval": "", - "legendFormat": "TrHx board {{x}} node {{y}}", - "refId": "D" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_PGM_TEMP_R\"}", - "hide": false, - "interval": "", - "legendFormat": "IO board {{x}} node {{y}}", - "refId": "E" - }, - { - "hide": false, - "refId": "F" - } - ], - "title": "Uniboard2 Node Temperatures", - "type": "timeseries" - }, - { - "datasource": "Prometheus", - "description": "Temperature sensors of the power supply on each board", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic", - "seriesBy": "max" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 85 - } - ] - }, - "unit": "celsius" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 5, - "x": 5, - "y": 20 - }, - "id": 50, - "options": { - "legend": { - "calcs": [], - "displayMode": "hidden", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_QSFP_N01_TEMP_R\"}", - "interval": "", - "legendFormat": "QSFP N01 board {{x}} ", - "refId": "A" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_QSFP_N23_TEMP_R\"}", - "hide": false, - "interval": "", - "legendFormat": "QSFP N23 board {{x}}", - "refId": "B" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_SWITCH_1V2_TEMP_R\"}", - "hide": false, - "interval": "", - "legendFormat": "Switch 1v2 board {{x}}", - "refId": "C" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_SWITCH_PHY_TEMP_R\"}", - "hide": false, - "interval": "", - "legendFormat": "Switch PHY board {{x}}", - "refId": "D" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_CLOCK_TEMP_R\"}", - "hide": false, - "interval": "", - "legendFormat": "Clock PWR board {{x}}", - "refId": "E" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_DC_DC_48V_12V_TEMP_R\"}", - "hide": false, - "interval": "", - "legendFormat": "DC-DC board {{x}}", - "refId": "F" - } - ], - "title": "Uniboard2 Power Supply Temperatures", - "type": "timeseries" - }, - { - "datasource": "Prometheus", - "description": "Voltage sensors of each node on each board", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 2, - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 85 - } - ] - }, - "unit": "volt" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 5, - "x": 10, - "y": 20 - }, - "id": 49, - "options": { - "legend": { - "calcs": [], - "displayMode": "hidden", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_CORE_VOUT_R\"}", - "interval": "", - "legendFormat": "Core board {{x}} node {{y}}", - "refId": "A" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_ERAM_VOUT_R\"}", - "hide": false, - "interval": "", - "legendFormat": "ERAM board {{x}} node {{y}}", - "refId": "B" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_RXGXB_VOUT_R\"}", - "hide": false, - "interval": "", - "legendFormat": "TrRx board {{x}} node {{y}}", - "refId": "C" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_TXGB_VOUT_R\"}", - "hide": false, - "interval": "", - "legendFormat": "TrHx board {{x}} node {{y}}", - "refId": "D" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_FPGA_POL_PGM_VOUT_R\"}", - "hide": false, - "interval": "", - "legendFormat": "IO board {{x}} node {{y}}", - "refId": "E" - } - ], - "title": "Uniboard2 Voltages", - "type": "timeseries" - }, - { - "datasource": "Prometheus", - "description": "Voltage sensors of the power supply on each board", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic", - "seriesBy": "max" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 85 - } - ] - }, - "unit": "volt" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 5, - "x": 15, - "y": 20 - }, - "id": 51, - "options": { - "legend": { - "calcs": [], - "displayMode": "hidden", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_QSFP_N01_VOUT_R\"}", - "interval": "", - "legendFormat": "QSFP N01 board {{x}} ", - "refId": "A" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_QSFP_N23_VOUT_R\"}", - "hide": false, - "interval": "", - "legendFormat": "QSFP N23 board {{x}}", - "refId": "B" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_SWITCH_1V2_VOUT_R\"}", - "hide": false, - "interval": "", - "legendFormat": "Switch 1v2 board {{x}}", - "refId": "C" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_SWITCH_PHY_VOUT_R\"}", - "hide": false, - "interval": "", - "legendFormat": "Switch PHY board {{x}}", - "refId": "D" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_POL_CLOCK_VOUT_R\"}", - "hide": false, - "interval": "", - "legendFormat": "Clock PWR board {{x}}", - "refId": "E" - }, - { - "exemplar": true, - "expr": "device_attribute{device=\"lts/unb2/1\",name=\"UNB2_DC_DC_48V_12V_VOUT_R\"}", - "hide": false, - "interval": "", - "legendFormat": "DC-DC board {{x}}", - "refId": "F" - } - ], - "title": "Uniboard2 Power Supply Voltages", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 28 - }, - "id": 19, - "panels": [], - "title": "SDP", - "type": "row" - }, - { - "datasource": "Prometheus", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": 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": "celsius" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 5, - "x": 0, - "y": 29 - }, - "id": 5, - "options": { - "legend": { - "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "tooltip": { - "mode": "single" - } + "text": {}, + "textMode": "name" }, - "pluginVersion": "8.1.2", + "pluginVersion": "8.2.1", "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/sdp/1\",name=\"FPGA_temp_R\"}", - "format": "time_series", - "hide": false, - "instant": false, + "expr": "(2 - device_attribute{device=\"lts/recv/1\",name=\"RCU_I2C_STATUS_R\"}) * on(x) device_attribute{device=\"lts/recv/1\",name=\"RCU_mask_RW\"}", "interval": "", - "legendFormat": "{{x}}", + "legendFormat": "{{y}}", "refId": "A" } ], - "title": "FPGA temperatures", - "transformations": [], - "type": "timeseries" + "title": "RCU I2C status", + "type": "stat" }, { "datasource": "Prometheus", - "description": "", "fieldConfig": { "defaults": { "color": { @@ -1326,17 +635,13 @@ "thresholds": { "mode": "absolute", "steps": [ - { - "color": "transparent", - "value": null - }, { "color": "green", - "value": 50 + "value": null }, { "color": "red", - "value": 100 + "value": 1 } ] } @@ -1344,15 +649,15 @@ "overrides": [] }, "gridPos": { - "h": 8, - "w": 5, - "x": 5, - "y": 29 + "h": 5, + "w": 3, + "x": 12, + "y": 11 }, - "id": 11, + "id": 24, "options": { "colorMode": "background", - "graphMode": "area", + "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { @@ -1365,23 +670,57 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.1.2", + "pluginVersion": "8.2.1", "targets": [ { "exemplar": true, - "expr": "(50+50*device_attribute{device=\"lts/sdp/1\",name=\"TR_fpga_communication_error_R\"}) * on(x) device_attribute{device=\"lts/sdp/1\",name=\"TR_fpga_mask_R\"}", - "format": "time_series", - "hide": false, - "instant": false, + "expr": "1-device_attribute{device=\"lts/apsct/1\",name=\"APSCT_PWR_on_R\"}", "interval": "", - "legendFormat": "{{x}}", + "legendFormat": "Power", "refId": "A" + }, + { + "exemplar": true, + "expr": "device_attribute{device=\"lts/apsct/1\",name=\"APSCT_I2C_error_R\"}", + "hide": false, + "interval": "", + "legendFormat": "I2C", + "refId": "B" + }, + { + "exemplar": true, + "expr": "device_attribute{device=\"lts/apsct/1\",name=\"APSCT_PLL_200MHz_error_R\"}", + "hide": false, + "interval": "", + "legendFormat": "PLL", + "refId": "C" + }, + { + "exemplar": true, + "expr": "1-device_attribute{device=\"lts/apsct/1\",name=\"APSCT_PLL_200MHz_locked_R\"}", + "hide": false, + "interval": "", + "legendFormat": "PLL Lock", + "refId": "D" } ], - "title": "FPGA communication", - "transformations": [], + "title": "Clock", "type": "stat" }, + { + "collapsed": false, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 19 + }, + "id": 19, + "panels": [], + "title": "SDP", + "type": "row" + }, { "datasource": "Prometheus", "description": "", @@ -1414,10 +753,10 @@ "gridPos": { "h": 8, "w": 5, - "x": 10, - "y": 29 + "x": 0, + "y": 20 }, - "id": 9, + "id": 11, "options": { "colorMode": "background", "graphMode": "area", @@ -1433,11 +772,11 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.1.2", + "pluginVersion": "8.2.1", "targets": [ { "exemplar": true, - "expr": "(100-50*device_attribute{device=\"lts/sdp/1\",name=\"FPGA_processing_enable_R\"}) * on(x) device_attribute{device=\"lts/sdp/1\",name=\"TR_fpga_mask_R\"}", + "expr": "(50+50*device_attribute{device=\"lts/sdp/1\",name=\"TR_fpga_communication_error_R\"}) * on(x) device_attribute{device=\"lts/sdp/1\",name=\"TR_fpga_mask_R\"}", "format": "time_series", "hide": false, "instant": false, @@ -1446,91 +785,66 @@ "refId": "A" } ], - "title": "FPGA processing enabled", + "title": "FPGA communication", "transformations": [], "type": "stat" }, { "datasource": "Prometheus", - "description": "Measured difference between PTP and PPS", + "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": 60000, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "decimals": 2, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "red", + "color": "transparent", "value": null }, { "color": "green", - "value": 0.001 + "value": 50 }, { "color": "red", - "value": 0.1 + "value": 100 } ] - }, - "unit": "s" + } }, "overrides": [] }, "gridPos": { "h": 8, "w": 5, - "x": 15, - "y": 29 + "x": 5, + "y": 20 }, - "id": 13, + "id": 9, "options": { - "legend": { - "calcs": [], - "displayMode": "hidden", - "placement": "bottom" + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "tooltip": { - "mode": "single" - } + "text": {}, + "textMode": "name" }, - "pluginVersion": "8.1.2", + "pluginVersion": "8.2.1", "targets": [ { "exemplar": true, - "expr": "device_attribute{device=\"lts/sdp/1\",name=\"TR_tod_pps_delta_R\"}", + "expr": "(100-50*device_attribute{device=\"lts/sdp/1\",name=\"FPGA_processing_enable_R\"}) * on(x) device_attribute{device=\"lts/sdp/1\",name=\"TR_fpga_mask_R\"}", "format": "time_series", "hide": false, "instant": false, @@ -1539,9 +853,9 @@ "refId": "A" } ], - "title": "FPGA Clock offset", + "title": "FPGA processing enabled", "transformations": [], - "type": "timeseries" + "type": "stat" }, { "datasource": "Prometheus", @@ -1581,8 +895,8 @@ "gridPos": { "h": 4, "w": 3, - "x": 20, - "y": 29 + "x": 10, + "y": 20 }, "id": 12, "options": { @@ -1600,7 +914,7 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "8.1.2", + "pluginVersion": "8.2.1", "targets": [ { "exemplar": true, @@ -1624,7 +938,7 @@ "h": 1, "w": 24, "x": 0, - "y": 37 + "y": 28 }, "id": 27, "panels": [], @@ -1664,7 +978,7 @@ "h": 8, "w": 5, "x": 0, - "y": 38 + "y": 29 }, "id": 28, "options": { @@ -1682,7 +996,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.1.2", + "pluginVersion": "8.2.1", "targets": [ { "exemplar": true, @@ -1762,7 +1076,7 @@ "h": 8, "w": 5, "x": 5, - "y": 38 + "y": 29 }, "id": 29, "options": { @@ -1871,7 +1185,7 @@ "h": 8, "w": 5, "x": 10, - "y": 38 + "y": 29 }, "id": 30, "options": { @@ -1964,7 +1278,7 @@ "h": 8, "w": 5, "x": 15, - "y": 38 + "y": 29 }, "id": 33, "options": { @@ -2059,7 +1373,7 @@ "h": 8, "w": 3, "x": 20, - "y": 38 + "y": 29 }, "id": 34, "options": { @@ -2096,7 +1410,7 @@ "h": 1, "w": 24, "x": 0, - "y": 46 + "y": 37 }, "id": 36, "panels": [], @@ -2136,7 +1450,7 @@ "h": 8, "w": 5, "x": 0, - "y": 47 + "y": 38 }, "id": 37, "options": { @@ -2154,7 +1468,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.1.2", + "pluginVersion": "8.2.1", "targets": [ { "exemplar": true, @@ -2234,7 +1548,7 @@ "h": 8, "w": 5, "x": 5, - "y": 47 + "y": 38 }, "id": 38, "options": { @@ -2343,7 +1657,7 @@ "h": 8, "w": 5, "x": 10, - "y": 47 + "y": 38 }, "id": 39, "options": { @@ -2436,7 +1750,7 @@ "h": 8, "w": 5, "x": 15, - "y": 47 + "y": 38 }, "id": 40, "options": { @@ -2531,7 +1845,7 @@ "h": 8, "w": 3, "x": 20, - "y": 47 + "y": 38 }, "id": 41, "options": { @@ -2560,10 +1874,78 @@ "title": "XST Replicator load", "transformations": [], "type": "timeseries" + }, + { + "datasource": "Prometheus", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "green", + "value": 50 + }, + { + "color": "red", + "value": 100 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 5, + "x": 0, + "y": 46 + }, + "id": 45, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "name" + }, + "pluginVersion": "8.2.1", + "targets": [ + { + "exemplar": true, + "expr": "(100-50*device_attribute{device=\"lts/xst/1\",name=\"FPGA_xst_processing_enable_R\"}) * on(x) device_attribute{device=\"lts/sdp/1\",name=\"TR_fpga_mask_R\"}", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "XST processing enabled", + "transformations": [], + "type": "stat" } ], "refresh": false, - "schemaVersion": 30, + "schemaVersion": 31, "style": "dark", "tags": [], "templating": { @@ -2575,7 +1957,7 @@ }, "timepicker": {}, "timezone": "", - "title": "LOFAR2.0 Station", - "uid": "6f7Pv8Vnz", - "version": 1 + "title": "Home", + "uid": "nC8N_kO7k", + "version": 5 } diff --git a/docker-compose/grafana/dashboards/version-information.json b/docker-compose/grafana/dashboards/version-information.json index e82135a1a..8b5e17beb 100644 --- a/docker-compose/grafana/dashboards/version-information.json +++ b/docker-compose/grafana/dashboards/version-information.json @@ -679,7 +679,7 @@ }, "timepicker": {}, "timezone": "", - "title": "Version information", + "title": "Versions", "uid": "eR9posS7z", "version": 1 } -- GitLab