diff --git a/grafana-central/dashboards/Station/apsct.json b/grafana-central/dashboards/Station/apsct.json index bdc8e5e9f714ca3f1cb340d644c6a9305113036a..43e0b26c63ce890510608633706966b0dfb84387 100644 --- a/grafana-central/dashboards/Station/apsct.json +++ b/grafana-central/dashboards/Station/apsct.json @@ -3,7 +3,10 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -21,7 +24,8 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 15, + "id": 3, + "iteration": 1654782224769, "links": [ { "asDropdown": true, @@ -42,6 +46,10 @@ "panels": [ { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, "gridPos": { "h": 1, "w": 24, @@ -121,7 +129,7 @@ "h": 5, "w": 3, "x": 0, - "y": 6 + "y": 1 }, "id": 12, "options": { @@ -138,7 +146,7 @@ }, "textMode": "auto" }, - "pluginVersion": "8.4.5", + "pluginVersion": "8.5.3", "targets": [ { "datasource": { @@ -187,7 +195,7 @@ "h": 5, "w": 4, "x": 3, - "y": 6 + "y": 1 }, "id": 13, "options": { @@ -207,7 +215,7 @@ }, "textMode": "auto" }, - "pluginVersion": "8.4.5", + "pluginVersion": "8.5.3", "targets": [ { "datasource": { @@ -296,7 +304,7 @@ "h": 5, "w": 4, "x": 7, - "y": 6 + "y": 1 }, "id": 14, "options": { @@ -391,7 +399,7 @@ "h": 3, "w": 3, "x": 0, - "y": 11 + "y": 6 }, "id": 31, "options": { @@ -408,7 +416,7 @@ }, "textMode": "value" }, - "pluginVersion": "8.4.5", + "pluginVersion": "8.5.3", "targets": [ { "datasource": { @@ -458,7 +466,7 @@ "h": 3, "w": 20, "x": 3, - "y": 11 + "y": 6 }, "id": 5, "options": { @@ -475,7 +483,7 @@ }, "textMode": "name" }, - "pluginVersion": "8.4.5", + "pluginVersion": "8.5.3", "targets": [ { "datasource": { @@ -612,11 +620,15 @@ }, { "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 14 + "y": 9 }, "id": 33, "panels": [ @@ -671,7 +683,7 @@ "h": 5, "w": 23, "x": 0, - "y": 16 + "y": 10 }, "id": 42, "patterns": [], @@ -713,7 +725,8 @@ "mode": "absolute", "steps": [ { - "color": "transparent" + "color": "transparent", + "value": null }, { "color": "red", @@ -732,7 +745,7 @@ "h": 2, "w": 23, "x": 0, - "y": 21 + "y": 15 }, "id": 35, "options": { @@ -750,7 +763,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.4.5", + "pluginVersion": "8.5.3", "targets": [ { "datasource": { @@ -783,7 +796,8 @@ "mode": "absolute", "steps": [ { - "color": "transparent" + "color": "transparent", + "value": null }, { "color": "red", @@ -814,7 +828,7 @@ "h": 2, "w": 23, "x": 0, - "y": 23 + "y": 17 }, "id": 37, "options": { @@ -832,7 +846,7 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "8.4.5", + "pluginVersion": "8.5.3", "targets": [ { "datasource": { @@ -848,6 +862,76 @@ ], "title": "SDP FPGA Measured Clock", "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Whether the beamlets are in sync with the PPS", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "red", + "value": 10 + }, + { + "color": "green", + "value": 11 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 23, + "x": 0, + "y": 19 + }, + "id": 44, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "name" + }, + "pluginVersion": "8.5.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "(device_attribute{host=\"$station\",device=\"stat/beamlet/1\", name=\"FPGA_beamlet_output_nof_packets_R\"} > bool -1)\r\n+ on(x) (10 * device_attribute{host=\"$station\",device=\"stat/sdp/1\", name=\"TR_fpga_mask_R\"})\r\n", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "Beamlet PPS Sync", + "type": "stat" } ], "title": "Downstream Clocks", @@ -855,11 +939,15 @@ }, { "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 15 + "y": 10 }, "id": 19, "panels": [ @@ -908,7 +996,8 @@ "mode": "absolute", "steps": [ { - "color": "transparent" + "color": "transparent", + "value": null } ] }, @@ -920,7 +1009,7 @@ "h": 9, "w": 6, "x": 0, - "y": 16 + "y": 11 }, "id": 30, "options": { @@ -1007,7 +1096,8 @@ "mode": "absolute", "steps": [ { - "color": "transparent" + "color": "transparent", + "value": null } ] }, @@ -1019,7 +1109,7 @@ "h": 9, "w": 6, "x": 6, - "y": 16 + "y": 11 }, "id": 21, "options": { @@ -1118,7 +1208,8 @@ "mode": "absolute", "steps": [ { - "color": "transparent" + "color": "transparent", + "value": null } ] }, @@ -1130,7 +1221,7 @@ "h": 9, "w": 6, "x": 12, - "y": 16 + "y": 11 }, "id": 29, "options": { @@ -1205,7 +1296,8 @@ "mode": "absolute", "steps": [ { - "color": "transparent" + "color": "transparent", + "value": null } ] }, @@ -1217,7 +1309,7 @@ "h": 9, "w": 6, "x": 18, - "y": 16 + "y": 11 }, "id": 22, "options": { @@ -1253,11 +1345,15 @@ }, { "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 16 + "y": 11 }, "id": 26, "panels": [ @@ -1353,7 +1449,7 @@ } ], "refresh": false, - "schemaVersion": 35, + "schemaVersion": 36, "style": "dark", "tags": [ "station" @@ -1362,9 +1458,9 @@ "list": [ { "current": { - "selected": false, - "text": "test-lcu2", - "value": "test-lcu2" + "selected": true, + "text": "dop496", + "value": "dop496" }, "datasource": { "type": "prometheus", @@ -1391,13 +1487,13 @@ ] }, "time": { - "from": "now-6h", + "from": "now-30m", "to": "now" }, "timepicker": {}, "timezone": "", "title": "APSCT", "uid": "apsct", - "version": 14, + "version": 4, "weekStart": "" } diff --git a/grafana-central/dashboards/Station/beamlet.json b/grafana-central/dashboards/Station/beamlet.json index a295ca61cd48bbf9ce05aaa1d654bd7aeff5317a..95af6f28a2fd0ea4d53b1f57e0067ccd95b40cad 100644 --- a/grafana-central/dashboards/Station/beamlet.json +++ b/grafana-central/dashboards/Station/beamlet.json @@ -1,774 +1,776 @@ -{ - "annotations": { - "list": [ + { + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": 18, + "iteration": 1654783249169, + "links": [ + { + "asDropdown": true, + "icon": "external link", + "includeVars": true, + "keepTime": true, + "tags": [ + "station" + ], + "targetBlank": false, + "title": "Dashboards", + "tooltip": "", + "type": "dashboards", + "url": "" + } + ], + "liveNow": true, + "panels": [ { - "builtIn": 1, "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" + "type": "prometheus", + "uid": "prometheus" }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 18, - "iteration": 1654778559701, - "links": [ - { - "asDropdown": true, - "icon": "external link", - "includeVars": true, - "keepTime": true, - "tags": [ - "station" - ], - "targetBlank": false, - "title": "Dashboards", - "tooltip": "", - "type": "dashboards", - "url": "" - } - ], - "liveNow": true, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "description": "State of the software controller.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "0": { - "color": "green", - "index": 0, - "text": "ON" - }, - "1": { - "color": "red", - "index": 1, - "text": "OFF" + "description": "State of the software controller.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "0": { + "color": "green", + "index": 0, + "text": "ON" + }, + "1": { + "color": "red", + "index": 1, + "text": "OFF" + }, + "7": { + "color": "blue", + "index": 3, + "text": "STANDBY" + }, + "8": { + "color": "red", + "index": 4, + "text": "FAULT" + }, + "9": { + "color": "blue", + "index": 2, + "text": "INIT" + }, + "11": { + "color": "orange", + "index": 5, + "text": "ALARM" + } }, - "7": { - "color": "blue", - "index": 3, - "text": "STANDBY" + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "8": { + { "color": "red", - "index": 4, - "text": "FAULT" - }, - "9": { - "color": "blue", - "index": 2, - "text": "INIT" - }, - "11": { - "color": "orange", - "index": 5, - "text": "ALARM" + "value": 80 } - }, - "type": "value" + ] } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 3, - "x": 0, - "y": 0 - }, - "id": 12, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "8.5.3", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" }, - "exemplar": true, - "expr": "device_attribute{host=\"$station\",device=\"stat/beamlet/1\",name=\"State\"}", - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "LCU Device", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "description": "Status string of the software controller.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } + "overrides": [] }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 4, - "x": 3, - "y": 0 - }, - "id": 13, - "options": { - "colorMode": "none", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "/^str_value$/", - "values": false - }, - "text": { - "valueSize": 20 - }, - "textMode": "auto" - }, - "pluginVersion": "8.5.3", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" + "gridPos": { + "h": 5, + "w": 3, + "x": 0, + "y": 0 + }, + "id": 12, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "exemplar": false, - "expr": "device_attribute{host=\"$station\",device=\"stat/beamlet/1\",name=\"Status\"}", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "LCU Device State", - "transformations": [ - { - "id": "labelsToFields", - "options": { - "keepLabels": [ - "str_value" - ] + "textMode": "auto" + }, + "pluginVersion": "8.5.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{host=\"$station\",device=\"stat/beamlet/1\",name=\"State\"}", + "interval": "", + "legendFormat": "", + "refId": "A" } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" + ], + "title": "LCU Device", + "type": "stat" }, - "description": "The amount of time required to read all archiving points.", - "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" + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Status string of the software controller.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "thresholdsStyle": { - "mode": "off" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" + "overrides": [] }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 4, - "x": 7, - "y": 0 - }, - "id": 14, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.4.5", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" + "gridPos": { + "h": 5, + "w": 4, + "x": 3, + "y": 0 + }, + "id": 13, + "options": { + "colorMode": "none", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^str_value$/", + "values": false }, - "exemplar": true, - "expr": "device_scraping{host=\"$station\",device=\"STAT/Beamlet/1\"}", - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Archiving speed", - "transformations": [ - { - "id": "labelsToFields", - "options": { - "keepLabels": [ - "str_value" - ] - } - } - ], - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "description": "Whether the FPGA is being controlled", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "text": { + "valueSize": 20 }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - }, - { - "color": "green", - "value": 1 - } - ] - } + "textMode": "auto" }, - "overrides": [] - }, - "gridPos": { - "h": 2, - "w": 8, - "x": 0, - "y": 5 - }, - "id": 2, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "name" - }, - "pluginVersion": "8.5.3", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "exemplar": true, - "expr": "device_attribute{host=\"$station\",device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"}", - "interval": "", - "legendFormat": "{{x}}", - "refId": "A" - } - ], - "title": "FPGA Mask", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" + "pluginVersion": "8.5.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{host=\"$station\",device=\"stat/beamlet/1\",name=\"Status\"}", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "LCU Device State", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "str_value" + ] + } + } + ], + "type": "stat" }, - "description": "Whether Beamlets are being produced.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "The amount of time required to read all archiving points.", + "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 }, - { - "color": "#EAB839", - "value": 1 + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - { - "color": "red", - "value": 10 + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" }, - { - "color": "green", - "value": 11 + "thresholdsStyle": { + "mode": "off" } - ] + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 7, + "y": 0 + }, + "id": 14, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" } }, - "overrides": [] - }, - "gridPos": { - "h": 2, - "w": 8, - "x": 0, - "y": 7 - }, - "id": 23, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "name" + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_scraping{host=\"$station\",device=\"STAT/Beamlet/1\"}", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Archiving speed", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "str_value" + ] + } + } + ], + "type": "timeseries" }, - "pluginVersion": "8.5.3", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Whether the FPGA is being controlled", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "green", + "value": 1 + } + ] + } }, - "exemplar": true, - "expr": "device_attribute{host=\"$station\",device=\"stat/beamlet/1\", name=\"FPGA_beamlet_output_enable_R\"}\r\n+ on(x) (10 * device_attribute{host=\"$station\",device=\"stat/sdp/1\", name=\"TR_fpga_mask_R\"})\r\n", - "interval": "", - "legendFormat": "{{x}}", - "refId": "A" - } - ], - "title": "Beamlet Output Enabled", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "description": "Whether the beamlets are in sync with the PPS", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 0, + "y": 5 + }, + "id": 2, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - }, - { - "color": "red", - "value": 10 - }, - { - "color": "green", - "value": 11 - } - ] - } + "textMode": "name" }, - "overrides": [] - }, - "gridPos": { - "h": 2, - "w": 8, - "x": 0, - "y": 9 - }, - "id": 22, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "name" + "pluginVersion": "8.5.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{host=\"$station\",device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "FPGA Mask", + "type": "stat" }, - "pluginVersion": "8.5.3", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Whether Beamlets are being produced.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "#EAB839", + "value": 1 + }, + { + "color": "red", + "value": 10 + }, + { + "color": "green", + "value": 11 + } + ] + } }, - "exemplar": true, - "expr": "(device_attribute{host=\"$station\",device=\"stat/beamlet/1\", name=\"FPGA_beamlet_output_nof_packets_R\"} > bool -1)\r\n+ on(x) (10 * device_attribute{host=\"$station\",device=\"stat/sdp/1\", name=\"TR_fpga_mask_R\"})\r\n", - "interval": "", - "legendFormat": "{{x}}", - "refId": "A" - } - ], - "title": "Beamlet PPS Sync", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "description": "Beamlet packets emitted, per second, per FPGA, for all of its beamlets.", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 0, + "y": 7 + }, + "id": 23, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "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" + "textMode": "name" + }, + "pluginVersion": "8.5.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "exemplar": true, + "expr": "device_attribute{host=\"$station\",device=\"stat/beamlet/1\", name=\"FPGA_beamlet_output_enable_R\"}\r\n+ on(x) (10 * device_attribute{host=\"$station\",device=\"stat/sdp/1\", name=\"TR_fpga_mask_R\"})\r\n", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "Beamlet Output Enabled", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Whether the beamlets are in sync with the PPS", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "thresholdsStyle": { - "mode": "off" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "red", + "value": 10 + }, + { + "color": "green", + "value": 11 + } + ] } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 0, + "y": 9 + }, + "id": 22, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "name" + }, + "pluginVersion": "8.5.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "(device_attribute{host=\"$station\",device=\"stat/beamlet/1\", name=\"FPGA_beamlet_output_nof_packets_R\"} > bool -1)\r\n+ on(x) (10 * device_attribute{host=\"$station\",device=\"stat/sdp/1\", name=\"TR_fpga_mask_R\"})\r\n", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "Beamlet PPS Sync", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Beamlet packets emitted, per second, per FPGA, for all of its beamlets.", + "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 }, - { - "color": "red", - "value": 80 + "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": "pps" }, - "unit": "pps" + "overrides": [] }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 5, - "x": 0, - "y": 11 - }, - "id": 17, - "options": { - "legend": { - "calcs": [], - "displayMode": "hidden", - "placement": "bottom" - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" + "gridPos": { + "h": 6, + "w": 5, + "x": 0, + "y": 11 + }, + "id": 17, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" }, - "editorMode": "code", - "exemplar": true, - "expr": "device_attribute{host=\"$station\",device=\"stat/beamlet/1\",name=\"FPGA_beamlet_output_nof_packets_R\"} > 0", - "interval": "", - "legendFormat": "{{name}} - FPGA {{x}} Beamlet {{y}}", - "range": true, - "refId": "A" - } - ], - "title": "Beamlet Output Speed (packets)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "exemplar": true, + "expr": "device_attribute{host=\"$station\",device=\"stat/beamlet/1\",name=\"FPGA_beamlet_output_nof_packets_R\"} > 0", + "interval": "", + "legendFormat": "{{name}} - FPGA {{x}} Beamlet {{y}}", + "range": true, + "refId": "A" + } + ], + "title": "Beamlet Output Speed (packets)", + "type": "timeseries" }, - "description": "Beamlet packets emitted, per second, per FPGA, for all of its beamlets.", - "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 + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Beamlet packets emitted, per second, per FPGA, for all of its beamlets.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "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" + } }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] }, - "thresholdsStyle": { - "mode": "off" - } + "unit": "cps" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 5, + "y": 11 + }, + "id": 21, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" }, - "unit": "cps" + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 5, - "x": 5, - "y": 11 - }, - "id": 21, - "options": { - "legend": { - "calcs": [], - "displayMode": "hidden", - "placement": "bottom" - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "targets": [ + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "exemplar": true, + "expr": "device_attribute{host=\"$station\",device=\"stat/beamlet/1\",name=\"FPGA_beamlet_output_nof_valid_R\"} > 0", + "interval": "", + "legendFormat": "{{name}} - FPGA {{x}}", + "range": true, + "refId": "A" + } + ], + "title": "Beamlet Output Speed (valid words)", + "type": "timeseries" + } + ], + "refresh": false, + "schemaVersion": 36, + "style": "dark", + "tags": [ + "station" + ], + "templating": { + "list": [ { + "current": { + "selected": false, + "text": "test-lcu2", + "value": "test-lcu2" + }, "datasource": { "type": "prometheus", "uid": "prometheus" }, - "editorMode": "code", - "exemplar": true, - "expr": "device_attribute{host=\"$station\",device=\"stat/beamlet/1\",name=\"FPGA_beamlet_output_nof_valid_R\"} > 0", - "interval": "", - "legendFormat": "{{name}} - FPGA {{x}}", - "range": true, - "refId": "A" + "definition": "scrape_series_added\n", + "description": "", + "hide": 0, + "includeAll": false, + "label": "Station", + "multi": false, + "name": "station", + "options": [], + "query": { + "query": "scrape_series_added\n", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "/.*host=\"(?<text>[^\"]*)\".*/", + "skipUrlSync": false, + "sort": 1, + "type": "query" } - ], - "title": "Beamlet Output Speed (valid words)", - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 36, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "test-lcu2", - "value": "test-lcu2" - }, - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "definition": "scrape_series_added\n", - "description": "", - "hide": 0, - "includeAll": false, - "label": "Station", - "multi": false, - "name": "station", - "options": [], - "query": { - "query": "scrape_series_added\n", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "/.*host=\"(?<text>[^\"]*)\".*/", - "skipUrlSync": false, - "sort": 1, - "type": "query" - } - ] - }, - "time": { - "from": "now-5m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Beamlet", - "uid": "beamlet", - "version": 5, - "weekStart": "" -} + ] + }, + "time": { + "from": "now-5m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "Beamlet", + "uid": "beamlet", + "version": 7, + "weekStart": "" + }