diff --git a/docker-compose/grafana/Dockerfile b/docker-compose/grafana/Dockerfile index 14484ff1591bc4f95602addcd691e5f59461da4a..9f7ab94b12b425be552e96d737d3fb91597e6e1c 100644 --- a/docker-compose/grafana/Dockerfile +++ b/docker-compose/grafana/Dockerfile @@ -5,6 +5,8 @@ RUN grafana-cli plugins install briangann-datatable-panel RUN grafana-cli plugins install ae3e-plotly-panel RUN grafana-cli plugins install yesoreyeram-infinity-datasource RUN grafana-cli plugins install aceiot-svg-panel +RUN grafana-cli plugins install alexanderzobnin-zabbix-app +RUN grafana-cli plugins install yesoreyeram-boomtable-panel COPY grafana.ini /etc/grafana/ diff --git a/docker-compose/grafana/dashboards/apsct.json b/docker-compose/grafana/dashboards/apsct.json new file mode 100644 index 0000000000000000000000000000000000000000..d056e829b160e88711bc68ad5e4423f2e86d5eaa --- /dev/null +++ b/docker-compose/grafana/dashboards/apsct.json @@ -0,0 +1,1655 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- 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": 15, + "links": [], + "liveNow": false, + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 17, + "panels": [], + "title": "Main", + "type": "row" + }, + { + "description": "", + "gridPos": { + "h": 5, + "w": 11, + "x": 0, + "y": 1 + }, + "id": 10, + "links": [ + { + "targetBlank": true, + "title": "Details", + "url": "/alerting/list" + } + ], + "options": { + "alertInstanceLabelFilter": "{device=\"stat/apsct/1\"}", + "alertName": "", + "dashboardAlerts": false, + "groupBy": [], + "groupMode": "default", + "maxItems": 20, + "sortOrder": 1, + "stateFilter": { + "error": true, + "firing": true, + "inactive": false, + "noData": false, + "normal": false, + "pending": true + } + }, + "title": "Firing Alerts", + "type": "alertlist" + }, + { + "alignNumbersToRightEnabled": true, + "columnAliases": [], + "columnFiltersEnabled": false, + "columnWidthHints": [], + "columns": [], + "compactRowsEnabled": true, + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "datatablePagingType": "simple_numbers", + "datatableTheme": "basic_theme", + "emptyData": true, + "fontSize": "100%", + "gridPos": { + "h": 10, + "w": 12, + "x": 11, + "y": 1 + }, + "hoverEnabled": true, + "id": 8, + "infoEnabled": false, + "lengthChangeEnabled": false, + "orderColumnEnabled": false, + "pagingTypes": [ + { + "$$hashKey": "object:142", + "text": "Page number buttons only", + "value": "numbers" + }, + { + "$$hashKey": "object:143", + "text": "'Previous' and 'Next' buttons only", + "value": "simple" + }, + { + "$$hashKey": "object:144", + "text": "'Previous' and 'Next' buttons, plus page numbers", + "value": "simple_numbers" + }, + { + "$$hashKey": "object:145", + "text": "'First', 'Previous', 'Next' and 'Last' buttons", + "value": "full" + }, + { + "$$hashKey": "object:146", + "text": "'First', 'Previous', 'Next' and 'Last' buttons, plus page numbers", + "value": "full_numbers" + }, + { + "$$hashKey": "object:147", + "text": "'First' and 'Last' buttons, plus page numbers", + "value": "first_last_numbers" + } + ], + "panelHeight": 322, + "pluginVersion": "8.4.5", + "rowNumbersEnabled": false, + "rowsPerPage": 5, + "scroll": true, + "scrollHeight": "default", + "searchEnabled": false, + "searchHighlightingEnabled": false, + "showCellBorders": false, + "showHeader": true, + "showRowBorders": false, + "sort": { + "col": 0, + "desc": true + }, + "sortByColumns": [ + { + "$$hashKey": "object:17", + "columnData": 0, + "sortMethod": "desc" + } + ], + "sortByColumnsData": [ + [ + 0, + "desc" + ] + ], + "stripedRowsEnabled": true, + "styles": [ + { + "$$hashKey": "object:19", + "dateFormat": "dd DD/MM HH:mm", + "pattern": "Time", + "type": "date" + }, + { + "$$hashKey": "object:45", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Panel|Dashboard|Alert", + "sanitize": true, + "splitPattern": "/ /", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [] + }, + { + "$$hashKey": "object:76", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "mappingType": 1, + "pattern": "Alerta Link", + "splitPattern": "/ /", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [] + }, + { + "$$hashKey": "object:867", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Since", + "splitPattern": "/ /", + "thresholds": [], + "type": "date", + "unit": "short" + } + ], + "targets": [ + { + "columns": [ + { + "selector": "createTime", + "text": "Since", + "type": "string" + }, + { + "selector": "severity", + "text": "Severity", + "type": "string" + }, + { + "selector": "status", + "text": "Status", + "type": "string" + }, + { + "selector": "event", + "text": "Name", + "type": "string" + }, + { + "selector": "attributes.lofarDevice", + "text": "Device", + "type": "string" + }, + { + "selector": "attributes.lofarAttribute", + "text": "Attribute", + "type": "string" + }, + { + "selector": "attributes.grafanaDashboardHtml", + "text": "Dashboard", + "type": "string" + }, + { + "selector": "attributes.grafanaPanelHtml", + "text": "Panel", + "type": "string" + }, + { + "selector": "attributes.grafanaAlertHtml", + "text": "Alert", + "type": "string" + }, + { + "selector": "href", + "text": "Alerta Link", + "type": "string" + } + ], + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "filters": [ + { + "field": "Device", + "operator": "equals", + "value": [ + "stat/apsct/1" + ] + } + ], + "format": "table", + "global_query_id": "", + "hide": false, + "refId": "A", + "root_selector": "", + "source": "url", + "type": "json", + "url": "http://alerta-web:8080/api/alerts", + "url_options": { + "data": "", + "method": "GET" + } + } + ], + "themeOptions": { + "dark": "./styles/dark.scss", + "light": "./styles/light.scss" + }, + "themes": [ + { + "$$hashKey": "object:117", + "disabled": false, + "text": "Basic", + "value": "basic_theme" + }, + { + "$$hashKey": "object:118", + "disabled": true, + "text": "Bootstrap", + "value": "bootstrap_theme" + }, + { + "$$hashKey": "object:119", + "disabled": true, + "text": "Foundation", + "value": "foundation_theme" + }, + { + "$$hashKey": "object:120", + "disabled": true, + "text": "ThemeRoller", + "value": "themeroller_theme" + } + ], + "title": "Alerta Alerts", + "transform": "table", + "type": "briangann-datatable-panel" + }, + { + "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" + }, + "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" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 0, + "y": 6 + }, + "id": 12, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apsct/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": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 3, + "y": 6 + }, + "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.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"Status\"}", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "LCU Device State", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "str_value" + ] + } + } + ], + "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": { + "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": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 7, + "y": 6 + }, + "id": 14, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "max_over_time(device_scraping{device=\"STAT/APSCT/1\"}[2m])", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Archiving speed", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "str_value" + ] + } + } + ], + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "0": { + "color": "red", + "index": 0, + "text": "NONE" + }, + "1": { + "color": "green", + "index": 1, + "text": "160 MHz" + }, + "2": { + "color": "green", + "index": 2, + "text": "200 MHz" + }, + "3": { + "color": "red", + "index": 3, + "text": "BOTH" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 3, + "x": 0, + "y": 11 + }, + "id": 31, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "value" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PLL_160MHz_locked_R\"} + on(x) (\r\n2 * device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PLL_200MHz_locked_R\"})", + "instant": true, + "interval": "", + "legendFormat": "Lock", + "refId": "A" + } + ], + "title": "Clock Lock", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 20, + "x": 3, + "y": 11 + }, + "id": 5, + "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": false, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCTTR_I2C_error_R\"}", + "instant": true, + "interval": "", + "legendFormat": "I2C", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PCB_ID_R\"} == bool 0", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "PCB ID", + "refId": "J" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "1 - device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PWR_on_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "Power", + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "1 - device_attribute{device=\"stat/apsct/1\",name=\"APSCT_INPUT_10MHz_good_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "10MHz in", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PPS_ignore_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "PPS used", + "refId": "F" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "1 - device_attribute{device=\"stat/apsct/1\",name=\"APSCT_INPUT_PPS_good_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "PPS in", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PLL_160MHz_error_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "PLL 160MHz", + "refId": "E" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PLL_200MHz_error_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "PLL 200Mhz", + "refId": "G" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_VOUT_error_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "Voltages", + "refId": "H" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_TEMP_error_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "Temperatures", + "refId": "I" + } + ], + "title": "APSCT Status", + "type": "stat" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 14 + }, + "id": 33, + "panels": [ + { + "activePatternIndex": 0, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "defaultPattern": { + "bgColors": "green|orange|red", + "bgColors_overrides": "0->green|2->red|1->yellow", + "clickable_cells_link": "", + "col_name": "_0_", + "decimals": 2, + "defaultBGColor": "transparent", + "defaultTextColor": "", + "delimiter": "-", + "displayTemplate": "-", + "enable_bgColor": false, + "enable_bgColor_overrides": false, + "enable_clickable_cells": false, + "enable_textColor": true, + "enable_textColor_overrides": false, + "enable_time_based_thresholds": false, + "enable_transform": true, + "enable_transform_overrides": false, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "none", + "name": "Default Pattern", + "null_color": "", + "null_textcolor": "", + "null_value": "-", + "pattern": "*", + "row_col_wrapper": "_", + "row_name": "_1_", + "textColors": "#f00|lightgreen", + "textColors_overrides": "0->red|2->green|1->yellow", + "thresholds": "10|11", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "NO|YES", + "transform_values_overrides": "0->down|1->up", + "valueName": "avg" + }, + "default_title_for_rows": "", + "description": "", + "gridPos": { + "h": 5, + "w": 23, + "x": 0, + "y": 16 + }, + "id": 42, + "patterns": [], + "row_col_wrapper": "_", + "sorting_props": { + "col_index": -1, + "direction": "desc" + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/recv/1\",name=\"RCU_ADC_locked_R\"}\r\n+ on(x, y) (10 * device_attribute{device=\"stat/recv/1\", name=\"ANT_mask_RW\"})", + "instant": true, + "interval": "", + "legendFormat": "{{x}} - input {{y}}", + "refId": "A" + } + ], + "title": "RCU ADC Lock", + "type": "yesoreyeram-boomtable-panel" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent" + }, + { + "color": "red", + "value": 10 + }, + { + "color": "green", + "value": 11 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 23, + "x": 0, + "y": 21 + }, + "id": 35, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "name" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/sdp/1\",name=\"FPGA_pps_present_R\"}\r\n+ on(x) (10 * device_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"})", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "SDP FPGA PPS Present", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent" + }, + { + "color": "red", + "value": 159 + }, + { + "color": "blue", + "value": 160 + }, + { + "color": "red", + "value": 161 + }, + { + "color": "purple", + "value": 200 + }, + { + "color": "red", + "value": 201 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 23, + "x": 0, + "y": 23 + }, + "id": 37, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "value" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/sdp/1\",name=\"FPGA_pps_capture_cnt_R\"} / 1000000", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "SDP FPGA Measured Clock", + "type": "stat" + } + ], + "title": "Downstream Clocks", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 15 + }, + "id": 19, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent" + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 0, + "y": 16 + }, + "id": 30, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PWR_CTRL_3V3_R\"} > 0", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PWR_INPUT_3V3_R\"} > 0", + "hide": false, + "interval": "", + "legendFormat": "{{name}}", + "refId": "B" + } + ], + "title": "Input & Control", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent" + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 6, + "y": 16 + }, + "id": 21, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PWR_CLKDIST1_3V3_R\"} > 0", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PWR_CLKDIST2_3V3_R\"} > 0", + "hide": false, + "interval": "", + "legendFormat": "{{name}}", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PWR_PPSDIST_3V3_R\"} > 0", + "hide": false, + "interval": "", + "legendFormat": "{{name}}", + "refId": "C" + } + ], + "title": "Clock Distribution", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent" + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 12, + "y": 16 + }, + "id": 29, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PWR_PLL_200MHz_3V3_R\"} > 0", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "PLL 200MHz", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent" + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 18, + "y": 16 + }, + "id": 22, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_PWR_PLL_160MHz_3V3_R\"} > 0", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "PPL 160MHz", + "type": "timeseries" + } + ], + "title": "Voltages", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 16 + }, + "id": 26, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "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": "transparent" + } + ] + }, + "unit": "celsius" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 0, + "y": 15 + }, + "id": 28, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apsct/1\",name=\"APSCT_TEMP_R\"} > 0", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "APSCT Temperature", + "type": "timeseries" + } + ], + "title": "Temperatures", + "type": "row" + } + ], + "refresh": false, + "schemaVersion": 35, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-6h", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "APSCT", + "uid": "apsct", + "version": 14, + "weekStart": "" +} diff --git a/docker-compose/grafana/dashboards/apspu.json b/docker-compose/grafana/dashboards/apspu.json new file mode 100644 index 0000000000000000000000000000000000000000..e983970ec62a371befbc4daf701374a531f91d10 --- /dev/null +++ b/docker-compose/grafana/dashboards/apspu.json @@ -0,0 +1,1674 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- 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": 16, + "links": [], + "liveNow": false, + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 17, + "panels": [], + "title": "Main", + "type": "row" + }, + { + "description": "", + "gridPos": { + "h": 5, + "w": 11, + "x": 0, + "y": 1 + }, + "id": 10, + "links": [ + { + "targetBlank": true, + "title": "Details", + "url": "/alerting/list" + } + ], + "options": { + "alertInstanceLabelFilter": "{device=\"stat/apspu/1\"}", + "alertName": "", + "dashboardAlerts": false, + "groupBy": [], + "groupMode": "default", + "maxItems": 20, + "sortOrder": 1, + "stateFilter": { + "error": true, + "firing": true, + "inactive": false, + "noData": false, + "normal": false, + "pending": true + } + }, + "title": "Firing Alerts", + "type": "alertlist" + }, + { + "alignNumbersToRightEnabled": true, + "columnAliases": [], + "columnFiltersEnabled": false, + "columnWidthHints": [], + "columns": [], + "compactRowsEnabled": true, + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "datatablePagingType": "simple_numbers", + "datatableTheme": "basic_theme", + "emptyData": true, + "fontSize": "100%", + "gridPos": { + "h": 10, + "w": 12, + "x": 11, + "y": 1 + }, + "hoverEnabled": true, + "id": 8, + "infoEnabled": false, + "lengthChangeEnabled": false, + "orderColumnEnabled": false, + "pagingTypes": [ + { + "$$hashKey": "object:142", + "text": "Page number buttons only", + "value": "numbers" + }, + { + "$$hashKey": "object:143", + "text": "'Previous' and 'Next' buttons only", + "value": "simple" + }, + { + "$$hashKey": "object:144", + "text": "'Previous' and 'Next' buttons, plus page numbers", + "value": "simple_numbers" + }, + { + "$$hashKey": "object:145", + "text": "'First', 'Previous', 'Next' and 'Last' buttons", + "value": "full" + }, + { + "$$hashKey": "object:146", + "text": "'First', 'Previous', 'Next' and 'Last' buttons, plus page numbers", + "value": "full_numbers" + }, + { + "$$hashKey": "object:147", + "text": "'First' and 'Last' buttons, plus page numbers", + "value": "first_last_numbers" + } + ], + "panelHeight": 256, + "pluginVersion": "8.4.5", + "rowNumbersEnabled": false, + "rowsPerPage": 5, + "scroll": true, + "scrollHeight": "default", + "searchEnabled": false, + "searchHighlightingEnabled": false, + "showCellBorders": false, + "showHeader": true, + "showRowBorders": false, + "sort": { + "col": 0, + "desc": true + }, + "sortByColumns": [ + { + "$$hashKey": "object:17", + "columnData": 0, + "sortMethod": "desc" + } + ], + "sortByColumnsData": [ + [ + 0, + "desc" + ] + ], + "stripedRowsEnabled": true, + "styles": [ + { + "$$hashKey": "object:19", + "dateFormat": "dd DD/MM HH:mm", + "pattern": "Time", + "type": "date" + }, + { + "$$hashKey": "object:45", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Panel|Dashboard|Alert", + "sanitize": true, + "splitPattern": "/ /", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [] + }, + { + "$$hashKey": "object:76", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "mappingType": 1, + "pattern": "Alerta Link", + "splitPattern": "/ /", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [] + }, + { + "$$hashKey": "object:867", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Since", + "splitPattern": "/ /", + "thresholds": [], + "type": "date", + "unit": "short" + } + ], + "targets": [ + { + "columns": [ + { + "selector": "createTime", + "text": "Since", + "type": "string" + }, + { + "selector": "severity", + "text": "Severity", + "type": "string" + }, + { + "selector": "status", + "text": "Status", + "type": "string" + }, + { + "selector": "event", + "text": "Name", + "type": "string" + }, + { + "selector": "attributes.lofarDevice", + "text": "Device", + "type": "string" + }, + { + "selector": "attributes.lofarAttribute", + "text": "Attribute", + "type": "string" + }, + { + "selector": "attributes.grafanaDashboardHtml", + "text": "Dashboard", + "type": "string" + }, + { + "selector": "attributes.grafanaPanelHtml", + "text": "Panel", + "type": "string" + }, + { + "selector": "attributes.grafanaAlertHtml", + "text": "Alert", + "type": "string" + }, + { + "selector": "href", + "text": "Alerta Link", + "type": "string" + } + ], + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "filters": [ + { + "field": "Device", + "operator": "equals", + "value": [ + "stat/apspu/1" + ] + } + ], + "format": "table", + "global_query_id": "", + "hide": false, + "refId": "A", + "root_selector": "", + "source": "url", + "type": "json", + "url": "http://alerta-web:8080/api/alerts", + "url_options": { + "data": "", + "method": "GET" + } + } + ], + "themeOptions": { + "dark": "./styles/dark.scss", + "light": "./styles/light.scss" + }, + "themes": [ + { + "$$hashKey": "object:117", + "disabled": false, + "text": "Basic", + "value": "basic_theme" + }, + { + "$$hashKey": "object:118", + "disabled": true, + "text": "Bootstrap", + "value": "bootstrap_theme" + }, + { + "$$hashKey": "object:119", + "disabled": true, + "text": "Foundation", + "value": "foundation_theme" + }, + { + "$$hashKey": "object:120", + "disabled": true, + "text": "ThemeRoller", + "value": "themeroller_theme" + } + ], + "title": "Alerta Alerts", + "transform": "table", + "type": "briangann-datatable-panel" + }, + { + "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" + }, + "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" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 0, + "y": 6 + }, + "id": 12, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apspu/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": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 3, + "y": 6 + }, + "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.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"Status\"}", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "LCU Device State", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "str_value" + ] + } + } + ], + "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": { + "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": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 7, + "y": 6 + }, + "id": 14, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "max_over_time(device_scraping{device=\"STAT/APSPU/1\"}[2m])", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Archiving speed", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "str_value" + ] + } + } + ], + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 20, + "x": 0, + "y": 11 + }, + "id": 5, + "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": false, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPUTR_I2C_error_R\"}", + "instant": true, + "interval": "", + "legendFormat": "I2C", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPU_PCB_ID_R\"} == bool 0", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "PCB ID", + "refId": "J" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPU_VOUT_error_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "Voltages", + "refId": "H" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPU_IOUT_error_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "Currents", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPU_TEMP_error_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "Temperatures", + "refId": "I" + } + ], + "title": "APSPU Status", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "green", + "value": 2000 + } + ] + }, + "unit": "rotrpm" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 20, + "x": 0, + "y": 14 + }, + "id": 43, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "value_and_name" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apspu/1\",name=~\"APSPU_FAN1_RPM_R\"}", + "instant": true, + "interval": "", + "legendFormat": "FAN1", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apspu/1\",name=~\"APSPU_FAN2_RPM_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "FAN2", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/apspu/1\",name=~\"APSPU_FAN3_RPM_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "FAN3", + "refId": "C" + } + ], + "title": "Fan Speeds", + "type": "stat" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 17 + }, + "id": 19, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 0, + "y": 18 + }, + "id": 22, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPU_LBA_VOUT_R\"}", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "LBA", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 6, + "y": 18 + }, + "id": 44, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPU_RCU2A_VOUT_R\"}", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "RCU2 Analog", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 12, + "y": 18 + }, + "id": 45, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPU_RCU2D_VOUT_R\"}", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "RCU2 Digital", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + } + ] + }, + "unit": "amp" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 0, + "y": 27 + }, + "id": 48, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPU_LBA_IOUT_R\"}", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "LBA", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + } + ] + }, + "unit": "amp" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 6, + "y": 27 + }, + "id": 49, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPU_RCU2A_IOUT_R\"}", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "RCU2 Analog", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + } + ] + }, + "unit": "amp" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 12, + "y": 27 + }, + "id": 50, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPU_RCU2D_IOUT_R\"}", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "RCU2 Digital", + "type": "timeseries" + } + ], + "title": "Voltages & Currents", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 18 + }, + "id": 26, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + } + ] + }, + "unit": "celsius" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 0, + "y": 19 + }, + "id": 51, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPU_LBA_TEMP_R\"}", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "LBA", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + } + ] + }, + "unit": "celsius" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 6, + "y": 19 + }, + "id": 52, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPU_RCU2A_TEMP_R\"}", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "RCU2 Analog", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + } + ] + }, + "unit": "celsius" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 12, + "y": 19 + }, + "id": 53, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/apspu/1\",name=\"APSPU_RCU2D_TEMP_R\"}", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "RCU2 Digital", + "type": "timeseries" + } + ], + "title": "Temperatures", + "type": "row" + } + ], + "refresh": false, + "schemaVersion": 35, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-6h", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "APSPU", + "uid": "apspu", + "version": 2, + "weekStart": "" +} diff --git a/docker-compose/grafana/dashboards/archiver_timescale.json b/docker-compose/grafana/dashboards/archiver_timescale.json deleted file mode 100644 index bec06ef691e2a89e8e75e264a7f3d9f120a82ea4..0000000000000000000000000000000000000000 --- a/docker-compose/grafana/dashboards/archiver_timescale.json +++ /dev/null @@ -1,273 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": "-- 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, - "gnetId": null, - "graphTooltip": 0, - "links": [], - "liveNow": false, - "panels": [ - { - "datasource": "TimescaleDB", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "align": "auto", - "displayMode": "auto" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 6, - "options": { - "showHeader": true - }, - "pluginVersion": "8.2.5", - "targets": [ - { - "format": "table", - "group": [], - "metricColumn": "none", - "rawQuery": true, - "rawSql": "select name as \"Attribute\",\r\ntable_name as \"Type\"\r\nfrom att_conf ac \r\nwhere \"domain\" ='stat' and \"family\" = 'sdp' and \"member\" ='1'\r\norder by name", - "refId": "A", - "select": [ - [ - { - "params": [ - "value_r" - ], - "type": "column" - } - ] - ], - "table": "att_scalar_devdouble", - "timeColumn": "data_time", - "timeColumnType": "timestamp", - "where": [ - { - "name": "$__timeFilter", - "params": [], - "type": "macro" - } - ] - } - ], - "title": "STAT/SDP/1 archived attributes", - "type": "table" - }, - { - "datasource": "TimescaleDB", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "auto", - "displayMode": "auto" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 8, - "options": { - "showHeader": true - }, - "pluginVersion": "8.2.5", - "targets": [ - { - "format": "table", - "group": [], - "metricColumn": "none", - "rawQuery": true, - "rawSql": "select name as \"Attribute\",\r\ntable_name as \"Type\" \r\nfrom att_conf ac \r\nwhere \"domain\" ='stat' and \"family\" = 'recv' and \"member\" ='1'\r\norder by name", - "refId": "A", - "select": [ - [ - { - "params": [ - "value_r" - ], - "type": "column" - } - ] - ], - "table": "att_scalar_devdouble", - "timeColumn": "data_time", - "timeColumnType": "timestamp", - "where": [ - { - "name": "$__timeFilter", - "params": [], - "type": "macro" - } - ] - } - ], - "title": "LTS/RECV/1 archived attributes", - "type": "table" - }, - { - "datasource": "TimescaleDB", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-BlYlRd" - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 1 - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 8 - }, - "id": 9, - "interval": "10s", - "maxDataPoints": 1000, - "options": { - "colWidth": 0.3, - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "rowHeight": 0.78, - "showValue": "auto", - "tooltip": { - "mode": "single" - } - }, - "pluginVersion": "8.2.4", - "targets": [ - { - "format": "time_series", - "group": [], - "hide": false, - "metricColumn": "none", - "rawQuery": true, - "rawSql": "SELECT time_bucket('00:00:01'::interval, q1.\"time\") AS time,\r\n mask(array[q1.value[1]], array[q2.\"value\"[1]]) AS \"temperature[1]\",\r\n mask(array[q1.value[2]], array[q2.\"value\"[2]]) AS \"temperature[2]\",\r\n mask(array[q1.value[3]], array[q2.\"value\"[3]]) AS \"temperature[3]\",\r\n mask(array[q1.value[4]], array[q2.\"value\"[4]]) AS \"temperature[4]\",\r\n mask(array[q1.value[5]], array[q2.\"value\"[5]]) AS \"temperature[5]\",\r\n mask(array[q1.value[6]], array[q2.\"value\"[6]]) AS \"temperature[6]\",\r\n mask(array[q1.value[7]], array[q2.\"value\"[7]]) AS \"temperature[7]\",\r\n mask(array[q1.value[8]], array[q2.\"value\"[8]]) AS \"temperature[8]\",\r\n mask(array[q1.value[9]], array[q2.\"value\"[9]]) AS \"temperature[9]\",\r\n mask(array[q1.value[10]], array[q2.\"value\"[10]]) AS \"temperature[10]\",\r\n mask(array[q1.value[11]], array[q2.\"value\"[11]]) AS \"temperature[11]\",\r\n mask(array[q1.value[12]], array[q2.\"value\"[12]]) AS \"temperature[12]\",\r\n mask(array[q1.value[13]], array[q2.\"value\"[13]]) AS \"temperature[13]\",\r\n mask(array[q1.value[14]], array[q2.\"value\"[14]]) AS \"temperature[14]\",\r\n mask(array[q1.value[15]], array[q2.\"value\"[15]]) AS \"temperature[15]\"\r\n FROM ( SELECT aad.data_time AS \"time\",\r\n aad.value_r AS value\r\n FROM att_array_devdouble aad\r\n JOIN att_conf ac ON aad.att_conf_id = ac.att_conf_id\r\n WHERE aad.value_r IS NOT NULL AND ac.domain = 'stat'::text AND ac.family = 'sdp'::text AND ac.member = '1'::text AND ac.name = 'fpga_temp_r'::text\r\n ORDER BY aad.data_time) q1\r\n JOIN ( SELECT aab.data_time AS \"time\",\r\n aab.value_r AS value\r\n FROM att_array_devboolean aab\r\n JOIN att_conf ac ON aab.att_conf_id = ac.att_conf_id\r\n WHERE aab.value_r IS NOT NULL AND ac.domain = 'stat'::text AND ac.family = 'sdp'::text AND ac.member = '1'::text AND ac.name = 'tr_fpga_mask_r'::text\r\n ORDER BY aab.data_time) q2 ON time_bucket('00:00:01'::interval, q1.\"time\") = time_bucket('00:00:01'::interval, q2.\"time\")\r\n WHERE $__timeFilter(q1.\"time\")\r\n ORDER BY q1.\"time\";", - "refId": "B", - "select": [ - [ - { - "params": [ - "temperature[1]" - ], - "type": "column" - } - ] - ], - "table": "sdp_masked_temp_values", - "timeColumn": "temp_time", - "timeColumnType": "timestamptz", - "where": [ - { - "name": "$__timeFilter", - "params": [], - "type": "macro" - } - ] - } - ], - "title": "SDP - FPGA Temperature", - "type": "status-history" - } - ], - "refresh": "", - "schemaVersion": 32, - "style": "dark", - "tags": [], - "templating": { - "list": [] - }, - "time": { - "from": "now-5m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Archiver-Timescale", - "uid": "M7zA7Hc7k", - "version": 1 -} diff --git a/docker-compose/grafana/dashboards/docker.json b/docker-compose/grafana/dashboards/docker.json index cc6680ee533d24c9a40a5df2e8020845e32575db..2c2dbdb20f366280e57e24632bb1e6d4ae205636 100644 --- a/docker-compose/grafana/dashboards/docker.json +++ b/docker-compose/grafana/dashboards/docker.json @@ -103,6 +103,6 @@ "timepicker": {}, "timezone": "", "title": "Docker", - "uid": "buKx9ZHnk", + "uid": "docker", "version": 1 } diff --git a/docker-compose/grafana/dashboards/home.json b/docker-compose/grafana/dashboards/home.json index 7aa5d7aad44152e32732a4b6c37f165694066f91..ca44b8404e562434ad71282daae4f565d4d44629 100644 --- a/docker-compose/grafana/dashboards/home.json +++ b/docker-compose/grafana/dashboards/home.json @@ -336,7 +336,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "Progress of station initialisation", "fieldConfig": { @@ -404,7 +404,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -512,7 +512,7 @@ { "datasource": { "type": "elasticsearch", - "uid": "RuQjz8V7z" + "uid": "elk" }, "fieldConfig": { "defaults": { @@ -687,7 +687,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -799,7 +799,7 @@ { "datasource": { "type": "elasticsearch", - "uid": "RuQjz8V7z" + "uid": "elk" }, "description": "List of the errors in the selected timespan", "fieldConfig": { @@ -1012,7 +1012,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "State of APSCT", "fieldConfig": { @@ -1123,7 +1123,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "State of APSPU", "fieldConfig": { @@ -1200,7 +1200,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "State of Unboard 2 I2C Bus", "fieldConfig": { @@ -1313,7 +1313,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1380,7 +1380,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1448,7 +1448,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -1530,7 +1530,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -1601,7 +1601,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -1672,7 +1672,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "Number of inputs that are fed from the SDP wave-form generator", "fieldConfig": { @@ -1762,7 +1762,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -1833,7 +1833,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -1946,7 +1946,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -2043,7 +2043,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "Rate of SSTs replicated to connected clients.", "fieldConfig": { @@ -2140,7 +2140,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "Load of TCPReplicator class, which sends statistics packets to connected clients.", "fieldConfig": { @@ -2252,7 +2252,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -2323,7 +2323,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -2436,7 +2436,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -2533,7 +2533,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "Rate of XSTs replicated to connected clients.", "fieldConfig": { @@ -2630,7 +2630,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "Load of TCPReplicator class, which sends statistics packets to connected clients.", "fieldConfig": { @@ -2729,7 +2729,7 @@ { "datasource": { "type": "prometheus", - "uid": "6W2nM-Vnz" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -2812,7 +2812,7 @@ "timepicker": {}, "timezone": "", "title": "Home", - "uid": "nC8N_kO7k", + "uid": "home1", "version": 1, "weekStart": "" } diff --git a/docker-compose/grafana/dashboards/home2.json b/docker-compose/grafana/dashboards/home2.json new file mode 100644 index 0000000000000000000000000000000000000000..1dd1a7f4dfe1aed783ffbfcd91ca7ee53804803e --- /dev/null +++ b/docker-compose/grafana/dashboards/home2.json @@ -0,0 +1,893 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- 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": 12, + "links": [], + "liveNow": false, + "panels": [ + { + "alignNumbersToRightEnabled": true, + "columnAliases": [], + "columnFiltersEnabled": false, + "columnWidthHints": [], + "columns": [], + "compactRowsEnabled": true, + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "datatablePagingType": "simple_numbers", + "datatableTheme": "basic_theme", + "emptyData": false, + "fontSize": "100%", + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 0 + }, + "hoverEnabled": true, + "id": 58, + "infoEnabled": false, + "lengthChangeEnabled": true, + "orderColumnEnabled": true, + "pagingTypes": [ + { + "$$hashKey": "object:142", + "text": "Page number buttons only", + "value": "numbers" + }, + { + "$$hashKey": "object:143", + "text": "'Previous' and 'Next' buttons only", + "value": "simple" + }, + { + "$$hashKey": "object:144", + "text": "'Previous' and 'Next' buttons, plus page numbers", + "value": "simple_numbers" + }, + { + "$$hashKey": "object:145", + "text": "'First', 'Previous', 'Next' and 'Last' buttons", + "value": "full" + }, + { + "$$hashKey": "object:146", + "text": "'First', 'Previous', 'Next' and 'Last' buttons, plus page numbers", + "value": "full_numbers" + }, + { + "$$hashKey": "object:147", + "text": "'First' and 'Last' buttons, plus page numbers", + "value": "first_last_numbers" + } + ], + "panelHeight": 170, + "pluginVersion": "8.4.5", + "rowNumbersEnabled": false, + "rowsPerPage": 5, + "scroll": false, + "scrollHeight": "default", + "searchEnabled": true, + "searchHighlightingEnabled": false, + "showCellBorders": false, + "showHeader": true, + "showRowBorders": true, + "sort": { + "col": 0, + "desc": true + }, + "sortByColumns": [ + { + "$$hashKey": "object:17", + "columnData": 0, + "sortMethod": "desc" + } + ], + "sortByColumnsData": [ + [ + 0, + "desc" + ] + ], + "stripedRowsEnabled": true, + "styles": [ + { + "$$hashKey": "object:19", + "dateFormat": "dd DD/MM HH:mm", + "pattern": "Time", + "type": "date" + }, + { + "$$hashKey": "object:45", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Panel|Dashboard|Alert", + "sanitize": true, + "splitPattern": "/ /", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [] + }, + { + "$$hashKey": "object:76", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "mappingType": 1, + "pattern": "Alerta Link", + "splitPattern": "/ /", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [] + }, + { + "$$hashKey": "object:867", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Since", + "splitPattern": "/ /", + "thresholds": [], + "type": "date", + "unit": "short" + } + ], + "targets": [ + { + "columns": [ + { + "selector": "createTime", + "text": "Since", + "type": "string" + }, + { + "selector": "severity", + "text": "Severity", + "type": "string" + }, + { + "selector": "status", + "text": "Status", + "type": "string" + }, + { + "selector": "event", + "text": "Name", + "type": "string" + }, + { + "selector": "text", + "text": "Description", + "type": "string" + }, + { + "selector": "attributes.lofarDevice", + "text": "Device", + "type": "string" + }, + { + "selector": "attributes.lofarAttribute", + "text": "Attribute", + "type": "string" + }, + { + "selector": "attributes.grafanaDashboardHtml", + "text": "Dashboard", + "type": "string" + }, + { + "selector": "attributes.grafanaPanelHtml", + "text": "Panel", + "type": "string" + }, + { + "selector": "attributes.grafanaAlertHtml", + "text": "Alert", + "type": "string" + }, + { + "selector": "href", + "text": "Alerta Link", + "type": "string" + } + ], + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "filters": [], + "format": "table", + "global_query_id": "", + "hide": false, + "refId": "A", + "root_selector": "", + "source": "url", + "type": "json", + "url": "http://alerta-web:8080/api/alerts", + "url_options": { + "data": "", + "method": "GET" + } + } + ], + "themeOptions": { + "dark": "./styles/dark.scss", + "light": "./styles/light.scss" + }, + "themes": [ + { + "$$hashKey": "object:117", + "disabled": false, + "text": "Basic", + "value": "basic_theme" + }, + { + "$$hashKey": "object:118", + "disabled": true, + "text": "Bootstrap", + "value": "bootstrap_theme" + }, + { + "$$hashKey": "object:119", + "disabled": true, + "text": "Foundation", + "value": "foundation_theme" + }, + { + "$$hashKey": "object:120", + "disabled": true, + "text": "ThemeRoller", + "value": "themeroller_theme" + } + ], + "title": "Alerta Alerts", + "transform": "table", + "type": "briangann-datatable-panel" + }, + { + "description": "", + "gridPos": { + "h": 5, + "w": 24, + "x": 0, + "y": 6 + }, + "id": 60, + "links": [ + { + "targetBlank": true, + "title": "Details", + "url": "/alerting/list" + } + ], + "options": { + "alertInstanceLabelFilter": "", + "alertName": "", + "dashboardAlerts": false, + "groupBy": [], + "groupMode": "default", + "maxItems": 20, + "sortOrder": 1, + "stateFilter": { + "error": true, + "firing": true, + "inactive": false, + "noData": false, + "normal": false, + "pending": true + } + }, + "title": "Firing Alerts", + "type": "alertlist" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 11 + }, + "id": 15, + "panels": [], + "title": "Devices", + "type": "row" + }, + { + "description": "Links to other dashboards", + "gridPos": { + "h": 13, + "w": 3, + "x": 0, + "y": 12 + }, + "id": 47, + "options": { + "folderId": 0, + "maxItems": 10, + "query": "", + "showHeadings": false, + "showRecentlyViewed": false, + "showSearch": true, + "showStarred": false, + "tags": [] + }, + "pluginVersion": "8.4.5", + "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": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Progress of station initialisation", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "yellow", + "value": null + }, + { + "color": "red", + "value": 1 + }, + { + "color": "green", + "value": 100 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 4, + "x": 3, + "y": 12 + }, + "id": 61, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": false, + "text": {} + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "exemplar": true, + "expr": "device_attribute{device=\"stat/boot/1\",name=\"progress_R\"}", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Station Initialisation", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "0": { + "color": "green", + "index": 1, + "text": "ON" + }, + "1": { + "color": "red", + "index": 3, + "text": "OFF" + }, + "7": { + "color": "yellow", + "index": 2, + "text": "STANDBY" + }, + "8": { + "color": "red", + "index": 0, + "text": "FAULT" + }, + "11": { + "color": "red", + "index": 4, + "text": "ALARM" + } + }, + "type": "value" + } + ], + "noValue": "???", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "string" + }, + "overrides": [] + }, + "gridPos": { + "h": 13, + "w": 6, + "x": 7, + "y": 12 + }, + "id": 4, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": { + "titleSize": 20, + "valueSize": 20 + }, + "textMode": "value_and_name" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{name=\"State\",device=~\"stat/.*/1\"}", + "instant": false, + "interval": "", + "legendFormat": "{{device}}", + "refId": "A" + } + ], + "title": "Device States", + "transformations": [ + { + "id": "renameByRegex", + "options": { + "regex": ".*/(.*)/1", + "renamePattern": "$1" + } + } + ], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "noValue": "???", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 1 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 13, + "w": 7, + "x": 13, + "y": 12 + }, + "id": 62, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": { + "titleSize": 20, + "valueSize": 20 + }, + "textMode": "value_and_name" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "sort_desc(sum by (device,name) (device_attribute{name=~\".*_error_R\"})) > 0", + "instant": true, + "interval": "", + "legendFormat": "{{device}} / {{name}}", + "refId": "A" + } + ], + "title": "Error Conditions", + "transformations": [ + { + "id": "renameByRegex", + "options": { + "regex": ".*/(.*)/1", + "renamePattern": "$1" + } + } + ], + "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": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 42, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "max": 3, + "min": 0, + "noValue": "???", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "green", + "value": 1 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 4, + "x": 20, + "y": 12 + }, + "id": 64, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "max_over_time(device_scraping{device=\"total\"}[$__interval])", + "instant": false, + "interval": "", + "legendFormat": "{{device}}", + "refId": "A" + } + ], + "title": "Archiving speed", + "transformations": [ + { + "id": "renameByRegex", + "options": { + "regex": "STAT/(.*)/1", + "renamePattern": "$1" + } + } + ], + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "green", + "value": 100 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 4, + "x": 3, + "y": 18 + }, + "id": 44, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": false + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/boot/1\",name=\"status_R\"}", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Initialisation status", + "transformations": [ + { + "id": "labelsToFields", + "options": {} + }, + { + "id": "merge", + "options": {} + }, + { + "id": "organize", + "options": { + "excludeByName": { + "Time": true, + "Value": true, + "__name__": true, + "device": true, + "device_attribute{device=\"stat/boot/1\", dim_x=\"1\", dim_y=\"0\", instance=\"tango-prometheus-exporter:8000\", job=\"tango\", label=\"status_R\", name=\"status_R\", str_value=\"Initialisation completed\", type=\"string\", x=\"0\", y=\"0\"}": true, + "dim_x": true, + "dim_y": true, + "instance": true, + "job": true, + "label": true, + "name": true, + "type": true, + "x": true, + "y": true + }, + "indexByName": { + "Time": 0, + "Value": 5, + "device": 1, + "dim_x": 2, + "dim_y": 3, + "instance": 4, + "job": 6, + "label": 7, + "name": 8, + "str_value": 9, + "type": 10, + "x": 11, + "y": 12 + }, + "renameByName": { + "name": "", + "str_value": "status" + } + } + } + ], + "type": "table" + } + ], + "refresh": false, + "schemaVersion": 35, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-30m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "Home2", + "uid": "home2", + "version": 2, + "weekStart": "" +} diff --git a/docker-compose/grafana/dashboards/lcu.json b/docker-compose/grafana/dashboards/lcu.json new file mode 100644 index 0000000000000000000000000000000000000000..6e0421f64f63a7397c41a76420ba92ba6039d6f8 --- /dev/null +++ b/docker-compose/grafana/dashboards/lcu.json @@ -0,0 +1,1587 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- 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, + "links": [], + "liveNow": false, + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 15, + "panels": [], + "title": "Devices", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Progress of station initialisation", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "yellow", + "value": null + }, + { + "color": "red", + "value": 1 + }, + { + "color": "green", + "value": 100 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 4, + "x": 0, + "y": 1 + }, + "id": 43, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": false, + "text": {} + }, + "pluginVersion": "8.4.6", + "targets": [ + { + "exemplar": true, + "expr": "device_attribute{device=\"stat/boot/1\",name=\"progress_R\"}", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Boot process", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "0": { + "color": "green", + "index": 1, + "text": "ON" + }, + "1": { + "color": "red", + "index": 3, + "text": "OFF" + }, + "7": { + "color": "yellow", + "index": 2, + "text": "STANDBY" + }, + "8": { + "color": "red", + "index": 0, + "text": "FAULT" + }, + "11": { + "color": "red", + "index": 4, + "text": "ALARM" + } + }, + "type": "value" + } + ], + "noValue": "???", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "string" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 4, + "x": 4, + "y": 1 + }, + "id": 4, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": { + "titleSize": 20, + "valueSize": 20 + }, + "textMode": "value_and_name" + }, + "pluginVersion": "8.4.6", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{name=\"State\",device=~\"stat/.*/1\"}", + "instant": false, + "interval": "", + "legendFormat": "{{device}}", + "refId": "A" + } + ], + "title": "Device States", + "transformations": [ + { + "id": "renameByRegex", + "options": { + "regex": ".*/(.*)/1", + "renamePattern": "$1" + } + } + ], + "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": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 42, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "noValue": "???", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "green", + "value": 1 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 10, + "x": 8, + "y": 1 + }, + "id": 62, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_scraping{device!=\"total\"}", + "instant": false, + "interval": "", + "legendFormat": "{{device}}", + "refId": "A" + } + ], + "title": "Archiving speed", + "transformations": [ + { + "id": "renameByRegex", + "options": { + "regex": "STAT/(.*)/1", + "renamePattern": "$1" + } + } + ], + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "green", + "value": 100 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 4, + "x": 0, + "y": 7 + }, + "id": 44, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": false + }, + "pluginVersion": "8.4.6", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/boot/1\",name=\"status_R\"}", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Boot status", + "transformations": [ + { + "id": "labelsToFields", + "options": {} + }, + { + "id": "merge", + "options": {} + }, + { + "id": "organize", + "options": { + "excludeByName": { + "Time": true, + "Value": true, + "__name__": true, + "device": true, + "device_attribute{device=\"stat/boot/1\", dim_x=\"1\", dim_y=\"0\", instance=\"tango-prometheus-exporter:8000\", job=\"tango\", label=\"status_R\", name=\"status_R\", str_value=\"Initialisation completed\", type=\"string\", x=\"0\", y=\"0\"}": true, + "dim_x": true, + "dim_y": true, + "instance": true, + "job": true, + "label": true, + "name": true, + "type": true, + "x": true, + "y": true + }, + "indexByName": { + "Time": 0, + "Value": 5, + "device": 1, + "dim_x": 2, + "dim_y": 3, + "instance": 4, + "job": 6, + "label": 7, + "name": 8, + "str_value": 9, + "type": 10, + "x": 11, + "y": 12 + }, + "renameByName": { + "name": "", + "str_value": "status" + } + } + } + ], + "type": "table" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 11 + }, + "id": 70, + "panels": [], + "title": "LCU System Performance", + "type": "row" + }, + { + "description": "How much time the CPU spends waiting for I/O to complete.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [], + "max": 1, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "#EAB839", + "value": 0.1 + }, + { + "color": "red", + "value": 0.25 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 4, + "x": 0, + "y": 12 + }, + "id": 64, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "8.4.6", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "avg by(mode) (rate(node_cpu_seconds_total{mode=\"iowait\"}[5m]))", + "instant": true, + "interval": "", + "legendFormat": "{{mode}}", + "refId": "A" + } + ], + "title": "CPU I/O Wait", + "type": "gauge" + }, + { + "description": "How much time the CPU is not idle.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [], + "max": 1, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "yellow", + "value": 0.7 + }, + { + "color": "red", + "value": 0.9 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 4, + "x": 4, + "y": 12 + }, + "id": 66, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "8.4.6", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "1 - avg by(mode) (rate(node_cpu_seconds_total{mode=\"idle\"}[5m]))", + "instant": true, + "interval": "", + "legendFormat": "{{mode}}", + "refId": "A" + } + ], + "title": "CPU Busy", + "type": "gauge" + }, + { + "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": "red", + "value": null + }, + { + "color": "#EAB839", + "value": 0.1009 + }, + { + "color": "green", + "value": 0.3 + } + ] + }, + "unit": "binBps" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 8, + "y": 12 + }, + "id": 72, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "8.4.6", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(node_disk_written_bytes_total{device=~\"sda\"}[5m])", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{device}} write", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(node_disk_read_bytes_total{device=~\"sda\"}[5m])", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{device}} read", + "refId": "A" + } + ], + "title": "Disk I/O", + "type": "timeseries" + }, + { + "description": "Fill percentage of the /localdata partition.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [], + "max": 1, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "#EAB839", + "value": 0.5 + }, + { + "color": "red", + "value": 0.8 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 13, + "y": 12 + }, + "id": 78, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "8.4.6", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "avg by(device) (1 - node_filesystem_free_bytes / node_filesystem_size_bytes)", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{device}}", + "refId": "B" + } + ], + "title": "Disk Fill %", + "type": "gauge" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 18 + }, + "id": 75, + "panels": [], + "title": "LCU Network Performance", + "type": "row" + }, + { + "description": "Amount of network traffic with the outside network.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMax": 10000000, + "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": "red", + "value": null + }, + { + "color": "#EAB839", + "value": 0.1009 + }, + { + "color": "green", + "value": 0.3 + } + ] + }, + "unit": "binbps" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 0, + "y": 19 + }, + "id": 71, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "8.4.6", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(node_network_transmit_bytes_total{device=\"eno1\"}[5m]) * 8", + "instant": false, + "interval": "", + "legendFormat": "{{device}} transmit", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(node_network_receive_bytes_total{device=\"eno1\"}[5m]) * 8", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{device}} receive", + "refId": "B" + } + ], + "title": "Internal Network Traffic", + "type": "timeseries" + }, + { + "description": "Amount of network traffic with the outside network.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMax": 10000000, + "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": "red", + "value": null + }, + { + "color": "#EAB839", + "value": 0.1009 + }, + { + "color": "green", + "value": 0.3 + } + ] + }, + "unit": "binbps" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 5, + "y": 19 + }, + "id": 73, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "8.4.6", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(node_network_transmit_bytes_total{device=\"eno1\"}[5m]) * 8", + "instant": false, + "interval": "", + "legendFormat": "{{device}} transmit", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(node_network_receive_bytes_total{device=\"eno1\"}[5m]) * 8", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{device}} receive", + "refId": "B" + } + ], + "title": "External Network Traffic", + "type": "timeseries" + }, + { + "description": "The rate of UDP packet received but dropped by the kernel.", + "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": "red", + "value": null + }, + { + "color": "#EAB839", + "value": 0.1009 + }, + { + "color": "green", + "value": 0.3 + } + ] + }, + "unit": "pps" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 10, + "y": 19 + }, + "id": 65, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "8.4.6", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(node_netstat_Udp_NoPorts[5m])", + "instant": false, + "interval": "", + "legendFormat": "NoPort", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(node_netstat_Udp_InErrors[5m])", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "InError", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(node_netstat_Udp_RcvbufErrors[5m])", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "RcvBufError", + "refId": "C" + } + ], + "title": "UDP Loss", + "type": "timeseries" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 25 + }, + "id": 68, + "panels": [ + { + "datasource": { + "type": "elasticsearch", + "uid": "elk" + }, + "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": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 5, + "x": 0, + "y": 21 + }, + "id": 32, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "bucketAggs": [ + { + "field": "extra.lofar_id.keyword", + "id": "2", + "settings": { + "min_doc_count": "0", + "order": "desc", + "orderBy": "_term", + "size": "10" + }, + "type": "terms" + }, + { + "field": "@timestamp", + "id": "3", + "settings": { + "interval": "auto", + "min_doc_count": "0", + "trimEdges": "0" + }, + "type": "date_histogram" + } + ], + "metrics": [ + { + "id": "1", + "type": "count" + } + ], + "query": "level:(ERROR or FATAL)", + "refId": "A", + "timeField": "@timestamp" + } + ], + "title": "Logged Errors", + "transformations": [ + { + "id": "renameByRegex", + "options": { + "regex": "\\(.*/.*/1\\)", + "renamePattern": "" + } + } + ], + "type": "timeseries" + }, + { + "datasource": { + "type": "elasticsearch", + "uid": "elk" + }, + "description": "List of the errors in the selected timespan", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "filterable": true + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "@timestamp" + }, + "properties": [ + { + "id": "custom.width", + "value": 149 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "level" + }, + "properties": [ + { + "id": "custom.width", + "value": 62 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "program" + }, + "properties": [ + { + "id": "custom.width", + "value": 287 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "extra.logger_name" + }, + "properties": [ + { + "id": "custom.width", + "value": 72 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "extra.lofar_id" + }, + "properties": [ + { + "id": "custom.width", + "value": 196 + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 18, + "x": 5, + "y": 21 + }, + "id": 56, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "8.4.6", + "targets": [ + { + "alias": "", + "bucketAggs": [], + "metrics": [ + { + "hide": false, + "id": "1", + "settings": { + "limit": "500" + }, + "type": "logs" + } + ], + "query": "level:(ERROR or CRIT or FATAL)", + "refId": "A", + "timeField": "@timestamp" + } + ], + "title": "Error Log", + "transformations": [ + { + "id": "organize", + "options": { + "excludeByName": { + "@version": true, + "_id": true, + "_index": true, + "_source": true, + "_type": true, + "extra.func_name": true, + "extra.interpreter": true, + "extra.interpreter_version": true, + "extra.line": true, + "extra.logger_name": true, + "extra.logstash_async_version": true, + "extra.path": true, + "extra.process_name": true, + "extra.software_version": true, + "extra.tango_device": true, + "extra.thread_name": true, + "highlight": true, + "host": true, + "logsource": true, + "pid": true, + "port": true, + "sort": true, + "tags": true, + "type": true + }, + "indexByName": { + "@timestamp": 0, + "@version": 5, + "_id": 6, + "_index": 7, + "_source": 8, + "_type": 9, + "extra.func_name": 10, + "extra.interpreter": 11, + "extra.interpreter_version": 12, + "extra.line": 13, + "extra.lofar_id": 4, + "extra.logger_name": 14, + "extra.logstash_async_version": 15, + "extra.path": 16, + "extra.process_name": 17, + "extra.software_version": 18, + "extra.tango_device": 19, + "extra.thread_name": 20, + "highlight": 21, + "host": 2, + "level": 1, + "logsource": 22, + "message": 23, + "pid": 24, + "port": 25, + "program": 3, + "sort": 26, + "tags": 27, + "type": 28 + }, + "renameByName": {} + } + } + ], + "type": "table" + } + ], + "title": "Logs", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 26 + }, + "id": 77, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Running docker containers", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "0": { + "color": "red", + "index": 1, + "text": "OFF" + }, + "1": { + "color": "green", + "index": 0, + "text": "ON" + } + }, + "type": "value" + } + ], + "noValue": "???", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "green", + "value": 1 + } + ] + }, + "unit": "string" + }, + "overrides": [] + }, + "gridPos": { + "h": 16, + "w": 6, + "x": 0, + "y": 27 + }, + "id": 61, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": { + "titleSize": 20, + "valueSize": 20 + }, + "textMode": "value_and_name" + }, + "pluginVersion": "8.4.6", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/docker/1\",name!=\"version_R\",name=~\".*_R\"}", + "instant": true, + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "Docker Containers", + "transformations": [ + { + "id": "renameByRegex", + "options": { + "regex": ".*/(.*)/1", + "renamePattern": "$1" + } + } + ], + "type": "stat" + } + ], + "title": "Docker containers", + "type": "row" + } + ], + "refresh": false, + "schemaVersion": 35, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-15m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "LCU", + "uid": "lcu", + "version": 1, + "weekStart": "" +} diff --git a/docker-compose/grafana/dashboards/recv.json b/docker-compose/grafana/dashboards/recv.json new file mode 100644 index 0000000000000000000000000000000000000000..429ce8b55aab5da6dbc841ef3596395632cede0f --- /dev/null +++ b/docker-compose/grafana/dashboards/recv.json @@ -0,0 +1,1670 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- 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": 6, + "links": [], + "liveNow": false, + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 17, + "panels": [], + "title": "Main", + "type": "row" + }, + { + "description": "", + "gridPos": { + "h": 5, + "w": 11, + "x": 0, + "y": 1 + }, + "id": 10, + "links": [ + { + "targetBlank": true, + "title": "Details", + "url": "/alerting/list" + } + ], + "options": { + "alertInstanceLabelFilter": "{device=\"stat/recv/1\"}", + "alertName": "", + "dashboardAlerts": false, + "groupBy": [], + "groupMode": "default", + "maxItems": 20, + "sortOrder": 1, + "stateFilter": { + "error": true, + "firing": true, + "inactive": false, + "noData": false, + "normal": false, + "pending": true + } + }, + "title": "Firing Alerts", + "type": "alertlist" + }, + { + "alignNumbersToRightEnabled": true, + "columnAliases": [], + "columnFiltersEnabled": false, + "columnWidthHints": [], + "columns": [], + "compactRowsEnabled": true, + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "datatablePagingType": "simple_numbers", + "datatableTheme": "basic_theme", + "emptyData": false, + "fontSize": "100%", + "gridPos": { + "h": 10, + "w": 12, + "x": 11, + "y": 1 + }, + "hoverEnabled": true, + "id": 8, + "infoEnabled": false, + "lengthChangeEnabled": false, + "orderColumnEnabled": false, + "pagingTypes": [ + { + "$$hashKey": "object:142", + "text": "Page number buttons only", + "value": "numbers" + }, + { + "$$hashKey": "object:143", + "text": "'Previous' and 'Next' buttons only", + "value": "simple" + }, + { + "$$hashKey": "object:144", + "text": "'Previous' and 'Next' buttons, plus page numbers", + "value": "simple_numbers" + }, + { + "$$hashKey": "object:145", + "text": "'First', 'Previous', 'Next' and 'Last' buttons", + "value": "full" + }, + { + "$$hashKey": "object:146", + "text": "'First', 'Previous', 'Next' and 'Last' buttons, plus page numbers", + "value": "full_numbers" + }, + { + "$$hashKey": "object:147", + "text": "'First' and 'Last' buttons, plus page numbers", + "value": "first_last_numbers" + } + ], + "panelHeight": 322, + "pluginVersion": "8.4.5", + "rowNumbersEnabled": false, + "rowsPerPage": 5, + "scroll": true, + "scrollHeight": "default", + "searchEnabled": false, + "searchHighlightingEnabled": false, + "showCellBorders": false, + "showHeader": true, + "showRowBorders": false, + "sort": { + "col": 0, + "desc": true + }, + "sortByColumns": [ + { + "$$hashKey": "object:17", + "columnData": 0, + "sortMethod": "desc" + } + ], + "sortByColumnsData": [ + [ + 0, + "desc" + ] + ], + "stripedRowsEnabled": true, + "styles": [ + { + "$$hashKey": "object:19", + "dateFormat": "dd DD/MM HH:mm", + "pattern": "Time", + "type": "date" + }, + { + "$$hashKey": "object:45", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Panel|Dashboard|Alert", + "sanitize": true, + "splitPattern": "/ /", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [] + }, + { + "$$hashKey": "object:76", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "mappingType": 1, + "pattern": "Alerta Link", + "splitPattern": "/ /", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [] + }, + { + "$$hashKey": "object:867", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Since", + "splitPattern": "/ /", + "thresholds": [], + "type": "date", + "unit": "short" + } + ], + "targets": [ + { + "columns": [ + { + "selector": "createTime", + "text": "Since", + "type": "string" + }, + { + "selector": "severity", + "text": "Severity", + "type": "string" + }, + { + "selector": "status", + "text": "Status", + "type": "string" + }, + { + "selector": "event", + "text": "Name", + "type": "string" + }, + { + "selector": "attributes.lofarDevice", + "text": "Device", + "type": "string" + }, + { + "selector": "attributes.lofarAttribute", + "text": "Attribute", + "type": "string" + }, + { + "selector": "attributes.grafanaDashboardHtml", + "text": "Dashboard", + "type": "string" + }, + { + "selector": "attributes.grafanaPanelHtml", + "text": "Panel", + "type": "string" + }, + { + "selector": "attributes.grafanaAlertHtml", + "text": "Alert", + "type": "string" + }, + { + "selector": "href", + "text": "Alerta Link", + "type": "string" + } + ], + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "filters": [ + { + "field": "Device", + "operator": "equals", + "value": [ + "stat/recv/1" + ] + } + ], + "format": "table", + "global_query_id": "", + "hide": false, + "refId": "A", + "root_selector": "", + "source": "url", + "type": "json", + "url": "http://alerta-web:8080/api/alerts", + "url_options": { + "data": "", + "method": "GET" + } + } + ], + "themeOptions": { + "dark": "./styles/dark.scss", + "light": "./styles/light.scss" + }, + "themes": [ + { + "$$hashKey": "object:117", + "disabled": false, + "text": "Basic", + "value": "basic_theme" + }, + { + "$$hashKey": "object:118", + "disabled": true, + "text": "Bootstrap", + "value": "bootstrap_theme" + }, + { + "$$hashKey": "object:119", + "disabled": true, + "text": "Foundation", + "value": "foundation_theme" + }, + { + "$$hashKey": "object:120", + "disabled": true, + "text": "ThemeRoller", + "value": "themeroller_theme" + } + ], + "title": "Alerta Alerts", + "transform": "table", + "type": "briangann-datatable-panel" + }, + { + "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" + }, + "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" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 0, + "y": 6 + }, + "id": 12, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/recv/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": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 3, + "y": 6 + }, + "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.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/recv/1\",name=\"Status\"}", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "LCU Device State", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "str_value" + ] + } + } + ], + "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": { + "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": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 7, + "y": 6 + }, + "id": 14, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "max_over_time(device_scraping{device=\"STAT/RECV/1\"}[2m])", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Archiving speed", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "str_value" + ] + } + } + ], + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "green", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 23, + "x": 0, + "y": 11 + }, + "id": 29, + "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_attribute{device=\"stat/recv/1\",name=\"RCU_mask_RW\"}", + "instant": false, + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "RCU Mask", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "green", + "value": 2 + }, + { + "color": "red", + "value": 4 + }, + { + "color": "#EAB839", + "value": 6 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 23, + "x": 0, + "y": 13 + }, + "id": 2, + "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_attribute{device=\"stat/recv/1\",name=\"RCU_LED_colour_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "RCU LED Colour", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "green", + "value": 0 + }, + { + "color": "#EAB839", + "value": 40 + }, + { + "color": "red", + "value": 50 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 23, + "x": 0, + "y": 15 + }, + "id": 3, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "value" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/recv/1\",name=\"RCU_TEMP_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "RCU Temperatures", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 23, + "x": 0, + "y": 17 + }, + "id": 4, + "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_attribute{device=\"stat/recv/1\",name=\"RCU_error_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "RCU OK", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "red", + "value": 10 + }, + { + "color": "green", + "value": 13 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 23, + "x": 0, + "y": 19 + }, + "id": 15, + "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": "sum by (x) (device_attribute{device=\"stat/recv/1\",name=\"RCU_ADC_locked_R\"}) +\r\non(x) (10 * device_attribute{device=\"stat/recv/1\",name=\"RCU_mask_RW\"})", + "instant": false, + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "ADC Clock Lock", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 23, + "x": 0, + "y": 21 + }, + "id": 5, + "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_attribute{device=\"stat/recv/1\",name=\"RECV_VOUT_error_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "Voltages", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 23, + "x": 0, + "y": 23 + }, + "id": 6, + "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_attribute{device=\"stat/recv/1\",name=\"RECV_IOUT_error_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "Currents", + "type": "stat" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 25 + }, + "id": 19, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "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": "transparent" + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 0, + "y": 24 + }, + "id": 21, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/recv/1\",name=\"RCU_PWR_1V8_R\"} > 0", + "interval": "", + "legendFormat": "RCU {{x}}", + "refId": "A" + } + ], + "title": "1.8V", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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": "transparent" + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 6, + "y": 24 + }, + "id": 22, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/recv/1\",name=\"RCU_PWR_2V5_R\"} > 0", + "interval": "", + "legendFormat": "RCU {{x}}", + "refId": "A" + } + ], + "title": "2.5V", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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": "transparent" + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 12, + "y": 24 + }, + "id": 23, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/recv/1\",name=\"RCU_PWR_3V3_R\"} > 0", + "interval": "", + "legendFormat": "RCU {{x}}", + "refId": "A" + } + ], + "title": "3.3V", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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": "transparent" + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 18, + "y": 24 + }, + "id": 24, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/recv/1\",name=\"RCU_PWR_ANT_VIN_R\"} > 0", + "interval": "", + "legendFormat": "RCU {{y}} - antenna {{x}}", + "refId": "A" + } + ], + "title": "ANT_VIN", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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": "transparent" + } + ] + }, + "unit": "mamp" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 18, + "y": 33 + }, + "id": 27, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/recv/1\",name=\"RCU_PWR_ANT_IOUT_R\"} * 1000 > 0", + "interval": "", + "legendFormat": "RCU {{y}} - antenna {{x}}", + "refId": "A" + } + ], + "title": "ANT_IOUT", + "type": "timeseries" + } + ], + "title": "Voltages & Currents", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 26 + }, + "id": 26, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "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": "transparent" + } + ] + }, + "unit": "celsius" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 0, + "y": 25 + }, + "id": 28, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/recv/1\",name=\"RCU_TEMP_R\"} > 0", + "interval": "", + "legendFormat": "RCU {{x}}", + "refId": "A" + } + ], + "title": "RCU Temperature", + "type": "timeseries" + } + ], + "title": "Temperatures", + "type": "row" + } + ], + "refresh": false, + "schemaVersion": 35, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-6h", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "RECV", + "uid": "recv", + "version": 16, + "weekStart": "" +} diff --git a/docker-compose/grafana/dashboards/sdp.json b/docker-compose/grafana/dashboards/sdp.json new file mode 100644 index 0000000000000000000000000000000000000000..6a8a455e13ffc0a279c8e549f132589d63d354d6 --- /dev/null +++ b/docker-compose/grafana/dashboards/sdp.json @@ -0,0 +1,4527 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- 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": 8, + "links": [], + "liveNow": false, + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 25, + "panels": [], + "title": "Main", + "type": "row" + }, + { + "description": "", + "gridPos": { + "h": 5, + "w": 11, + "x": 0, + "y": 1 + }, + "id": 10, + "links": [ + { + "targetBlank": true, + "title": "Details", + "url": "/alerting/list" + } + ], + "options": { + "alertInstanceLabelFilter": "{device=~\"stat/sdp/1|stat/unb2/1\"}", + "alertName": "", + "dashboardAlerts": false, + "groupBy": [], + "groupMode": "default", + "maxItems": 20, + "sortOrder": 1, + "stateFilter": { + "error": true, + "firing": true, + "inactive": false, + "noData": false, + "normal": false, + "pending": true + } + }, + "title": "Firing Alerts", + "type": "alertlist" + }, + { + "alignNumbersToRightEnabled": true, + "columnAliases": [], + "columnFiltersEnabled": false, + "columnWidthHints": [], + "columns": [], + "compactRowsEnabled": true, + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "datatablePagingType": "simple_numbers", + "datatableTheme": "basic_theme", + "emptyData": false, + "fontSize": "100%", + "gridPos": { + "h": 10, + "w": 12, + "x": 11, + "y": 1 + }, + "hoverEnabled": true, + "id": 8, + "infoEnabled": false, + "lengthChangeEnabled": false, + "orderColumnEnabled": false, + "pagingTypes": [ + { + "$$hashKey": "object:142", + "text": "Page number buttons only", + "value": "numbers" + }, + { + "$$hashKey": "object:143", + "text": "'Previous' and 'Next' buttons only", + "value": "simple" + }, + { + "$$hashKey": "object:144", + "text": "'Previous' and 'Next' buttons, plus page numbers", + "value": "simple_numbers" + }, + { + "$$hashKey": "object:145", + "text": "'First', 'Previous', 'Next' and 'Last' buttons", + "value": "full" + }, + { + "$$hashKey": "object:146", + "text": "'First', 'Previous', 'Next' and 'Last' buttons, plus page numbers", + "value": "full_numbers" + }, + { + "$$hashKey": "object:147", + "text": "'First' and 'Last' buttons, plus page numbers", + "value": "first_last_numbers" + } + ], + "panelHeight": 322, + "pluginVersion": "8.4.5", + "rowNumbersEnabled": false, + "rowsPerPage": 5, + "scroll": true, + "scrollHeight": "default", + "searchEnabled": false, + "searchHighlightingEnabled": false, + "showCellBorders": false, + "showHeader": true, + "showRowBorders": false, + "sort": { + "col": 0, + "desc": true + }, + "sortByColumns": [ + { + "$$hashKey": "object:17", + "columnData": 0, + "sortMethod": "desc" + } + ], + "sortByColumnsData": [ + [ + 0, + "desc" + ] + ], + "stripedRowsEnabled": true, + "styles": [ + { + "$$hashKey": "object:19", + "dateFormat": "dd DD/MM HH:mm", + "pattern": "Time", + "type": "date" + }, + { + "$$hashKey": "object:45", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Panel|Dashboard|Alert", + "sanitize": true, + "splitPattern": "/ /", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [] + }, + { + "$$hashKey": "object:76", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "mappingType": 1, + "pattern": "Alerta Link", + "splitPattern": "/ /", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [] + }, + { + "$$hashKey": "object:867", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Since", + "splitPattern": "/ /", + "thresholds": [], + "type": "date", + "unit": "short" + } + ], + "targets": [ + { + "columns": [ + { + "selector": "createTime", + "text": "Since", + "type": "string" + }, + { + "selector": "severity", + "text": "Severity", + "type": "string" + }, + { + "selector": "status", + "text": "Status", + "type": "string" + }, + { + "selector": "event", + "text": "Name", + "type": "string" + }, + { + "selector": "attributes.lofarDevice", + "text": "Device", + "type": "string" + }, + { + "selector": "attributes.lofarAttribute", + "text": "Attribute", + "type": "string" + }, + { + "selector": "attributes.grafanaDashboardHtml", + "text": "Dashboard", + "type": "string" + }, + { + "selector": "attributes.grafanaPanelHtml", + "text": "Panel", + "type": "string" + }, + { + "selector": "attributes.grafanaAlertHtml", + "text": "Alert", + "type": "string" + }, + { + "selector": "href", + "text": "Alerta Link", + "type": "string" + } + ], + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "filters": [ + { + "field": "Device", + "operator": "regex", + "value": [ + "stat/sdp/1|stat/unb2/1" + ] + } + ], + "format": "table", + "global_query_id": "", + "hide": false, + "refId": "A", + "root_selector": "", + "source": "url", + "type": "json", + "url": "http://alerta-web:8080/api/alerts", + "url_options": { + "data": "", + "method": "GET" + } + } + ], + "themeOptions": { + "dark": "./styles/dark.scss", + "light": "./styles/light.scss" + }, + "themes": [ + { + "$$hashKey": "object:117", + "disabled": false, + "text": "Basic", + "value": "basic_theme" + }, + { + "$$hashKey": "object:118", + "disabled": true, + "text": "Bootstrap", + "value": "bootstrap_theme" + }, + { + "$$hashKey": "object:119", + "disabled": true, + "text": "Foundation", + "value": "foundation_theme" + }, + { + "$$hashKey": "object:120", + "disabled": true, + "text": "ThemeRoller", + "value": "themeroller_theme" + } + ], + "title": "Alerta Alerts", + "transform": "table", + "type": "briangann-datatable-panel" + }, + { + "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" + }, + "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" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 0, + "y": 6 + }, + "id": 12, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/sdp/1\",name=\"State\"}", + "instant": true, + "interval": "", + "legendFormat": "{{device}}", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"State\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{device}}", + "refId": "B" + } + ], + "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": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 3, + "y": 6 + }, + "id": 13, + "options": { + "colorMode": "none", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^str_value$/", + "values": false + }, + "text": { + "titleSize": 1, + "valueSize": 20 + }, + "textMode": "value" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=~\"stat/sdp/1\",name=\"Status\"}", + "instant": true, + "interval": "", + "legendFormat": "{{device}}", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=~\"stat/unb2/1\",name=\"Status\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "B" + } + ], + "title": "LCU Device State", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "str_value", + "device" + ], + "mode": "columns" + } + } + ], + "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": { + "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": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 7, + "y": 6 + }, + "id": 14, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "max_over_time(device_scraping{device=\"STAT/SDP/1\"}[$__interval])", + "interval": "", + "legendFormat": "{{device}}", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "max_over_time(device_scraping{device=\"STAT/UNB2/1\"}[$__interval])", + "hide": false, + "interval": "", + "legendFormat": "{{device}}", + "refId": "B" + } + ], + "title": "Archiving speed", + "transformations": [], + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 11 + }, + "id": 29, + "panels": [], + "title": "Uniboard2", + "type": "row" + }, + { + "activePatternIndex": 1, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "debug_mode": false, + "defaultPattern": { + "bgColors": "green|orange|red", + "bgColors_overrides": "0->green|2->red|1->yellow", + "clickable_cells_link": "", + "col_name": "", + "decimals": 2, + "defaultBGColor": "red", + "defaultTextColor": "", + "delimiter": ".", + "displayTemplate": "_value_", + "enable_bgColor": false, + "enable_bgColor_overrides": false, + "enable_clickable_cells": false, + "enable_textColor": false, + "enable_textColor_overrides": false, + "enable_time_based_thresholds": false, + "enable_transform": false, + "enable_transform_overrides": false, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "bool_on_off", + "name": "Default Pattern", + "null_color": "", + "null_textcolor": "black", + "null_value": "No data", + "pattern": "*", + "row_col_wrapper": "_", + "row_name": "_series_", + "textColors": "red|orange|green", + "textColors_overrides": "0->red|2->green|1->yellow", + "thresholds": "70,90", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "_value_|_value_|_value_", + "transform_values_overrides": "0->down|1->up", + "valueName": "current" + }, + "default_title_for_rows": "", + "description": "", + "gridPos": { + "h": 4, + "w": 8, + "x": 0, + "y": 12 + }, + "hide_first_column": false, + "hide_headers": false, + "id": 76, + "non_matching_cells_text": "-", + "patterns": [ + { + "bgColors": "green|orange|red", + "bgColors_overrides": "-2->black|-1->green|0->red|1->green", + "clickable_cells_link": "", + "col_name": "_1_", + "decimals": "0", + "defaultBGColor": "green", + "defaultTextColor": "", + "delimiter": "-", + "displayTemplate": "", + "enable_bgColor": false, + "enable_bgColor_overrides": true, + "enable_clickable_cells": false, + "enable_textColor": false, + "enable_textColor_overrides": true, + "enable_time_based_thresholds": false, + "enable_transform": false, + "enable_transform_overrides": true, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "bool_yes_no", + "name": "New Pattern", + "null_color": "red", + "null_textcolor": "black", + "null_value": "ERR", + "pattern": "^(.*) - (.*)$", + "row_col_wrapper": "_", + "row_name": "_0_", + "textColors": "red|orange|green", + "textColors_overrides": "-2->white|-1->white|0->black|1->white", + "thresholds": "-1|0|1", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "NO|ERR|OK", + "transform_values_overrides": "-2->NO|-1->YES|0->ERR|1->OK", + "valueName": "current" + } + ], + "pluginVersion": "8.4.5", + "row_col_wrapper": "_", + "sorting_props": { + "col_index": -1, + "direction": "desc" + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_mask_RW\"} - 2", + "format": "time_series", + "instant": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Uniboard {{x}} - 0: Mask", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_PWR_on_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "Uniboard {{x}} - 1: Power", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "1 - device_attribute{device=\"stat/unb2/1\",name=\"UNB2_VOUT_error_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "Uniboard {{x}} - 2: Voltage", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "1 - device_attribute{device=\"stat/unb2/1\",name=\"UNB2_IOUT_error_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "Uniboard {{x}} - 3: Current", + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "1 - device_attribute{device=\"stat/unb2/1\",name=\"UNB2_TEMP_error_R\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "Uniboard {{x}} - 4: Temperatures", + "refId": "E" + } + ], + "text_alignment_values": "CENTER", + "title": "Uniboard Status", + "type": "yesoreyeram-boomtable-panel" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "red", + "value": 1 + }, + { + "color": "blue", + "value": 2 + }, + { + "color": "purple", + "value": 3 + }, + { + "color": "green", + "value": 4 + }, + { + "color": "yellow", + "value": 5 + }, + { + "color": "#6ED0E0", + "value": 6 + }, + { + "color": "text", + "value": 7 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 2, + "x": 8, + "y": 12 + }, + "id": 35, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "name" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_Front_Panel_LED_colour_R\"}", + "interval": "", + "legendFormat": "Uniboard {{x}}", + "refId": "A" + } + ], + "title": "LED colour", + "type": "stat" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 16 + }, + "id": 27, + "panels": [], + "title": "SDP", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Is the FPGA being controlled?", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "green", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 0, + "y": 17 + }, + "id": 2, + "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_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "FPGA Mask", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Can the FPGA be reached, and does it report a firmware version?", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "green", + "value": 10 + }, + { + "color": "red", + "value": 11 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 8, + "y": 17 + }, + "id": 16, + "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_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_communication_error_R\"}\r\n+ on(x) (device_attribute{device=\"stat/sdp/1\",name=\"FPGA_firmware_version_R\"} == bool 0)\r\n+ on(x) (10 * device_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"})", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "Translator <-> FPGA Communication", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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": "line" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "yellow", + "value": 0.01 + }, + { + "color": "red", + "value": 0.015 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 7, + "x": 16, + "y": 17 + }, + "id": 21, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/sdp/1\",name=\"FPGA_time_since_last_pps_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "FPGA Time Since PPS", + "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": 10 + }, + { + "color": "green", + "value": 11 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 0, + "y": 19 + }, + "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_attribute{device=\"stat/sdp/1\",name=\"FPGA_pps_present_R\"}\r\n+ on(x) (10 * device_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"})", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "FPGA Clock Lock", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Is the WG turned on, replacing any antenna signal?", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "red", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 8, + "y": 19 + }, + "id": 18, + "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": "sum by (x) (device_attribute{device=\"stat/sdp/1\",name=\"FPGA_wg_enable_R\"})", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "Waveform Generator", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "green", + "value": 1 + }, + { + "color": "#EAB839", + "value": 70 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 0, + "y": 21 + }, + "id": 19, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "value" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/sdp/1\",name=\"FPGA_temp_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "FPGA Temperatures", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Is the FPGA receiving a signal on all of its inputs?", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "green", + "value": 10 + }, + { + "color": "red", + "value": 11 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 8, + "y": 21 + }, + "id": 17, + "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": "(sum by (x) (device_attribute{device=\"stat/sdp/1\", name=\"FPGA_signal_input_rms_R\"}) == bool 0)\r\n+ on(x) (10 * device_attribute{device=\"stat/sdp/1\", name=\"TR_fpga_mask_R\"})\r\n", + "instant": false, + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "FPGA Input Signal", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Is the signal processing enabled?", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "green", + "value": 10 + }, + { + "color": "red", + "value": 11 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 8, + "y": 23 + }, + "id": 15, + "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": "(1 - device_attribute{device=\"stat/sdp/1\", name=\"FPGA_processing_enable_R\"})\r\n+ on(x) (device_attribute{device=\"stat/sdp/1\", name=\"FPGA_boot_image_R\"} != bool 1)\r\n+ on(x) (10 * device_attribute{device=\"stat/sdp/1\", name=\"TR_fpga_mask_R\"})", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "FPGA Processing", + "transformations": [], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Offset between the Translator local time and the FPGA PPS.", + "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": "line" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "yellow", + "value": 0.2 + }, + { + "color": "red", + "value": 0.5 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 7, + "x": 16, + "y": 23 + }, + "id": 22, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/sdp/1\",name=\"TR_tod_pps_delta_R\"}", + "instant": false, + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "Translator Clock Offset", + "type": "timeseries" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 29 + }, + "id": 39, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 4, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 16, + "w": 4, + "x": 0, + "y": 28 + }, + "id": 37, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_DC_DC_48V_12V_VIN_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}}", + "refId": "A" + } + ], + "title": "DC/DC 48V IN", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 3, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 4, + "y": 28 + }, + "id": 40, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_DC_DC_48V_12V_VOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}}", + "refId": "A" + } + ], + "title": "DC/DC 12V OUT", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 4, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 8, + "y": 28 + }, + "id": 43, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_POL_SWITCH_PHY_VOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}} - {{name}}", + "refId": "A" + } + ], + "title": "Switch PHY", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 4, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 12, + "y": 28 + }, + "id": 42, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_POL_SWITCH_1V2_VOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}} - {{name}}", + "refId": "A" + } + ], + "title": "Switch", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 3, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 5, + "x": 16, + "y": 28 + }, + "id": 41, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=~\"UNB2_POL_QSFP_N.*_VOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}} - {{name}}", + "refId": "A" + } + ], + "title": "QSFP", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "amp" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 4, + "y": 36 + }, + "id": 44, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_DC_DC_48V_12V_IOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}}", + "refId": "A" + } + ], + "title": "DC/DC 12V OUT", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "amp" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 8, + "y": 36 + }, + "id": 47, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_POL_SWITCH_PHY_IOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}} - {{name}}", + "refId": "A" + } + ], + "title": "Switch PHY", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "amp" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 12, + "y": 36 + }, + "id": 46, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_POL_SWITCH_1V2_IOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}} - {{name}}", + "refId": "A" + } + ], + "title": "Switch", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "amp" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 5, + "x": 16, + "y": 36 + }, + "id": 45, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=~\"UNB2_POL_QSFP_N.*_IOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}} - {{name}}", + "refId": "A" + } + ], + "title": "QSFP", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 4, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 0, + "y": 44 + }, + "id": 48, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_CORE_VOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}}", + "refId": "A" + } + ], + "title": "POL Core", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 4, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 4, + "y": 44 + }, + "id": 49, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_ERAM_VOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}}", + "refId": "A" + } + ], + "title": "POL ERAM", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 4, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 8, + "y": 44 + }, + "id": 50, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_HGXB_VOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}}", + "refId": "A" + } + ], + "title": "POL HGXB", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 4, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 12, + "y": 44 + }, + "id": 51, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_PGM_VOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}}", + "refId": "A" + } + ], + "title": "POL PGM", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 4, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 16, + "y": 44 + }, + "id": 52, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_RXGXB_VOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}} - {{name}}", + "refId": "A" + } + ], + "title": "POL RXGXB", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 4, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 20, + "y": 44 + }, + "id": 58, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_TXGXB_VOUT_R\"} > 0", + "hide": false, + "interval": "", + "legendFormat": "Uniboard {{x}} - {{name}}", + "refId": "B" + } + ], + "title": "POL TXGXB", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "amp" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 0, + "y": 52 + }, + "id": 53, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_CORE_IOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}}", + "refId": "A" + } + ], + "title": "POL Core", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "amp" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 4, + "y": 52 + }, + "id": 54, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_ERAM_IOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}}", + "refId": "A" + } + ], + "title": "POL ERAM", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "amp" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 8, + "y": 52 + }, + "id": 55, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_HGXB_IOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}}", + "refId": "A" + } + ], + "title": "POL HGXB", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "amp" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 12, + "y": 52 + }, + "id": 56, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_PGM_IOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}}", + "refId": "A" + } + ], + "title": "POL PGM", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "amp" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 16, + "y": 52 + }, + "id": 57, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_RXGXB_IOUT_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}} - {{name}}", + "refId": "A" + } + ], + "title": "POL RXGXB", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "amp" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 4, + "x": 20, + "y": 52 + }, + "id": 59, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=\"UNB2_FPGA_POL_TXGXB_IOUT_R\"} > 0", + "hide": false, + "interval": "", + "legendFormat": "Uniboard {{x}} - {{name}}", + "refId": "B" + } + ], + "title": "POL TXGXB", + "type": "timeseries" + } + ], + "title": "Voltages & Currents", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 30 + }, + "id": 61, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "celsius" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 11, + "x": 0, + "y": 31 + }, + "id": 63, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/unb2/1\",name=~\".*_TEMP_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{x}} - {{name}}", + "refId": "A" + } + ], + "title": "Uniboard Sensors", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "celsius" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 11, + "y": 31 + }, + "id": 64, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/sdp/1\",name=\"FPGA_temp_R\"} > 0", + "interval": "", + "legendFormat": "Uniboard {{y}} - FPGA {{x}}", + "refId": "A" + } + ], + "title": "FPGA", + "type": "timeseries" + } + ], + "title": "Temperatures", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 31 + }, + "id": 66, + "panels": [ + { + "activePatternIndex": -3, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "debug_mode": false, + "defaultPattern": { + "bgColors": "green|orange|red", + "bgColors_overrides": "0->green|2->red|1->yellow", + "clickable_cells_link": "", + "col_name": "", + "decimals": 2, + "defaultBGColor": "red", + "defaultTextColor": "", + "delimiter": ".", + "displayTemplate": "_value_", + "enable_bgColor": false, + "enable_bgColor_overrides": false, + "enable_clickable_cells": false, + "enable_textColor": false, + "enable_textColor_overrides": false, + "enable_time_based_thresholds": false, + "enable_transform": false, + "enable_transform_overrides": false, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "bool_on_off", + "name": "Default Pattern", + "null_color": "green", + "null_textcolor": "black", + "null_value": "No data", + "pattern": "*", + "row_col_wrapper": "_", + "row_name": "_series_", + "textColors": "red|orange|green", + "textColors_overrides": "0->red|2->green|1->yellow", + "thresholds": "70,90", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "_value_|_value_|_value_", + "transform_values_overrides": "0->down|1->up", + "valueName": "current" + }, + "default_title_for_rows": "", + "description": "", + "gridPos": { + "h": 7, + "w": 6, + "x": 0, + "y": 32 + }, + "id": 70, + "non_matching_cells_text": "-", + "patterns": [ + { + "bgColors": "green|orange|red", + "bgColors_overrides": "0->green|2->red|1->yellow", + "clickable_cells_link": "", + "col_name": "_1_", + "decimals": "0", + "defaultBGColor": "red", + "defaultTextColor": "", + "delimiter": "-", + "displayTemplate": "_value_", + "enable_bgColor": false, + "enable_bgColor_overrides": false, + "enable_clickable_cells": false, + "enable_textColor": false, + "enable_textColor_overrides": false, + "enable_time_based_thresholds": false, + "enable_transform": false, + "enable_transform_overrides": false, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "none", + "name": "New Pattern", + "null_color": "green", + "null_textcolor": "black", + "null_value": "0", + "pattern": "^(.*) - (.*)$", + "row_col_wrapper": "_", + "row_name": "_0_", + "textColors": "red|orange|green", + "textColors_overrides": "0->red|2->green|1->yellow", + "thresholds": "70,90", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "_value_|_value_|_value_", + "transform_values_overrides": "0->down|1->up", + "valueName": "current" + } + ], + "pluginVersion": "8.4.5", + "row_col_wrapper": "_", + "sorting_props": { + "col_index": -1, + "direction": "desc" + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/unb2/1\",name=~\"UNB2TR_I2C_bus_(PS_|)error_R\"}", + "format": "time_series", + "instant": true, + "interval": "", + "intervalFactor": 4, + "legendFormat": "Uniboard {{x}}: {{name}} - Value", + "refId": "A" + } + ], + "text_alignment_values": "center", + "title": "Uniboard Bus Errors", + "type": "yesoreyeram-boomtable-panel" + }, + { + "activePatternIndex": -3, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "debug_mode": false, + "defaultPattern": { + "bgColors": "green|orange|red", + "bgColors_overrides": "0->green|2->red|1->yellow", + "clickable_cells_link": "", + "col_name": "", + "decimals": 2, + "defaultBGColor": "red", + "defaultTextColor": "", + "delimiter": ".", + "displayTemplate": "_value_", + "enable_bgColor": false, + "enable_bgColor_overrides": false, + "enable_clickable_cells": false, + "enable_textColor": false, + "enable_textColor_overrides": false, + "enable_time_based_thresholds": false, + "enable_transform": false, + "enable_transform_overrides": false, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "bool_on_off", + "name": "Default Pattern", + "null_color": "green", + "null_textcolor": "black", + "null_value": "No data", + "pattern": "*", + "row_col_wrapper": "_", + "row_name": "_series_", + "textColors": "red|orange|green", + "textColors_overrides": "0->red|2->green|1->yellow", + "thresholds": "70,90", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "_value_|_value_|_value_", + "transform_values_overrides": "0->down|1->up", + "valueName": "current" + }, + "default_title_for_rows": "", + "description": "", + "gridPos": { + "h": 7, + "w": 9, + "x": 6, + "y": 32 + }, + "id": 69, + "non_matching_cells_text": "-", + "patterns": [ + { + "bgColors": "green|orange|red", + "bgColors_overrides": "0->green|2->red|1->yellow", + "clickable_cells_link": "", + "col_name": "_1_", + "decimals": "0", + "defaultBGColor": "red", + "defaultTextColor": "", + "delimiter": "-", + "displayTemplate": "_value_", + "enable_bgColor": false, + "enable_bgColor_overrides": false, + "enable_clickable_cells": false, + "enable_textColor": false, + "enable_textColor_overrides": false, + "enable_time_based_thresholds": false, + "enable_transform": false, + "enable_transform_overrides": false, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "none", + "name": "New Pattern", + "null_color": "green", + "null_textcolor": "black", + "null_value": "0", + "pattern": "^(.*) - (.*)$", + "row_col_wrapper": "_", + "row_name": "_0_", + "textColors": "red|orange|green", + "textColors_overrides": "0->red|2->green|1->yellow", + "thresholds": "70,90", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "_value_|_value_|_value_", + "transform_values_overrides": "0->down|1->up", + "valueName": "current" + } + ], + "pluginVersion": "8.4.5", + "row_col_wrapper": "_", + "sorting_props": { + "col_index": -1, + "direction": "desc" + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/unb2/1\",name=~\"UNB2TR_I2C_bus_(FPGA_PS|DDR4)_error_R\"}", + "format": "time_series", + "instant": true, + "interval": "", + "intervalFactor": 4, + "legendFormat": "Uniboard {{x}}: {{name}} - FPGA #{{y}}", + "refId": "A" + } + ], + "text_alignment_values": "center", + "title": "FPGA Bus Errors", + "type": "yesoreyeram-boomtable-panel" + }, + { + "activePatternIndex": -3, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "debug_mode": false, + "defaultPattern": { + "bgColors": "green|orange|red", + "bgColors_overrides": "0->green|2->red|1->yellow", + "clickable_cells_link": "", + "col_name": "", + "decimals": 2, + "defaultBGColor": "red", + "defaultTextColor": "", + "delimiter": ".", + "displayTemplate": "_value_", + "enable_bgColor": false, + "enable_bgColor_overrides": false, + "enable_clickable_cells": false, + "enable_textColor": false, + "enable_textColor_overrides": false, + "enable_time_based_thresholds": false, + "enable_transform": false, + "enable_transform_overrides": false, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "bool_on_off", + "name": "Default Pattern", + "null_color": "green", + "null_textcolor": "black", + "null_value": "No data", + "pattern": "*", + "row_col_wrapper": "_", + "row_name": "_series_", + "textColors": "red|orange|green", + "textColors_overrides": "0->red|2->green|1->yellow", + "thresholds": "70,90", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "_value_|_value_|_value_", + "transform_values_overrides": "0->down|1->up", + "valueName": "current" + }, + "default_title_for_rows": "", + "description": "", + "gridPos": { + "h": 5, + "w": 15, + "x": 0, + "y": 39 + }, + "id": 67, + "non_matching_cells_text": "-", + "patterns": [ + { + "bgColors": "green|orange|red", + "bgColors_overrides": "0->green|2->red|1->yellow", + "clickable_cells_link": "", + "col_name": "_1_", + "decimals": "0", + "defaultBGColor": "red", + "defaultTextColor": "", + "delimiter": "-", + "displayTemplate": "_value_", + "enable_bgColor": false, + "enable_bgColor_overrides": false, + "enable_clickable_cells": false, + "enable_textColor": false, + "enable_textColor_overrides": false, + "enable_time_based_thresholds": false, + "enable_transform": false, + "enable_transform_overrides": false, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "none", + "name": "New Pattern", + "null_color": "green", + "null_textcolor": "black", + "null_value": "0", + "pattern": "^(.*) - (.*)$", + "row_col_wrapper": "_", + "row_name": "_0_", + "textColors": "red|orange|green", + "textColors_overrides": "0->red|2->green|1->yellow", + "thresholds": "70,90", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "_value_|_value_|_value_", + "transform_values_overrides": "0->down|1->up", + "valueName": "current" + } + ], + "pluginVersion": "8.4.5", + "row_col_wrapper": "_", + "sorting_props": { + "col_index": -1, + "direction": "desc" + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/unb2/1\",name=~\"UNB2TR_I2C_bus_QSFP_error_R\"}", + "format": "time_series", + "instant": true, + "interval": "", + "intervalFactor": 4, + "legendFormat": "Uniboard {{x}}: {{name}} - #{{y}}", + "refId": "A" + } + ], + "text_alignment_values": "center", + "title": "QSFP Bus Errors", + "type": "yesoreyeram-boomtable-panel" + } + ], + "title": "Bus Errors", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 32 + }, + "id": 73, + "panels": [ + { + "activePatternIndex": 0, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "debug_mode": false, + "defaultPattern": { + "bgColors": "green|orange|red", + "bgColors_overrides": "0->green|2->red|1->yellow", + "clickable_cells_link": "", + "col_name": "", + "decimals": 2, + "defaultBGColor": "red", + "defaultTextColor": "", + "delimiter": ".", + "displayTemplate": "_value_", + "enable_bgColor": false, + "enable_bgColor_overrides": false, + "enable_clickable_cells": false, + "enable_textColor": false, + "enable_textColor_overrides": false, + "enable_time_based_thresholds": false, + "enable_transform": false, + "enable_transform_overrides": false, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "bool_on_off", + "name": "Default Pattern", + "null_color": "", + "null_textcolor": "black", + "null_value": "No data", + "pattern": "*", + "row_col_wrapper": "_", + "row_name": "_series_", + "textColors": "red|orange|green", + "textColors_overrides": "0->red|2->green|1->yellow", + "thresholds": "70,90", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "_value_|_value_|_value_", + "transform_values_overrides": "0->down|1->up", + "valueName": "current" + }, + "default_title_for_rows": "Metric", + "description": "Whether the FPGA is being controlled", + "gridPos": { + "h": 17, + "w": 2, + "x": 0, + "y": 33 + }, + "id": 74, + "non_matching_cells_text": "-", + "patterns": [ + { + "bgColors": "green|orange|red", + "bgColors_overrides": "0->green|2->red|1->yellow", + "clickable_cells_link": "", + "col_name": "_1_", + "decimals": "0", + "defaultBGColor": "green", + "defaultTextColor": "", + "delimiter": "-", + "displayTemplate": "_value_", + "enable_bgColor": false, + "enable_bgColor_overrides": false, + "enable_clickable_cells": false, + "enable_textColor": false, + "enable_textColor_overrides": false, + "enable_time_based_thresholds": false, + "enable_transform": false, + "enable_transform_overrides": false, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "none", + "name": "New Pattern", + "null_color": "red", + "null_textcolor": "black", + "null_value": "0", + "pattern": "^(.*) - (.*)$", + "row_col_wrapper": "_", + "row_name": "_0_", + "textColors": "red|orange|green", + "textColors_overrides": "0->red|2->green|1->yellow", + "thresholds": "0", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "_value_|_value_|_value_", + "transform_values_overrides": "0->down|1->up", + "valueName": "current" + } + ], + "pluginVersion": "8.4.5", + "row_col_wrapper": "_", + "sorting_props": { + "col_index": -1, + "direction": "desc" + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"}", + "format": "time_series", + "instant": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": " FPGA {{x}} - Enabled", + "refId": "A" + } + ], + "title": "FPGA mask", + "type": "yesoreyeram-boomtable-panel" + }, + { + "activePatternIndex": 0, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "debug_mode": false, + "defaultPattern": { + "bgColors": "green|orange|red", + "bgColors_overrides": "0->green|2->red|1->yellow", + "clickable_cells_link": "", + "col_name": "", + "decimals": 2, + "defaultBGColor": "red", + "defaultTextColor": "", + "delimiter": ".", + "displayTemplate": "_value_", + "enable_bgColor": false, + "enable_bgColor_overrides": false, + "enable_clickable_cells": false, + "enable_textColor": false, + "enable_textColor_overrides": false, + "enable_time_based_thresholds": false, + "enable_transform": false, + "enable_transform_overrides": false, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "bool_on_off", + "name": "Default Pattern", + "null_color": "", + "null_textcolor": "black", + "null_value": "No data", + "pattern": "*", + "row_col_wrapper": "_", + "row_name": "_series_", + "textColors": "red|orange|green", + "textColors_overrides": "0->red|2->green|1->yellow", + "thresholds": "70,90", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "_value_|_value_|_value_", + "transform_values_overrides": "0->down|1->up", + "valueName": "current" + }, + "default_title_for_rows": "Metric", + "description": "Root-mean-squared signal values for each input of each FPGA", + "gridPos": { + "h": 17, + "w": 8, + "x": 2, + "y": 33 + }, + "id": 68, + "non_matching_cells_text": "-", + "patterns": [ + { + "bgColors": "green|orange|red", + "bgColors_overrides": "0->green|2->red|1->yellow", + "clickable_cells_link": "", + "col_name": "_1_", + "decimals": "0", + "defaultBGColor": "green", + "defaultTextColor": "", + "delimiter": "-", + "displayTemplate": "_value_", + "enable_bgColor": false, + "enable_bgColor_overrides": false, + "enable_clickable_cells": false, + "enable_textColor": false, + "enable_textColor_overrides": false, + "enable_time_based_thresholds": false, + "enable_transform": false, + "enable_transform_overrides": false, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "none", + "name": "New Pattern", + "null_color": "red", + "null_textcolor": "black", + "null_value": "0", + "pattern": "^(.*) - (.*)$", + "row_col_wrapper": "_", + "row_name": "_0_", + "textColors": "red|orange|green", + "textColors_overrides": "0->red|2->green|1->yellow", + "thresholds": "0", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "_value_|_value_|_value_", + "transform_values_overrides": "0->down|1->up", + "valueName": "current" + } + ], + "pluginVersion": "8.4.5", + "row_col_wrapper": "_", + "sorting_props": { + "col_index": -1, + "direction": "desc" + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/sdp/1\",name=\"FPGA_signal_input_rms_R\"}", + "format": "time_series", + "instant": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": " FPGA {{x}} - in {{y}}", + "refId": "A" + } + ], + "title": "FPGA input signal RMS", + "type": "yesoreyeram-boomtable-panel" + }, + { + "activePatternIndex": 0, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "debug_mode": false, + "defaultPattern": { + "bgColors": "green|orange|red", + "bgColors_overrides": "0->green|2->red|1->yellow", + "clickable_cells_link": "", + "col_name": "", + "decimals": 2, + "defaultBGColor": "red", + "defaultTextColor": "", + "delimiter": ".", + "displayTemplate": "_value_", + "enable_bgColor": false, + "enable_bgColor_overrides": false, + "enable_clickable_cells": false, + "enable_textColor": false, + "enable_textColor_overrides": false, + "enable_time_based_thresholds": false, + "enable_transform": false, + "enable_transform_overrides": false, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "bool_on_off", + "name": "Default Pattern", + "null_color": "", + "null_textcolor": "black", + "null_value": "No data", + "pattern": "*", + "row_col_wrapper": "_", + "row_name": "_series_", + "textColors": "red|orange|green", + "textColors_overrides": "0->red|2->green|1->yellow", + "thresholds": "70,90", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "_value_|_value_|_value_", + "transform_values_overrides": "0->down|1->up", + "valueName": "current" + }, + "default_title_for_rows": "Metric", + "description": "Average signal values for each input of each FPGA", + "gridPos": { + "h": 17, + "w": 8, + "x": 10, + "y": 33 + }, + "id": 71, + "non_matching_cells_text": "-", + "patterns": [ + { + "bgColors": "green|orange|red", + "bgColors_overrides": "0->green|2->red|1->yellow", + "clickable_cells_link": "", + "col_name": "_1_", + "decimals": "0", + "defaultBGColor": "green", + "defaultTextColor": "", + "delimiter": "-", + "displayTemplate": "_value_", + "enable_bgColor": false, + "enable_bgColor_overrides": false, + "enable_clickable_cells": false, + "enable_textColor": false, + "enable_textColor_overrides": false, + "enable_time_based_thresholds": false, + "enable_transform": false, + "enable_transform_overrides": false, + "filter": { + "value_above": "", + "value_below": "" + }, + "format": "none", + "name": "New Pattern", + "null_color": "red", + "null_textcolor": "black", + "null_value": "0", + "pattern": "^(.*) - (.*)$", + "row_col_wrapper": "_", + "row_name": "_0_", + "textColors": "red|orange|green", + "textColors_overrides": "0->red|2->green|1->yellow", + "thresholds": "0", + "time_based_thresholds": [], + "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_", + "transform_values": "_value_|_value_|_value_", + "transform_values_overrides": "0->down|1->up", + "valueName": "current" + } + ], + "pluginVersion": "8.4.5", + "row_col_wrapper": "_", + "sorting_props": { + "col_index": -1, + "direction": "desc" + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/sdp/1\",name=\"FPGA_signal_input_mean_R\"}", + "format": "time_series", + "instant": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": " FPGA {{x}} - in {{y}}", + "refId": "A" + } + ], + "title": "FPGA input signal Mean", + "type": "yesoreyeram-boomtable-panel" + } + ], + "title": "Input Signals", + "type": "row" + } + ], + "refresh": false, + "schemaVersion": 35, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-6h", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "SDP", + "uid": "sdp", + "version": 30, + "weekStart": "" +} diff --git a/docker-compose/grafana/dashboards/sst.json b/docker-compose/grafana/dashboards/sst.json new file mode 100644 index 0000000000000000000000000000000000000000..bea3670b1492ad87daefb2475eff215c6408b2a2 --- /dev/null +++ b/docker-compose/grafana/dashboards/sst.json @@ -0,0 +1,1137 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- 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": 9, + "links": [], + "liveNow": false, + "panels": [ + { + "description": "", + "gridPos": { + "h": 5, + "w": 11, + "x": 0, + "y": 0 + }, + "id": 10, + "links": [ + { + "targetBlank": true, + "title": "Details", + "url": "/alerting/list" + } + ], + "options": { + "alertInstanceLabelFilter": "{device=\"stat/sst/1\"}", + "alertName": "", + "dashboardAlerts": false, + "groupBy": [], + "groupMode": "default", + "maxItems": 20, + "sortOrder": 1, + "stateFilter": { + "error": true, + "firing": true, + "inactive": false, + "noData": false, + "normal": false, + "pending": true + } + }, + "title": "Firing Alerts", + "type": "alertlist" + }, + { + "alignNumbersToRightEnabled": true, + "columnAliases": [], + "columnFiltersEnabled": false, + "columnWidthHints": [], + "columns": [], + "compactRowsEnabled": true, + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "datatablePagingType": "simple_numbers", + "datatableTheme": "basic_theme", + "emptyData": true, + "fontSize": "100%", + "gridPos": { + "h": 10, + "w": 12, + "x": 11, + "y": 0 + }, + "hoverEnabled": true, + "id": 8, + "infoEnabled": false, + "lengthChangeEnabled": false, + "orderColumnEnabled": false, + "pagingTypes": [ + { + "$$hashKey": "object:142", + "text": "Page number buttons only", + "value": "numbers" + }, + { + "$$hashKey": "object:143", + "text": "'Previous' and 'Next' buttons only", + "value": "simple" + }, + { + "$$hashKey": "object:144", + "text": "'Previous' and 'Next' buttons, plus page numbers", + "value": "simple_numbers" + }, + { + "$$hashKey": "object:145", + "text": "'First', 'Previous', 'Next' and 'Last' buttons", + "value": "full" + }, + { + "$$hashKey": "object:146", + "text": "'First', 'Previous', 'Next' and 'Last' buttons, plus page numbers", + "value": "full_numbers" + }, + { + "$$hashKey": "object:147", + "text": "'First' and 'Last' buttons, plus page numbers", + "value": "first_last_numbers" + } + ], + "panelHeight": 322, + "pluginVersion": "8.4.5", + "rowNumbersEnabled": false, + "rowsPerPage": 5, + "scroll": true, + "scrollHeight": "default", + "searchEnabled": false, + "searchHighlightingEnabled": false, + "showCellBorders": false, + "showHeader": true, + "showRowBorders": false, + "sort": { + "col": 0, + "desc": true + }, + "sortByColumns": [ + { + "$$hashKey": "object:17", + "columnData": 0, + "sortMethod": "desc" + } + ], + "sortByColumnsData": [ + [ + 0, + "desc" + ] + ], + "stripedRowsEnabled": true, + "styles": [ + { + "$$hashKey": "object:19", + "dateFormat": "dd DD/MM HH:mm", + "pattern": "Time", + "type": "date" + }, + { + "$$hashKey": "object:45", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Panel|Dashboard|Alert", + "sanitize": true, + "splitPattern": "/ /", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [] + }, + { + "$$hashKey": "object:76", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "mappingType": 1, + "pattern": "Alerta Link", + "splitPattern": "/ /", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [] + }, + { + "$$hashKey": "object:867", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Since", + "splitPattern": "/ /", + "thresholds": [], + "type": "date", + "unit": "short" + } + ], + "targets": [ + { + "columns": [ + { + "selector": "createTime", + "text": "Since", + "type": "string" + }, + { + "selector": "severity", + "text": "Severity", + "type": "string" + }, + { + "selector": "status", + "text": "Status", + "type": "string" + }, + { + "selector": "event", + "text": "Name", + "type": "string" + }, + { + "selector": "attributes.lofarDevice", + "text": "Device", + "type": "string" + }, + { + "selector": "attributes.lofarAttribute", + "text": "Attribute", + "type": "string" + }, + { + "selector": "attributes.grafanaDashboardHtml", + "text": "Dashboard", + "type": "string" + }, + { + "selector": "attributes.grafanaPanelHtml", + "text": "Panel", + "type": "string" + }, + { + "selector": "attributes.grafanaAlertHtml", + "text": "Alert", + "type": "string" + }, + { + "selector": "href", + "text": "Alerta Link", + "type": "string" + } + ], + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "filters": [ + { + "field": "Device", + "operator": "equals", + "value": [ + "stat/sst/1" + ] + } + ], + "format": "table", + "global_query_id": "", + "hide": false, + "refId": "A", + "root_selector": "", + "source": "url", + "type": "json", + "url": "http://alerta-web:8080/api/alerts", + "url_options": { + "data": "", + "method": "GET" + } + } + ], + "themeOptions": { + "dark": "./styles/dark.scss", + "light": "./styles/light.scss" + }, + "themes": [ + { + "$$hashKey": "object:117", + "disabled": false, + "text": "Basic", + "value": "basic_theme" + }, + { + "$$hashKey": "object:118", + "disabled": true, + "text": "Bootstrap", + "value": "bootstrap_theme" + }, + { + "$$hashKey": "object:119", + "disabled": true, + "text": "Foundation", + "value": "foundation_theme" + }, + { + "$$hashKey": "object:120", + "disabled": true, + "text": "ThemeRoller", + "value": "themeroller_theme" + } + ], + "title": "Alerta Alerts", + "transform": "table", + "type": "briangann-datatable-panel" + }, + { + "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" + }, + "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" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 0, + "y": 5 + }, + "id": 12, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/sst/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": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 3, + "y": 5 + }, + "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.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/sst/1\",name=\"Status\"}", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "LCU Device State", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "str_value" + ] + } + } + ], + "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": { + "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": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 7, + "y": 5 + }, + "id": 14, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_scraping{device=\"STAT/SST/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" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "green", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 0, + "y": 10 + }, + "id": 2, + "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_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "FPGA Mask", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "The amount of SST data received by the LCU.", + "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": "Bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 8, + "y": 10 + }, + "id": 17, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(device_attribute{device=\"stat/sst/1\",name=\"nof_bytes_received_R\"}[1m])", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "LCU SST Reception", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Packet processing errors on the LCU.", + "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": "pps" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 13, + "y": 10 + }, + "id": 19, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(device_attribute{device=\"stat/sst/1\",name=\"nof_packets_dropped_R\"}[1m])", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(device_attribute{device=\"stat/sst/1\",name=\"nof_invalid_packets_R\"}[1m])", + "hide": false, + "interval": "", + "legendFormat": "{{name}}", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "sum by (name) (rate(device_attribute{device=\"stat/sst/1\",name=\"nof_payload_errors_R\"}[1m]))", + "hide": false, + "interval": "", + "legendFormat": "{{name}}", + "refId": "C" + } + ], + "title": "LCU SST Reception Errors", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "The amount of data sent to external clients that subscribed to the SST stream.", + "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": "Bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 18, + "y": 10 + }, + "id": 18, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(device_attribute{device=\"stat/sst/1\",name=\"replicator_nof_bytes_sent_R\"}[1m])", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "LCU SST Emission", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Whether SSTs are being produced.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 0, + "y": 12 + }, + "id": 15, + "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_attribute{device=\"stat/sst/1\",name=\"FPGA_processing_error_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "SST Processing", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Whether the SSTs had subband calibration weights applied", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "0": { + "index": 1, + "text": "N" + }, + "1": { + "index": 0, + "text": "Y" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "blue", + "value": null + }, + { + "color": "purple", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 0, + "y": 14 + }, + "id": 20, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "value" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/sst/1\",name=\"FPGA_processing_error_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "SST Weighed Subbands", + "type": "stat" + } + ], + "refresh": false, + "schemaVersion": 35, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-5m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "SST", + "uid": "sst", + "version": 3, + "weekStart": "" +} diff --git a/docker-compose/grafana/dashboards/version-information.json b/docker-compose/grafana/dashboards/version-information.json deleted file mode 100644 index abd1f076841d0e4fd86dbd568226356f8270b697..0000000000000000000000000000000000000000 --- a/docker-compose/grafana/dashboards/version-information.json +++ /dev/null @@ -1,685 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": "-- 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, - "gnetId": null, - "graphTooltip": 0, - "id": 2, - "links": [], - "panels": [ - { - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 7, - "title": "SC", - "type": "row" - }, - { - "datasource": "Prometheus", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "auto", - "displayMode": "auto" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "version" - }, - "properties": [ - { - "id": "custom.width", - "value": 1533 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "device" - }, - "properties": [ - { - "id": "custom.width", - "value": 136 - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 1 - }, - "id": 9, - "options": { - "showHeader": true, - "sortBy": [] - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "device_attribute{name=\"version_R\"}", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Device software versions", - "transformations": [ - { - "id": "labelsToFields", - "options": {} - }, - { - "id": "organize", - "options": { - "excludeByName": { - "Time": true, - "Value": true, - "device": false, - "dim_x": true, - "dim_y": true, - "instance": true, - "job": true, - "label": true, - "name": true, - "type": true, - "x": true, - "y": true - }, - "indexByName": {}, - "renameByName": { - "Time": "time", - "Value": "count", - "str_value": "version" - } - } - } - ], - "type": "table" - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 7 - }, - "id": 5, - "panels": [], - "title": "SDP", - "type": "row" - }, - { - "datasource": "Prometheus", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "auto", - "displayMode": "auto" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "version" - }, - "properties": [ - { - "id": "custom.width", - "value": 1907 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "x" - }, - "properties": [ - { - "id": "custom.width", - "value": 114 - } - ] - } - ] - }, - "gridPos": { - "h": 17, - "w": 8, - "x": 0, - "y": 8 - }, - "id": 2, - "options": { - "showHeader": true, - "sortBy": [] - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "device_attribute{device=\"stat/sdp/1\",name=\"FPGA_firmware_version_R\"}", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Firmware versions", - "transformations": [ - { - "id": "labelsToFields", - "options": {} - }, - { - "id": "organize", - "options": { - "excludeByName": { - "Time": true, - "Value": true, - "device": true, - "dim_x": true, - "dim_y": true, - "instance": true, - "job": true, - "label": true, - "name": true, - "str_value": false, - "type": true, - "y": true - }, - "indexByName": { - "Time": 1, - "Value": 12, - "device": 2, - "dim_x": 3, - "dim_y": 4, - "instance": 5, - "job": 6, - "label": 7, - "name": 8, - "str_value": 9, - "type": 10, - "x": 0, - "y": 11 - }, - "renameByName": { - "Time": "time", - "Value": "count", - "str_value": "version" - } - } - }, - { - "id": "sortBy", - "options": { - "fields": {}, - "sort": [ - { - "field": "x" - } - ] - } - } - ], - "type": "table" - }, - { - "datasource": "Prometheus", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "auto", - "displayMode": "auto" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "version" - }, - "properties": [ - { - "id": "custom.width", - "value": 1907 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "x" - }, - "properties": [ - { - "id": "custom.width", - "value": 114 - } - ] - } - ] - }, - "gridPos": { - "h": 17, - "w": 8, - "x": 8, - "y": 8 - }, - "id": 13, - "options": { - "showHeader": true, - "sortBy": [] - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "device_attribute{device=\"stat/sdp/1\",name=\"FPGA_hardware_version_R\"}", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Hardware versions", - "transformations": [ - { - "id": "labelsToFields", - "options": {} - }, - { - "id": "organize", - "options": { - "excludeByName": { - "Time": true, - "Value": true, - "device": true, - "dim_x": true, - "dim_y": true, - "instance": true, - "job": true, - "label": true, - "name": true, - "str_value": false, - "type": true, - "y": true - }, - "indexByName": { - "Time": 1, - "Value": 12, - "device": 2, - "dim_x": 3, - "dim_y": 4, - "instance": 5, - "job": 6, - "label": 7, - "name": 8, - "str_value": 9, - "type": 10, - "x": 0, - "y": 11 - }, - "renameByName": { - "Time": "time", - "Value": "count", - "str_value": "version" - } - } - }, - { - "id": "sortBy", - "options": { - "fields": {}, - "sort": [ - { - "field": "x" - } - ] - } - } - ], - "type": "table" - }, - { - "datasource": "Prometheus", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "auto", - "displayMode": "auto" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "version" - }, - "properties": [ - { - "id": "custom.width", - "value": 497 - } - ] - } - ] - }, - "gridPos": { - "h": 3, - "w": 5, - "x": 16, - "y": 8 - }, - "id": 8, - "options": { - "showHeader": true, - "sortBy": [] - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "count(device_attribute{device=\"stat/sdp/1\",name=\"TR_software_version_R\"}) by (str_value)", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Translator software versions", - "transformations": [ - { - "id": "labelsToFields", - "options": {} - }, - { - "id": "organize", - "options": { - "excludeByName": { - "Time": true, - "Value": true - }, - "indexByName": {}, - "renameByName": { - "Time": "time", - "Value": "count", - "str_value": "version" - } - } - } - ], - "type": "table" - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 25 - }, - "id": 11, - "panels": [], - "title": "RECV", - "type": "row" - }, - { - "datasource": "Prometheus", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "auto", - "displayMode": "auto" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "version" - }, - "properties": [ - { - "id": "custom.width", - "value": 497 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "x" - }, - "properties": [ - { - "id": "custom.width", - "value": 81 - } - ] - } - ] - }, - "gridPos": { - "h": 32, - "w": 7, - "x": 0, - "y": 26 - }, - "id": 12, - "options": { - "showHeader": true, - "sortBy": [] - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "device_attribute{device=\"stat/recv/1\",name=\"RCU_version_R\"}", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "RCU versions", - "transformations": [ - { - "id": "labelsToFields", - "options": {} - }, - { - "id": "organize", - "options": { - "excludeByName": { - "Time": true, - "Value": true, - "device": true, - "dim_x": true, - "dim_y": true, - "instance": true, - "job": true, - "label": true, - "name": true, - "type": true, - "y": true - }, - "indexByName": { - "Time": 1, - "Value": 12, - "device": 2, - "dim_x": 3, - "dim_y": 4, - "instance": 5, - "job": 6, - "label": 7, - "name": 8, - "str_value": 9, - "type": 10, - "x": 0, - "y": 11 - }, - "renameByName": { - "Time": "time", - "Value": "count", - "str_value": "version" - } - } - }, - { - "id": "sortBy", - "options": { - "fields": {}, - "sort": [ - { - "field": "x" - } - ] - } - } - ], - "type": "table" - } - ], - "schemaVersion": 30, - "style": "dark", - "tags": [], - "templating": { - "list": [] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Versions", - "uid": "eR9posS7z", - "version": 1 -} diff --git a/docker-compose/grafana/dashboards/xst.json b/docker-compose/grafana/dashboards/xst.json new file mode 100644 index 0000000000000000000000000000000000000000..d24119dc035cd83176b239685ae2eb3126758a7e --- /dev/null +++ b/docker-compose/grafana/dashboards/xst.json @@ -0,0 +1,1127 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- 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": 10, + "links": [], + "liveNow": false, + "panels": [ + { + "description": "", + "gridPos": { + "h": 5, + "w": 11, + "x": 0, + "y": 0 + }, + "id": 10, + "links": [ + { + "targetBlank": true, + "title": "Details", + "url": "/alerting/list" + } + ], + "options": { + "alertInstanceLabelFilter": "{device=\"stat/xst/1\"}", + "alertName": "", + "dashboardAlerts": false, + "groupBy": [], + "groupMode": "default", + "maxItems": 20, + "sortOrder": 1, + "stateFilter": { + "error": true, + "firing": true, + "inactive": false, + "noData": false, + "normal": false, + "pending": true + } + }, + "title": "Firing Alerts", + "type": "alertlist" + }, + { + "alignNumbersToRightEnabled": true, + "columnAliases": [], + "columnFiltersEnabled": false, + "columnWidthHints": [], + "columns": [], + "compactRowsEnabled": true, + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "datatablePagingType": "simple_numbers", + "datatableTheme": "basic_theme", + "emptyData": true, + "fontSize": "100%", + "gridPos": { + "h": 10, + "w": 12, + "x": 11, + "y": 0 + }, + "hoverEnabled": true, + "id": 8, + "infoEnabled": false, + "lengthChangeEnabled": false, + "orderColumnEnabled": false, + "pagingTypes": [ + { + "$$hashKey": "object:142", + "text": "Page number buttons only", + "value": "numbers" + }, + { + "$$hashKey": "object:143", + "text": "'Previous' and 'Next' buttons only", + "value": "simple" + }, + { + "$$hashKey": "object:144", + "text": "'Previous' and 'Next' buttons, plus page numbers", + "value": "simple_numbers" + }, + { + "$$hashKey": "object:145", + "text": "'First', 'Previous', 'Next' and 'Last' buttons", + "value": "full" + }, + { + "$$hashKey": "object:146", + "text": "'First', 'Previous', 'Next' and 'Last' buttons, plus page numbers", + "value": "full_numbers" + }, + { + "$$hashKey": "object:147", + "text": "'First' and 'Last' buttons, plus page numbers", + "value": "first_last_numbers" + } + ], + "panelHeight": 419, + "pluginVersion": "8.4.5", + "rowNumbersEnabled": false, + "rowsPerPage": 5, + "scroll": true, + "scrollHeight": "default", + "searchEnabled": false, + "searchHighlightingEnabled": false, + "showCellBorders": false, + "showHeader": true, + "showRowBorders": false, + "sort": { + "col": 0, + "desc": true + }, + "sortByColumns": [ + { + "$$hashKey": "object:17", + "columnData": 0, + "sortMethod": "desc" + } + ], + "sortByColumnsData": [ + [ + 0, + "desc" + ] + ], + "stripedRowsEnabled": true, + "styles": [ + { + "$$hashKey": "object:19", + "dateFormat": "dd DD/MM HH:mm", + "pattern": "Time", + "type": "date" + }, + { + "$$hashKey": "object:45", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Panel|Dashboard|Alert", + "sanitize": true, + "splitPattern": "/ /", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [] + }, + { + "$$hashKey": "object:76", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "mappingType": 1, + "pattern": "Alerta Link", + "splitPattern": "/ /", + "thresholds": [], + "type": "string", + "unit": "short", + "valueMaps": [] + }, + { + "$$hashKey": "object:867", + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "mappingType": 1, + "pattern": "Since", + "splitPattern": "/ /", + "thresholds": [], + "type": "date", + "unit": "short" + } + ], + "targets": [ + { + "columns": [ + { + "selector": "createTime", + "text": "Since", + "type": "string" + }, + { + "selector": "severity", + "text": "Severity", + "type": "string" + }, + { + "selector": "status", + "text": "Status", + "type": "string" + }, + { + "selector": "event", + "text": "Name", + "type": "string" + }, + { + "selector": "attributes.lofarDevice", + "text": "Device", + "type": "string" + }, + { + "selector": "attributes.lofarAttribute", + "text": "Attribute", + "type": "string" + }, + { + "selector": "attributes.grafanaDashboardHtml", + "text": "Dashboard", + "type": "string" + }, + { + "selector": "attributes.grafanaPanelHtml", + "text": "Panel", + "type": "string" + }, + { + "selector": "attributes.grafanaAlertHtml", + "text": "Alert", + "type": "string" + }, + { + "selector": "href", + "text": "Alerta Link", + "type": "string" + } + ], + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "filters": [ + { + "field": "Device", + "operator": "equals", + "value": [ + "stat/xst/1" + ] + } + ], + "format": "table", + "global_query_id": "", + "hide": false, + "refId": "A", + "root_selector": "", + "source": "url", + "type": "json", + "url": "http://alerta-web:8080/api/alerts", + "url_options": { + "data": "", + "method": "GET" + } + } + ], + "themeOptions": { + "dark": "./styles/dark.scss", + "light": "./styles/light.scss" + }, + "themes": [ + { + "$$hashKey": "object:117", + "disabled": false, + "text": "Basic", + "value": "basic_theme" + }, + { + "$$hashKey": "object:118", + "disabled": true, + "text": "Bootstrap", + "value": "bootstrap_theme" + }, + { + "$$hashKey": "object:119", + "disabled": true, + "text": "Foundation", + "value": "foundation_theme" + }, + { + "$$hashKey": "object:120", + "disabled": true, + "text": "ThemeRoller", + "value": "themeroller_theme" + } + ], + "title": "Alerta Alerts", + "transform": "table", + "type": "briangann-datatable-panel" + }, + { + "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" + }, + "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" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 0, + "y": 5 + }, + "id": 12, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/xst/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": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 3, + "y": 5 + }, + "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.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": false, + "expr": "device_attribute{device=\"stat/xst/1\",name=\"Status\"}", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "LCU Device State", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "str_value" + ] + } + } + ], + "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": { + "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": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 7, + "y": 5 + }, + "id": 14, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_scraping{device=\"STAT/XST/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" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "green", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 0, + "y": 10 + }, + "id": 2, + "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_attribute{device=\"stat/sdp/1\",name=\"TR_fpga_mask_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "FPGA Mask", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "The amount of XST data received by the LCU.", + "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": "Bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 8, + "y": 10 + }, + "id": 17, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(device_attribute{device=\"stat/xst/1\",name=\"nof_bytes_received_R\"}[1m])", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "LCU XST Reception", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Packet processing errors on the LCU.", + "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": "pps" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 13, + "y": 10 + }, + "id": 19, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(device_attribute{device=\"stat/xst/1\",name=\"nof_packets_dropped_R\"}[1m])", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(device_attribute{device=\"stat/xst/1\",name=\"nof_invalid_packets_R\"}[1m])", + "hide": false, + "interval": "", + "legendFormat": "{{name}}", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "sum by (name) (rate(device_attribute{device=\"stat/xst/1\",name=\"nof_payload_errors_R\"}[1m]))", + "hide": false, + "interval": "", + "legendFormat": "{{name}}", + "refId": "C" + } + ], + "title": "LCU XST Reception Errors", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "The amount of data sent to external clients that subscribed to the XST stream.", + "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": "Bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 5, + "x": 18, + "y": 10 + }, + "id": 18, + "options": { + "legend": { + "calcs": [], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "rate(device_attribute{device=\"stat/xst/1\",name=\"replicator_nof_bytes_sent_R\"}[1m])", + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "LCU XST Emission", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Whether XSTs are being produced.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 0, + "y": 12 + }, + "id": 15, + "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_attribute{device=\"stat/xst/1\",name=\"FPGA_processing_error_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "XST Processing", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Number of parallel subbands for which XSTs are produced.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "green", + "value": 1 + }, + { + "color": "#EAB839", + "value": 7 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 0, + "y": 14 + }, + "id": 20, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "value" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "exemplar": true, + "expr": "device_attribute{device=\"stat/xst/1\",name=\"FPGA_xst_offload_nof_crosslets_R\"}", + "interval": "", + "legendFormat": "{{x}}", + "refId": "A" + } + ], + "title": "Number of Subbands", + "type": "stat" + } + ], + "refresh": false, + "schemaVersion": 35, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-5m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "XST", + "uid": "xst", + "version": 2, + "weekStart": "" +} diff --git a/docker-compose/grafana/datasources/archiver-timescale.yaml b/docker-compose/grafana/datasources/archiver-timescale.yaml index 69a896dae776283d41283c33688088700f85cadf..af3a3abdebd6f0e9c9a15edca39dd2f53ee76d27 100644 --- a/docker-compose/grafana/datasources/archiver-timescale.yaml +++ b/docker-compose/grafana/datasources/archiver-timescale.yaml @@ -10,7 +10,7 @@ datasources: # <int> org id. will default to orgId 1 if not specified orgId: 1 # <string> custom UID which can be used to reference this datasource in other parts of the configuration, if not specified will be generated automatically - uid: ZqArtG97z + uid: timescaledb # <string> url url: archiver-timescale # <string> Deprecated, use secureJsonData.password diff --git a/docker-compose/grafana/datasources/elk.yaml b/docker-compose/grafana/datasources/elk.yaml index 7dc0535bf5bfcfd9446836d8425dd74a320918e6..e1a703cb50bbd27006cfd97750b4eef37184829d 100644 --- a/docker-compose/grafana/datasources/elk.yaml +++ b/docker-compose/grafana/datasources/elk.yaml @@ -10,7 +10,7 @@ datasources: # <int> org id. will default to orgId 1 if not specified orgId: 1 # <string> custom UID which can be used to reference this datasource in other parts of the configuration, if not specified will be generated automatically - uid: RuQjz8V7z + uid: elk # <string> url url: elk:9200 # <string> Deprecated, use secureJsonData.password diff --git a/docker-compose/grafana/datasources/prometheus.yaml b/docker-compose/grafana/datasources/prometheus.yaml index 4fa5401637600c354232afee0585534ce7ab696e..efea8bd474db6eb6c9865c1731be5e4a46c42fcc 100644 --- a/docker-compose/grafana/datasources/prometheus.yaml +++ b/docker-compose/grafana/datasources/prometheus.yaml @@ -10,7 +10,7 @@ datasources: # <int> org id. will default to orgId 1 if not specified orgId: 1 # <string> custom UID which can be used to reference this datasource in other parts of the configuration, if not specified will be generated automatically - uid: 6W2nM-Vnz + uid: prometheus # <string> url url: http://prometheus:9090 # <string> Deprecated, use secureJsonData.password @@ -28,7 +28,7 @@ datasources: # <bool> enable/disable with credentials headers withCredentials: # <bool> mark as default datasource. Max one per org - isDefault: false + isDefault: true # <map> fields that will be converted to json and stored in jsonData jsonData: httpMethod: POST diff --git a/docker-compose/grafana/datasources/tangodb.yaml b/docker-compose/grafana/datasources/tangodb.yaml index 9a962a2417f0c963249b53fde925d8c11fcdc996..f8e1b58e32644b829276ec08f3e151abd5864977 100644 --- a/docker-compose/grafana/datasources/tangodb.yaml +++ b/docker-compose/grafana/datasources/tangodb.yaml @@ -10,7 +10,7 @@ datasources: # <int> org id. will default to orgId 1 if not specified orgId: 1 # <string> custom UID which can be used to reference this datasource in other parts of the configuration, if not specified will be generated automatically - uid: d5_heb47k + uid: tangodb # <string> url url: tangodb # <string> Deprecated, use secureJsonData.password diff --git a/docker-compose/grafana/grafana.ini b/docker-compose/grafana/grafana.ini index acfabe0f10190c2b07ae579d21bd1abfc1891ff3..a05da04de6eed9551215dca3bdedbd72843ff1be 100644 --- a/docker-compose/grafana/grafana.ini +++ b/docker-compose/grafana/grafana.ini @@ -290,7 +290,7 @@ enable_gzip = true ;min_refresh_interval = 5s # Path to the default home dashboard. If this value is empty, then Grafana uses StaticRootPath + "dashboards/home.json" -default_home_dashboard_path = /var/lib/grafana/dashboards/home.json +default_home_dashboard_path = /var/lib/grafana/dashboards/home2.json #################################### Users ############################### [users] diff --git a/docker-compose/grafana/rules.json b/docker-compose/grafana/rules.json index 81467dd918dd0be60e7bde30dcce798d8f209892..b870d4cbc2b8e5708213fd4e4f3d1c5501d4467d 100644 --- a/docker-compose/grafana/rules.json +++ b/docker-compose/grafana/rules.json @@ -1 +1 @@ -{"station":[{"name":"FPGA processing error","interval":"10s","rules":[{"expr":"","for":"20s","labels":{"severity":"major"},"annotations":{"__dashboardUid__":"nC8N_kO7k","__panelId__":"9","summary":"One or more FPGAs are unusable."},"grafana_alert":{"id":1,"orgId":1,"title":"FPGA processing error","condition":"B","data":[{"refId":"A","queryType":"","relativeTimeRange":{"from":600,"to":0},"datasourceUid":"ZqArtG97z","model":{"format":"time_series","group":[],"hide":false,"intervalMs":1000,"maxDataPoints":43200,"metricColumn":"none","rawQuery":true,"rawSql":"SELECT\n $__timeGroup(data_time, $__interval),\n x::text,\n device,\n name,\n value\nFROM lofar_array_boolean\nWHERE\n $__timeFilter(data_time) AND\n name = 'fpga_error_r'\nORDER BY 1,2","refId":"A","select":[[{"params":["value_r"],"type":"column"}]],"table":"att_scalar_devdouble","timeColumn":"data_time","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"}]}},{"refId":"B","queryType":"","relativeTimeRange":{"from":0,"to":0},"datasourceUid":"-100","model":{"conditions":[{"evaluator":{"params":[0],"type":"gt"},"operator":{"type":"and"},"query":{"params":["A"]},"reducer":{"params":[],"type":"last"},"type":"query"}],"datasource":{"type":"__expr__","uid":"-100"},"expression":"A","hide":false,"intervalMs":1000,"maxDataPoints":43200,"reducer":"last","refId":"B","settings":{"mode":"dropNN"},"type":"reduce"}}],"updated":"2022-04-04T18:01:53Z","intervalSeconds":10,"version":3,"uid":"kujybCynk","namespace_uid":"R_jsbCynz","namespace_id":6,"rule_group":"FPGA processing error","no_data_state":"NoData","exec_err_state":"Alerting"}}]}]} \ No newline at end of file +{"station":[{"name":"FPGA processing error","interval":"10s","rules":[{"expr":"","for":"20s","labels":{"severity":"major"},"annotations":{"__dashboardUid__":"nC8N_kO7k","__panelId__":"9","summary":"One or more FPGAs are unusable."},"grafana_alert":{"id":1,"orgId":1,"title":"FPGA processing error","condition":"B","data":[{"refId":"A","queryType":"","relativeTimeRange":{"from":600,"to":0},"datasourceUid":"timescaledb","model":{"format":"time_series","group":[],"hide":false,"intervalMs":1000,"maxDataPoints":43200,"metricColumn":"none","rawQuery":true,"rawSql":"SELECT\n $__timeGroup(data_time, $__interval),\n x::text,\n device,\n name,\n value\nFROM lofar_array_boolean\nWHERE\n $__timeFilter(data_time) AND\n name = 'fpga_error_r'\nORDER BY 1,2","refId":"A","select":[[{"params":["value_r"],"type":"column"}]],"table":"att_scalar_devdouble","timeColumn":"data_time","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"}]}},{"refId":"B","queryType":"","relativeTimeRange":{"from":0,"to":0},"datasourceUid":"-100","model":{"conditions":[{"evaluator":{"params":[0],"type":"gt"},"operator":{"type":"and"},"query":{"params":["A"]},"reducer":{"params":[],"type":"last"},"type":"query"}],"datasource":{"type":"__expr__","uid":"-100"},"expression":"A","hide":false,"intervalMs":1000,"maxDataPoints":43200,"reducer":"last","refId":"B","settings":{"mode":"dropNN"},"type":"reduce"}}],"updated":"2022-04-04T18:01:53Z","intervalSeconds":10,"version":3,"uid":"kujybCynk","namespace_uid":"R_jsbCynz","namespace_id":6,"rule_group":"FPGA processing error","no_data_state":"NoData","exec_err_state":"Alerting"}}]}]} \ No newline at end of file diff --git a/tangostationcontrol/tangostationcontrol/devices/sdp/sdp.py b/tangostationcontrol/tangostationcontrol/devices/sdp/sdp.py index 574fede48a3c1bf36672902fd1777686e63aa4e5..914c84441b2170a68cba9b0372639ea25bc76e4d 100644 --- a/tangostationcontrol/tangostationcontrol/devices/sdp/sdp.py +++ b/tangostationcontrol/tangostationcontrol/devices/sdp/sdp.py @@ -191,7 +191,7 @@ class SDP(opcua_device): def read_FPGA_processing_error_R(self): return self.read_attribute("TR_fpga_mask_R") & ( ~self.read_attribute("FPGA_processing_enable_R") - | (self.read_attribute("FPGA_boot_image_R") == 0) + | (self.read_attribute("FPGA_boot_image_R") <= 0) ) def read_FPGA_input_error_R(self): diff --git a/tangostationcontrol/tangostationcontrol/devices/sdp/sst.py b/tangostationcontrol/tangostationcontrol/devices/sdp/sst.py index a1771325fbf3f5a662339a5476a25ebb8733250a..2ce9d18a718ec3ee61378299b6a45ce7d1acaf83 100644 --- a/tangostationcontrol/tangostationcontrol/devices/sdp/sst.py +++ b/tangostationcontrol/tangostationcontrol/devices/sdp/sst.py @@ -115,7 +115,7 @@ class SST(Statistics): def read_FPGA_processing_error_R(self): return self.sdp_proxy.TR_fpga_mask_RW & ( - ~self.proxy.FPGA_sst_offload_enable_R + ~self.read_attribute("FPGA_sst_offload_enable_R") ) # -------- diff --git a/tangostationcontrol/tangostationcontrol/devices/sdp/xst.py b/tangostationcontrol/tangostationcontrol/devices/sdp/xst.py index 173d33ecb2fa3daed947a7d9d0239cfeab4044b5..443012ced8b29c6a34c4a4c57932554733ba022c 100644 --- a/tangostationcontrol/tangostationcontrol/devices/sdp/xst.py +++ b/tangostationcontrol/tangostationcontrol/devices/sdp/xst.py @@ -239,7 +239,8 @@ class XST(Statistics): def read_FPGA_processing_error_R(self): return self.sdp_proxy.TR_fpga_mask_RW & ( - ~self.proxy.FPGA_xst_offload_enable_R + ~self.read_attribute("FPGA_xst_offload_enable_R") + | ~self.read_attribute("FPGA_xst_processing_enable_R") ) # -------- diff --git a/tangostationcontrol/tangostationcontrol/devices/tilebeam.py b/tangostationcontrol/tangostationcontrol/devices/tilebeam.py index 25373f689e280bb2c81a1d6cbb5527a611f02092..fff2beba61230d0777c68f1f90c7f99fa1c2c3eb 100644 --- a/tangostationcontrol/tangostationcontrol/devices/tilebeam.py +++ b/tangostationcontrol/tangostationcontrol/devices/tilebeam.py @@ -63,6 +63,11 @@ class TileBeam(beam_device): dtype=((numpy.str,),), max_dim_x=3, max_dim_y=96, fget=lambda self: self._pointing_direction_rw) + Pointing_direction_str_R = attribute(access=AttrWriteType.READ, + doc='Pointing direction as a formatted string', + dtype=(numpy.str,), max_dim_x=96, + fget=lambda self: ["{0} ({1}, {2})".format(*x) for x in self._pointing_direction_r]) + Pointing_timestamp_R = attribute(access=AttrWriteType.READ, dtype=(numpy.double,), max_dim_x=96, fget=lambda self: self._pointing_timestamp_r)