diff --git a/docker-compose/grafana/dashboards/home.json b/docker-compose/grafana/dashboards/home.json index 98250c378ec60c9a79205cbb5afc3e125f75e31c..c798b4621671135c3f1d2060547b913f820669ba 100644 --- a/docker-compose/grafana/dashboards/home.json +++ b/docker-compose/grafana/dashboards/home.json @@ -20,20 +20,218 @@ }, "editable": true, "fiscalYearStartMonth": 0, - "gnetId": null, "graphTooltip": 0, "id": 5, "links": [], "liveNow": false, "panels": [ + { + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "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": "severity" + }, + "properties": [ + { + "id": "custom.width", + "value": 101 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "status" + }, + "properties": [ + { + "id": "custom.width", + "value": 83 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "event" + }, + "properties": [ + { + "id": "custom.width", + "value": 176 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "device" + }, + "properties": [ + { + "id": "custom.width", + "value": 98 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "attribute" + }, + "properties": [ + { + "id": "custom.width", + "value": 113 + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 58, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "columns": [ + { + "selector": "severity", + "text": "", + "type": "string" + }, + { + "selector": "status", + "text": "", + "type": "string" + }, + { + "selector": "event", + "text": "", + "type": "string" + }, + { + "selector": "text", + "text": "", + "type": "string" + }, + { + "selector": "attributes.lofarDevice", + "text": "device", + "type": "string" + }, + { + "selector": "attributes.lofarAttribute", + "text": "attribute", + "type": "string" + }, + { + "selector": "href", + "text": "", + "type": "string" + } + ], + "datasource": { + "type": "yesoreyeram-infinity-datasource", + "uid": "alertaui" + }, + "filters": [], + "format": "table", + "global_query_id": "", + "refId": "A", + "root_selector": "", + "source": "url", + "type": "json", + "url": "http://alerta-web:8080/api/alerts", + "url_options": { + "data": "", + "method": "GET" + } + } + ], + "title": "Alerta Alerts", + "type": "table" + }, + { + "description": "", + "gridPos": { + "h": 5, + "w": 24, + "x": 0, + "y": 6 + }, + "id": 60, + "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": "Grafana Alerts", + "type": "alertlist" + }, { "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 0 + "y": 11 }, "id": 15, "panels": [], @@ -41,7 +239,10 @@ "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "Progress of station initialisation", "fieldConfig": { "defaults": { @@ -76,7 +277,7 @@ "h": 6, "w": 4, "x": 0, - "y": 1 + "y": 12 }, "id": 43, "options": { @@ -92,7 +293,7 @@ "showThresholdMarkers": false, "text": {} }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -106,7 +307,10 @@ "type": "gauge" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "fieldConfig": { "defaults": { "color": { @@ -166,7 +370,7 @@ "h": 9, "w": 6, "x": 4, - "y": 1 + "y": 12 }, "id": 4, "options": { @@ -187,7 +391,7 @@ }, "textMode": "value_and_name" }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -211,7 +415,10 @@ "type": "stat" }, { - "datasource": "ELK logs", + "datasource": { + "type": "elasticsearch", + "uid": "RuQjz8V7z" + }, "fieldConfig": { "defaults": { "color": { @@ -266,7 +473,7 @@ "h": 9, "w": 10, "x": 10, - "y": 1 + "y": 12 }, "id": 32, "options": { @@ -276,7 +483,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -329,13 +537,12 @@ "type": "timeseries" }, { - "datasource": null, "description": "Links to other dashboards", "gridPos": { "h": 9, "w": 4, "x": 20, - "y": 1 + "y": 12 }, "id": 47, "options": { @@ -348,7 +555,7 @@ "showStarred": false, "tags": [] }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "format": "time_series", @@ -383,7 +590,10 @@ "type": "dashlist" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "", "fieldConfig": { "defaults": { @@ -415,13 +625,20 @@ "h": 3, "w": 4, "x": 0, - "y": 7 + "y": 18 }, "id": 44, "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": false }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -485,7 +702,10 @@ "type": "table" }, { - "datasource": "ELK logs", + "datasource": { + "type": "elasticsearch", + "uid": "RuQjz8V7z" + }, "description": "List of the errors in the selected timespan", "fieldConfig": { "defaults": { @@ -579,14 +799,21 @@ "h": 5, "w": 24, "x": 0, - "y": 10 + "y": 21 }, "id": 56, "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [] }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "alias": "", @@ -676,12 +903,11 @@ }, { "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 15 + "y": 26 }, "id": 49, "panels": [], @@ -689,7 +915,10 @@ "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "State of APSCT", "fieldConfig": { "defaults": { @@ -717,7 +946,7 @@ "h": 3, "w": 21, "x": 0, - "y": 16 + "y": 27 }, "id": 24, "options": { @@ -735,7 +964,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -797,7 +1026,10 @@ "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "State of APSPU", "fieldConfig": { "defaults": { @@ -825,7 +1057,7 @@ "h": 3, "w": 3, "x": 21, - "y": 16 + "y": 27 }, "id": 50, "options": { @@ -843,7 +1075,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -859,12 +1091,11 @@ }, { "collapsed": true, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 19 + "y": 30 }, "id": 53, "panels": [], @@ -872,7 +1103,10 @@ "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "State of Unboard 2 I2C Bus", "fieldConfig": { "defaults": { @@ -904,7 +1138,7 @@ "h": 3, "w": 24, "x": 0, - "y": 20 + "y": 31 }, "id": 54, "options": { @@ -922,7 +1156,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -970,12 +1204,11 @@ }, { "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 23 + "y": 34 }, "id": 17, "panels": [], @@ -983,7 +1216,10 @@ "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "fieldConfig": { "defaults": { "color": { @@ -1014,7 +1250,7 @@ "h": 8, "w": 6, "x": 0, - "y": 24 + "y": 35 }, "id": 21, "options": { @@ -1032,7 +1268,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -1047,7 +1283,10 @@ "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "fieldConfig": { "defaults": { "color": { @@ -1078,7 +1317,7 @@ "h": 8, "w": 6, "x": 6, - "y": 24 + "y": 35 }, "id": 25, "options": { @@ -1096,7 +1335,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -1112,7 +1351,10 @@ "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "", "fieldConfig": { "defaults": { @@ -1144,7 +1386,7 @@ "h": 8, "w": 6, "x": 12, - "y": 24 + "y": 35 }, "id": 51, "options": { @@ -1162,7 +1404,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -1179,12 +1421,11 @@ }, { "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 32 + "y": 43 }, "id": 19, "panels": [], @@ -1192,7 +1433,10 @@ "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "", "fieldConfig": { "defaults": { @@ -1224,7 +1468,7 @@ "h": 8, "w": 5, "x": 0, - "y": 33 + "y": 44 }, "id": 11, "options": { @@ -1242,7 +1486,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -1260,7 +1504,10 @@ "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "", "fieldConfig": { "defaults": { @@ -1292,7 +1539,7 @@ "h": 8, "w": 5, "x": 5, - "y": 33 + "y": 44 }, "id": 9, "options": { @@ -1310,7 +1557,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -1328,7 +1575,10 @@ "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "Number of inputs that are fed from the SDP wave-form generator", "fieldConfig": { "defaults": { @@ -1366,7 +1616,7 @@ "h": 4, "w": 3, "x": 10, - "y": 33 + "y": 44 }, "id": 12, "options": { @@ -1384,7 +1634,7 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -1403,12 +1653,11 @@ }, { "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 41 + "y": 52 }, "id": 27, "panels": [], @@ -1416,7 +1665,10 @@ "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "", "fieldConfig": { "defaults": { @@ -1448,7 +1700,7 @@ "h": 8, "w": 5, "x": 0, - "y": 42 + "y": 53 }, "id": 28, "options": { @@ -1466,7 +1718,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -1484,7 +1736,10 @@ "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "", "fieldConfig": { "defaults": { @@ -1546,7 +1801,7 @@ "h": 8, "w": 5, "x": 5, - "y": 42 + "y": 53 }, "id": 29, "options": { @@ -1556,7 +1811,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.1.2", @@ -1593,7 +1849,10 @@ "type": "timeseries" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "", "fieldConfig": { "defaults": { @@ -1655,7 +1914,7 @@ "h": 8, "w": 5, "x": 10, - "y": 42 + "y": 53 }, "id": 30, "options": { @@ -1665,7 +1924,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.1.2", @@ -1686,7 +1946,10 @@ "type": "timeseries" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "Rate of SSTs replicated to connected clients.", "fieldConfig": { "defaults": { @@ -1748,7 +2011,7 @@ "h": 8, "w": 5, "x": 15, - "y": 42 + "y": 53 }, "id": 33, "options": { @@ -1758,7 +2021,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.1.2", @@ -1779,7 +2043,10 @@ "type": "timeseries" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "Load of TCPReplicator class, which sends statistics packets to connected clients.", "fieldConfig": { "defaults": { @@ -1843,7 +2110,7 @@ "h": 8, "w": 3, "x": 20, - "y": 42 + "y": 53 }, "id": 34, "options": { @@ -1853,7 +2120,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.1.2", @@ -1875,12 +2143,11 @@ }, { "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 50 + "y": 61 }, "id": 36, "panels": [], @@ -1888,7 +2155,10 @@ "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "", "fieldConfig": { "defaults": { @@ -1920,7 +2190,7 @@ "h": 4, "w": 5, "x": 0, - "y": 51 + "y": 62 }, "id": 37, "options": { @@ -1938,7 +2208,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -1956,7 +2226,10 @@ "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "", "fieldConfig": { "defaults": { @@ -2018,7 +2291,7 @@ "h": 8, "w": 5, "x": 5, - "y": 51 + "y": 62 }, "id": 38, "options": { @@ -2028,7 +2301,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.1.2", @@ -2065,7 +2339,10 @@ "type": "timeseries" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "", "fieldConfig": { "defaults": { @@ -2127,7 +2404,7 @@ "h": 8, "w": 5, "x": 10, - "y": 51 + "y": 62 }, "id": 39, "options": { @@ -2137,7 +2414,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.1.2", @@ -2158,7 +2436,10 @@ "type": "timeseries" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "Rate of XSTs replicated to connected clients.", "fieldConfig": { "defaults": { @@ -2220,7 +2501,7 @@ "h": 8, "w": 5, "x": 15, - "y": 51 + "y": 62 }, "id": 40, "options": { @@ -2230,7 +2511,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.1.2", @@ -2251,7 +2533,10 @@ "type": "timeseries" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "Load of TCPReplicator class, which sends statistics packets to connected clients.", "fieldConfig": { "defaults": { @@ -2315,7 +2600,7 @@ "h": 8, "w": 3, "x": 20, - "y": 51 + "y": 62 }, "id": 41, "options": { @@ -2325,7 +2610,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.1.2", @@ -2346,7 +2632,10 @@ "type": "timeseries" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "6W2nM-Vnz" + }, "description": "", "fieldConfig": { "defaults": { @@ -2378,7 +2667,7 @@ "h": 4, "w": 5, "x": 0, - "y": 55 + "y": 66 }, "id": 45, "options": { @@ -2396,7 +2685,7 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.2.1", + "pluginVersion": "8.4.5", "targets": [ { "exemplar": true, @@ -2415,7 +2704,7 @@ } ], "refresh": false, - "schemaVersion": 31, + "schemaVersion": 35, "style": "dark", "tags": [], "templating": { @@ -2429,5 +2718,6 @@ "timezone": "", "title": "Home", "uid": "nC8N_kO7k", - "version": 6 + "version": 6, + "weekStart": "" }