From 68b2693cd44efcb9b147474be6612f2433e57313 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 25 Feb 2022 22:46:10 +0100 Subject: [PATCH] Update Grafana dashboard --- ...rafana-garage-dashboard-elasticsearch.json | 734 ++++++++++++------ 1 file changed, 477 insertions(+), 257 deletions(-) diff --git a/script/telemetry/grafana-garage-dashboard-elasticsearch.json b/script/telemetry/grafana-garage-dashboard-elasticsearch.json index 28648f99..385b0591 100644 --- a/script/telemetry/grafana-garage-dashboard-elasticsearch.json +++ b/script/telemetry/grafana-garage-dashboard-elasticsearch.json @@ -146,7 +146,8 @@ "id": "2", "settings": { "interval": "auto", - "min_doc_count": "0" + "min_doc_count": "0", + "trimEdges": "1" }, "type": "date_histogram" } @@ -391,7 +392,8 @@ "id": "2", "settings": { "interval": "auto", - "min_doc_count": "0" + "min_doc_count": "0", + "trimEdges": "1" }, "type": "date_histogram" } @@ -513,7 +515,8 @@ "id": "2", "settings": { "interval": "auto", - "min_doc_count": "0" + "min_doc_count": "0", + "trimEdges": "1" }, "type": "date_histogram" } @@ -758,7 +761,8 @@ "id": "2", "settings": { "interval": "auto", - "min_doc_count": "0" + "min_doc_count": "0", + "trimEdges": "1" }, "type": "date_histogram" } @@ -879,7 +883,8 @@ "field": "@timestamp", "id": "2", "settings": { - "interval": "auto" + "interval": "auto", + "trimEdges": "1" }, "type": "date_histogram" } @@ -1001,7 +1006,8 @@ "id": "2", "settings": { "interval": "auto", - "min_doc_count": "0" + "min_doc_count": "0", + "trimEdges": "1" }, "type": "date_histogram" } @@ -1111,7 +1117,7 @@ "id": "2", "settings": { "interval": "auto", - "trimEdges": "0" + "trimEdges": "1" }, "type": "date_histogram" } @@ -1222,7 +1228,7 @@ "id": "2", "settings": { "interval": "auto", - "trimEdges": "0" + "trimEdges": "1" }, "type": "date_histogram" } @@ -1332,7 +1338,8 @@ "field": "@timestamp", "id": "2", "settings": { - "interval": "auto" + "interval": "auto", + "trimEdges": "1" }, "type": "date_histogram" } @@ -1398,6 +1405,7 @@ } }, "mappings": [], + "min": 0, "thresholds": { "mode": "absolute", "steps": [ @@ -1440,7 +1448,7 @@ "id": "2", "settings": { "interval": "auto", - "trimEdges": "5" + "trimEdges": "2" }, "type": "date_histogram" } @@ -1670,7 +1678,7 @@ "settings": { "interval": "auto", "min_doc_count": "0", - "trimEdges": "0" + "trimEdges": "2" }, "type": "date_histogram" } @@ -1694,6 +1702,449 @@ "title": "Table GC todo queue", "type": "timeseries" }, + { + "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": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 0, + "y": 29 + }, + "id": 24, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "alias": "", + "bucketAggs": [ + { + "field": "@timestamp", + "id": "2", + "settings": { + "interval": "auto", + "trimEdges": "2" + }, + "type": "date_histogram" + } + ], + "datasource": { + "type": "elasticsearch", + "uid": "${DS_DS_ELASTICSEARCH}" + }, + "metrics": [ + { + "field": "block_resync_error_counter", + "hide": true, + "id": "1", + "type": "sum" + }, + { + "field": "1", + "id": "3", + "pipelineAgg": "1", + "type": "derivative" + } + ], + "query": "processor.event:metric", + "refId": "A", + "timeField": "@timestamp" + } + ], + "title": "Resync errors", + "type": "timeseries" + }, + { + "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": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 6, + "y": 29 + }, + "id": 25, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "alias": "", + "bucketAggs": [ + { + "field": "@timestamp", + "id": "2", + "settings": { + "interval": "auto", + "trimEdges": "2" + }, + "type": "date_histogram" + } + ], + "datasource": { + "type": "elasticsearch", + "uid": "${DS_DS_ELASTICSEARCH}" + }, + "metrics": [ + { + "field": "block_resync_errored_blocks", + "hide": false, + "id": "1", + "type": "sum" + } + ], + "query": "processor.event:metric", + "refId": "A", + "timeField": "@timestamp" + } + ], + "title": "Blocks in error status", + "type": "timeseries" + }, + { + "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": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 12, + "y": 29 + }, + "id": 23, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "alias": "", + "bucketAggs": [ + { + "field": "@timestamp", + "id": "2", + "settings": { + "interval": "auto" + }, + "type": "date_histogram" + } + ], + "datasource": { + "type": "elasticsearch", + "uid": "${DS_DS_ELASTICSEARCH}" + }, + "metrics": [ + { + "field": "block_corruption_counter", + "hide": true, + "id": "1", + "type": "sum" + }, + { + "field": "1", + "id": "3", + "pipelineAgg": "1", + "type": "derivative" + } + ], + "query": "processor.event:metric", + "refId": "A", + "timeField": "@timestamp" + } + ], + "title": "Data corruptions detected", + "type": "timeseries" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMin": 0, + "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": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 18, + "y": 29 + }, + "id": 21, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "alias": "", + "bucketAggs": [ + { + "field": "labels.to", + "id": "6", + "settings": { + "min_doc_count": "1", + "order": "desc", + "orderBy": "_term", + "size": "10" + }, + "type": "terms" + }, + { + "field": "@timestamp", + "id": "2", + "settings": { + "interval": "auto", + "min_doc_count": "0", + "trimEdges": "1" + }, + "type": "date_histogram" + } + ], + "datasource": { + "type": "elasticsearch", + "uid": "${DS_DS_ELASTICSEARCH}" + }, + "metrics": [ + { + "field": "rpc_netapp_error_counter", + "hide": true, + "id": "1", + "type": "sum" + }, + { + "field": "1", + "hide": false, + "id": "5", + "pipelineAgg": "1", + "type": "derivative" + } + ], + "query": "processor.event:metric", + "refId": "A", + "timeField": "@timestamp" + } + ], + "title": "RPC errors (network layer)", + "type": "timeseries" + }, { "fieldConfig": { "defaults": { @@ -1751,7 +2202,7 @@ "h": 9, "w": 6, "x": 0, - "y": 29 + "y": 38 }, "id": 13, "options": { @@ -1784,7 +2235,8 @@ "id": "2", "settings": { "interval": "auto", - "min_doc_count": "0" + "min_doc_count": "0", + "trimEdges": "1" }, "type": "date_histogram" } @@ -1873,7 +2325,7 @@ "h": 9, "w": 6, "x": 6, - "y": 29 + "y": 38 }, "id": 16, "options": { @@ -1940,7 +2392,6 @@ "custom": { "axisLabel": "", "axisPlacement": "auto", - "axisSoftMin": 0, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -1988,9 +2439,9 @@ "h": 9, "w": 6, "x": 12, - "y": 29 + "y": 38 }, - "id": 21, + "id": 9, "options": { "legend": { "calcs": [], @@ -2005,23 +2456,12 @@ { "alias": "", "bucketAggs": [ - { - "field": "labels.to", - "id": "6", - "settings": { - "min_doc_count": "1", - "order": "desc", - "orderBy": "_term", - "size": "10" - }, - "type": "terms" - }, { "field": "@timestamp", "id": "2", "settings": { "interval": "auto", - "min_doc_count": "0" + "trimEdges": "2" }, "type": "date_histogram" } @@ -2032,15 +2472,14 @@ }, "metrics": [ { - "field": "rpc_netapp_error_counter", + "field": "admin_http_requests_total", "hide": true, "id": "1", "type": "sum" }, { "field": "1", - "hide": false, - "id": "5", + "id": "3", "pipelineAgg": "1", "type": "derivative" } @@ -2050,7 +2489,7 @@ "timeField": "@timestamp" } ], - "title": "RPC errors (network layer)", + "title": "Admin request rate", "type": "timeseries" }, { @@ -2110,7 +2549,7 @@ "h": 9, "w": 6, "x": 18, - "y": 29 + "y": 38 }, "id": 22, "options": { @@ -2221,7 +2660,6 @@ } }, "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ @@ -2242,118 +2680,7 @@ "h": 9, "w": 6, "x": 0, - "y": 38 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "alias": "", - "bucketAggs": [ - { - "field": "@timestamp", - "id": "2", - "settings": { - "interval": "auto" - }, - "type": "date_histogram" - } - ], - "datasource": { - "type": "elasticsearch", - "uid": "${DS_DS_ELASTICSEARCH}" - }, - "metrics": [ - { - "field": "admin_http_requests_total", - "hide": true, - "id": "1", - "type": "sum" - }, - { - "field": "1", - "id": "3", - "pipelineAgg": "1", - "type": "derivative" - } - ], - "query": "processor.event:metric", - "refId": "A", - "timeField": "@timestamp" - } - ], - "title": "Admin request rate", - "type": "timeseries" - }, - { - "datasource": { - "type": "elasticsearch", - "uid": "${DS_DS_ELASTICSEARCH}" - }, - "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 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 6, - "x": 6, - "y": 38 + "y": 47 }, "id": 10, "options": { @@ -2401,7 +2728,8 @@ "field": "@timestamp", "id": "2", "settings": { - "interval": "auto" + "interval": "auto", + "trimEdges": "2" }, "type": "date_histogram" } @@ -2509,114 +2837,6 @@ ], "title": "Event duration", "type": "timeseries" - }, - { - "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": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 38 - }, - "id": 23, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "alias": "", - "bucketAggs": [ - { - "field": "@timestamp", - "id": "2", - "settings": { - "interval": "auto" - }, - "type": "date_histogram" - } - ], - "datasource": { - "type": "elasticsearch", - "uid": "${DS_DS_ELASTICSEARCH}" - }, - "metrics": [ - { - "field": "block_corruption_counter", - "hide": true, - "id": "1", - "type": "sum" - }, - { - "field": "1", - "id": "3", - "pipelineAgg": "1", - "type": "derivative" - } - ], - "query": "processor.event:metric", - "refId": "A", - "timeField": "@timestamp" - } - ], - "title": "Data corruptions detected", - "type": "timeseries" } ], "refresh": "10s", @@ -2634,6 +2854,6 @@ "timezone": "", "title": "Garage", "uid": "ODT8K4B7e", - "version": 12, + "version": 13, "weekStart": "" } \ No newline at end of file