diff --git a/quickstart/exampledata/config/grafana/dashboards/logprep-dashboard.json b/quickstart/exampledata/config/grafana/dashboards/logprep-dashboard.json index 22376390a..1c10109f2 100644 --- a/quickstart/exampledata/config/grafana/dashboards/logprep-dashboard.json +++ b/quickstart/exampledata/config/grafana/dashboards/logprep-dashboard.json @@ -18,10 +18,225 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 3, + "id": 2, "links": [], "liveNow": false, "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 3, + "panels": [], + "title": "Overview", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "promz2394" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 1, + "x": 0, + "y": 1 + }, + "id": 4, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "10.1.4", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "promz2394" + }, + "editorMode": "code", + "expr": "sum(logprep_number_of_errors_total)", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Errors", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "promz2394" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 1, + "x": 1, + "y": 1 + }, + "id": 5, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "10.1.4", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "promz2394" + }, + "editorMode": "code", + "expr": "sum(logprep_number_of_warnings_total)", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Warnings", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "promz2394" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 1000 + }, + { + "color": "yellow", + "value": 1000 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 24, + "x": 0, + "y": 4 + }, + "id": 6, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "10.1.4", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "promz2394" + }, + "editorMode": "code", + "expr": "count by (type)(logprep_number_of_processed_events_total{component=\"rule\"})", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Number of Rules per Processor", + "type": "stat" + }, { "datasource": { "type": "prometheus", @@ -89,7 +304,7 @@ "h": 9, "w": 8, "x": 0, - "y": 0 + "y": 7 }, "id": 1, "options": { @@ -182,7 +397,6 @@ } }, "mappings": [], - "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ @@ -204,7 +418,7 @@ "h": 9, "w": 8, "x": 0, - "y": 9 + "y": 16 }, "id": 2, "options": { @@ -267,6 +481,6 @@ "timezone": "", "title": "Logprep Version 0.0.1", "uid": "b1d9c144-d9a7-4a9c-a6c4-6929eec1c776", - "version": 3, + "version": 1, "weekStart": "" } \ No newline at end of file