diff --git a/docker-compose/grafana/dashboards/lcu.json b/docker-compose/grafana/dashboards/lcu.json index e2337e7b31f864ddd95d91de326725fe77d410ff..719c017ecea3bcc295b8486cd2cf414197f1f3bb 100644 --- a/docker-compose/grafana/dashboards/lcu.json +++ b/docker-compose/grafana/dashboards/lcu.json @@ -25,295 +25,13 @@ "links": [], "liveNow": false, "panels": [ - { - "gridPos": { - "h": 8, - "w": 7, - "x": 0, - "y": 0 - }, - "id": 64, - "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": "Panel Title", - "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": 8, - "w": 16, - "x": 7, - "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": 246, - "pluginVersion": "8.4.5", - "rowNumbersEnabled": false, - "rowsPerPage": 5, - "scroll": true, - "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": "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" - }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 8 + "y": 0 }, "id": 15, "panels": [], @@ -359,7 +77,7 @@ "h": 6, "w": 4, "x": 0, - "y": 9 + "y": 1 }, "id": 43, "options": { @@ -449,14 +167,14 @@ "overrides": [] }, "gridPos": { - "h": 9, + "h": 14, "w": 4, "x": 4, - "y": 9 + "y": 1 }, "id": 4, "options": { - "colorMode": "background", + "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", @@ -547,14 +265,14 @@ "overrides": [] }, "gridPos": { - "h": 9, - "w": 4, + "h": 14, + "w": 5, "x": 8, - "y": 9 + "y": 1 }, "id": 61, "options": { - "colorMode": "background", + "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", @@ -579,7 +297,7 @@ "uid": "6W2nM-Vnz" }, "exemplar": false, - "expr": "device_attribute{device=\"stat/docker/1\",name=~\"device_.*_R\"}", + "expr": "device_attribute{device=\"stat/docker/1\",name!=\"version_R\",name=~\".*_R\"}", "instant": true, "interval": "", "legendFormat": "{{name}}", @@ -598,28 +316,6 @@ ], "type": "stat" }, - { - "description": "", - "gridPos": { - "h": 9, - "w": 4, - "x": 12, - "y": 9 - }, - "id": 66, - "options": { - "maxItems": 20, - "query": "", - "showHeadings": true, - "showRecentlyViewed": false, - "showSearch": true, - "showStarred": false, - "tags": [] - }, - "pluginVersion": "8.4.5", - "title": "Dashboards", - "type": "dashlist" - }, { "datasource": { "type": "prometheus", @@ -682,10 +378,10 @@ "overrides": [] }, "gridPos": { - "h": 9, - "w": 7, - "x": 16, - "y": 9 + "h": 8, + "w": 10, + "x": 13, + "y": 1 }, "id": 62, "options": { @@ -762,7 +458,7 @@ "h": 3, "w": 4, "x": 0, - "y": 15 + "y": 7 }, "id": 44, "options": { @@ -899,16 +595,16 @@ "overrides": [] }, "gridPos": { - "h": 8, - "w": 6, + "h": 9, + "w": 5, "x": 0, - "y": 18 + "y": 15 }, "id": 32, "options": { "legend": { "calcs": [], - "displayMode": "list", + "displayMode": "hidden", "placement": "bottom" }, "tooltip": { @@ -1060,10 +756,10 @@ ] }, "gridPos": { - "h": 8, - "w": 17, - "x": 6, - "y": 18 + "h": 9, + "w": 18, + "x": 5, + "y": 15 }, "id": 56, "options": { @@ -1180,7 +876,7 @@ "timepicker": {}, "timezone": "", "title": "LCU", - "uid": "Pd3cMsUnz", - "version": 1, + "uid": "lcu", + "version": 3, "weekStart": "" }