From bfb4353df50f31fc3b00a9833c09b8de16b471fc Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 14 Mar 2022 10:55:30 +0100 Subject: Update Grafana dashboard --- .../grafana-garage-dashboard-elasticsearch.json | 867 +++++++++++++++------ 1 file changed, 613 insertions(+), 254 deletions(-) (limited to 'script/telemetry/grafana-garage-dashboard-elasticsearch.json') diff --git a/script/telemetry/grafana-garage-dashboard-elasticsearch.json b/script/telemetry/grafana-garage-dashboard-elasticsearch.json index 28648f99..456ff84d 100644 --- a/script/telemetry/grafana-garage-dashboard-elasticsearch.json +++ b/script/telemetry/grafana-garage-dashboard-elasticsearch.json @@ -21,7 +21,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "8.3.5" + "version": "8.4.3" }, { "type": "panel", @@ -53,6 +53,7 @@ "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, + "iteration": 1647250457308, "links": [], "liveNow": false, "panels": [ @@ -116,6 +117,7 @@ "y": 0 }, "id": 8, + "interval": ">$interval", "options": { "legend": { "calcs": [], @@ -123,7 +125,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -146,7 +149,8 @@ "id": "2", "settings": { "interval": "auto", - "min_doc_count": "0" + "min_doc_count": "0", + "trimEdges": "1" }, "type": "date_histogram" } @@ -170,7 +174,7 @@ "type": "derivative" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "A", "timeField": "@timestamp" } @@ -225,7 +229,8 @@ "value": 80 } ] - } + }, + "unit": "s" }, "overrides": [] }, @@ -236,6 +241,7 @@ "y": 0 }, "id": 11, + "interval": ">$interval", "options": { "legend": { "calcs": [], @@ -243,7 +249,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -282,7 +289,7 @@ "type": "avg" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "E", "timeField": "@timestamp" } @@ -297,7 +304,7 @@ "mode": "palette-classic" }, "custom": { - "axisLabel": "", + "axisLabel": "Error rate", "axisPlacement": "auto", "axisSoftMin": 0, "barAlignment": 0, @@ -350,6 +357,7 @@ "y": 0 }, "id": 17, + "interval": ">$interval", "options": { "legend": { "calcs": [], @@ -357,7 +365,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -391,7 +400,8 @@ "id": "2", "settings": { "interval": "auto", - "min_doc_count": "0" + "min_doc_count": "0", + "trimEdges": "1" }, "type": "date_histogram" } @@ -412,10 +422,13 @@ "hide": false, "id": "5", "pipelineAgg": "1", + "settings": { + "unit": "second" + }, "type": "derivative" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "A", "timeField": "@timestamp" } @@ -472,7 +485,8 @@ "value": 80 } ] - } + }, + "unit": "reqps" }, "overrides": [] }, @@ -483,6 +497,7 @@ "y": 8 }, "id": 18, + "interval": ">$interval", "options": { "legend": { "calcs": [], @@ -490,7 +505,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -504,7 +520,7 @@ "min_doc_count": "1", "order": "desc", "orderBy": "_term", - "size": "10" + "size": "15" }, "type": "terms" }, @@ -534,10 +550,13 @@ "hide": false, "id": "5", "pipelineAgg": "1", + "settings": { + "unit": "second" + }, "type": "derivative" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "A", "timeField": "@timestamp" } @@ -592,7 +611,8 @@ "value": 80 } ] - } + }, + "unit": "s" }, "overrides": [] }, @@ -603,6 +623,7 @@ "y": 8 }, "id": 19, + "interval": ">$interval", "options": { "legend": { "calcs": [], @@ -610,7 +631,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -649,7 +671,7 @@ "type": "avg" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "E", "timeField": "@timestamp" } @@ -706,7 +728,8 @@ "value": 80 } ] - } + }, + "unit": "reqps" }, "overrides": [] }, @@ -724,7 +747,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -758,7 +782,8 @@ "id": "2", "settings": { "interval": "auto", - "min_doc_count": "0" + "min_doc_count": "0", + "trimEdges": "1" }, "type": "date_histogram" } @@ -782,7 +807,7 @@ "type": "derivative" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "A", "timeField": "@timestamp" } @@ -857,7 +882,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -879,7 +905,8 @@ "field": "@timestamp", "id": "2", "settings": { - "interval": "auto" + "interval": "auto", + "trimEdges": "1" }, "type": "date_histogram" } @@ -903,7 +930,7 @@ "type": "derivative" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "B", "timeField": "@timestamp" } @@ -978,7 +1005,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -1001,7 +1029,8 @@ "id": "2", "settings": { "interval": "auto", - "min_doc_count": "0" + "min_doc_count": "0", + "trimEdges": "1" }, "type": "date_histogram" } @@ -1025,7 +1054,7 @@ "type": "derivative" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "C", "timeField": "@timestamp" } @@ -1081,7 +1110,8 @@ "value": 80 } ] - } + }, + "unit": "bytes" }, "overrides": [] }, @@ -1099,7 +1129,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -1111,7 +1142,7 @@ "id": "2", "settings": { "interval": "auto", - "trimEdges": "0" + "trimEdges": "1" }, "type": "date_histogram" } @@ -1133,10 +1164,13 @@ "hide": false, "id": "4", "pipelineAgg": "1", + "settings": { + "unit": "second" + }, "type": "derivative" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "C", "timeField": "@timestamp" } @@ -1192,7 +1226,8 @@ "value": 80 } ] - } + }, + "unit": "binBps" }, "overrides": [] }, @@ -1203,6 +1238,7 @@ "y": 16 }, "id": 15, + "interval": ">$interval", "options": { "legend": { "calcs": [], @@ -1210,7 +1246,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -1243,10 +1280,13 @@ "hide": false, "id": "4", "pipelineAgg": "1", + "settings": { + "unit": "second" + }, "type": "derivative" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "A", "timeField": "@timestamp" } @@ -1314,6 +1354,7 @@ "y": 23 }, "id": 2, + "interval": ">$interval", "options": { "legend": { "calcs": [], @@ -1321,7 +1362,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -1332,7 +1374,8 @@ "field": "@timestamp", "id": "2", "settings": { - "interval": "auto" + "interval": "auto", + "trimEdges": "0" }, "type": "date_histogram" } @@ -1352,10 +1395,13 @@ "field": "1", "id": "5", "pipelineAgg": "1", + "settings": { + "unit": "second" + }, "type": "derivative" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "Resyncs", "timeField": "@timestamp" } @@ -1398,6 +1444,7 @@ } }, "mappings": [], + "min": 0, "thresholds": { "mode": "absolute", "steps": [ @@ -1428,7 +1475,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -1440,7 +1488,7 @@ "id": "2", "settings": { "interval": "auto", - "trimEdges": "5" + "trimEdges": "2" }, "type": "date_histogram" } @@ -1457,7 +1505,7 @@ "type": "avg" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "Resync queue", "timeField": "@timestamp" } @@ -1466,10 +1514,6 @@ "type": "timeseries" }, { - "datasource": { - "type": "elasticsearch", - "uid": "${DS_DS_ELASTICSEARCH}" - }, "fieldConfig": { "defaults": { "color": { @@ -1510,10 +1554,6 @@ { "color": "green", "value": null - }, - { - "color": "red", - "value": 80 } ] } @@ -1527,6 +1567,7 @@ "y": 23 }, "id": 4, + "interval": ">$interval", "options": { "legend": { "calcs": [], @@ -1534,7 +1575,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -1573,7 +1615,7 @@ "type": "avg" } ], - "query": "processor.event:\"metric\"", + "query": "processor.event:\"metric\" AND labels.job: garage", "refId": "A", "timeField": "@timestamp" } @@ -1646,7 +1688,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -1670,7 +1713,7 @@ "settings": { "interval": "auto", "min_doc_count": "0", - "trimEdges": "0" + "trimEdges": "2" }, "type": "date_histogram" } @@ -1686,7 +1729,7 @@ "type": "avg" } ], - "query": "processor.event:\"metric\"", + "query": "processor.event:\"metric\" AND labels.job: garage", "refId": "A", "timeField": "@timestamp" } @@ -1703,7 +1746,6 @@ "custom": { "axisLabel": "", "axisPlacement": "auto", - "axisSoftMin": 0, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -1737,13 +1779,10 @@ { "color": "green", "value": null - }, - { - "color": "red", - "value": 80 } ] - } + }, + "unit": "short" }, "overrides": [] }, @@ -1753,7 +1792,7 @@ "x": 0, "y": 29 }, - "id": 13, + "id": 24, "options": { "legend": { "calcs": [], @@ -1761,30 +1800,20 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ { "alias": "", "bucketAggs": [ - { - "field": "labels.rpc_endpoint", - "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": "0" }, "type": "date_histogram" } @@ -1795,25 +1824,28 @@ }, "metrics": [ { - "field": "rpc_request_counter", + "field": "block_resync_error_counter", "hide": true, "id": "1", + "settings": {}, "type": "sum" }, { "field": "1", - "hide": false, - "id": "5", + "id": "3", "pipelineAgg": "1", + "settings": { + "unit": "second" + }, "type": "derivative" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "A", "timeField": "@timestamp" } ], - "title": "RPC counters", + "title": "Resync errors", "type": "timeseries" }, { @@ -1825,7 +1857,6 @@ "custom": { "axisLabel": "", "axisPlacement": "auto", - "axisSoftMin": 0, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -1875,7 +1906,7 @@ "x": 6, "y": 29 }, - "id": 16, + "id": 25, "options": { "legend": { "calcs": [], @@ -1883,31 +1914,20 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ { "alias": "", "bucketAggs": [ - { - "field": "labels.rpc_endpoint", - "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": "4" + "trimEdges": "2" }, "type": "date_histogram" } @@ -1918,17 +1938,18 @@ }, "metrics": [ { - "field": "rpc_duration", + "field": "block_resync_errored_blocks", + "hide": false, "id": "1", - "type": "avg" + "type": "sum" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "A", "timeField": "@timestamp" } ], - "title": "RPC duration", + "title": "Blocks in error status", "type": "timeseries" }, { @@ -1940,7 +1961,6 @@ "custom": { "axisLabel": "", "axisPlacement": "auto", - "axisSoftMin": 0, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -1990,7 +2010,7 @@ "x": 12, "y": 29 }, - "id": 21, + "id": 23, "options": { "legend": { "calcs": [], @@ -1998,30 +2018,19 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "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" + "interval": "auto" }, "type": "date_histogram" } @@ -2032,25 +2041,24 @@ }, "metrics": [ { - "field": "rpc_netapp_error_counter", + "field": "block_corruption_counter", "hide": true, "id": "1", "type": "sum" }, { "field": "1", - "hide": false, - "id": "5", + "id": "3", "pipelineAgg": "1", "type": "derivative" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "A", "timeField": "@timestamp" } ], - "title": "RPC errors (network layer)", + "title": "Data corruptions detected", "type": "timeseries" }, { @@ -2060,7 +2068,7 @@ "mode": "palette-classic" }, "custom": { - "axisLabel": "", + "axisLabel": "RPC error rate (per second)", "axisPlacement": "auto", "axisSoftMin": 0, "barAlignment": 0, @@ -2102,7 +2110,8 @@ "value": 80 } ] - } + }, + "unit": "reqps" }, "overrides": [] }, @@ -2112,7 +2121,7 @@ "x": 18, "y": 29 }, - "id": 22, + "id": 21, "options": { "legend": { "calcs": [], @@ -2120,32 +2129,22 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ { "alias": "", "bucketAggs": [ - { - "field": "labels.rpc_endpoint", - "id": "6", - "settings": { - "min_doc_count": "1", - "order": "desc", - "orderBy": "_term", - "size": "5" - }, - "type": "terms" - }, { "field": "labels.to", - "id": "7", + "id": "6", "settings": { "min_doc_count": "1", "order": "desc", "orderBy": "_term", - "size": "5" + "size": "10" }, "type": "terms" }, @@ -2154,7 +2153,8 @@ "id": "2", "settings": { "interval": "auto", - "min_doc_count": "0" + "min_doc_count": "0", + "trimEdges": "1" }, "type": "date_histogram" } @@ -2165,7 +2165,7 @@ }, "metrics": [ { - "field": "rpc_garage_error_counter", + "field": "rpc_netapp_error_counter", "hide": true, "id": "1", "type": "sum" @@ -2175,15 +2175,18 @@ "hide": false, "id": "5", "pipelineAgg": "1", + "settings": { + "unit": "second" + }, "type": "derivative" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "A", "timeField": "@timestamp" } ], - "title": "RPC errors (Garage errors)", + "title": "RPC errors (network layer)", "type": "timeseries" }, { @@ -2195,6 +2198,7 @@ "custom": { "axisLabel": "", "axisPlacement": "auto", + "axisSoftMin": 0, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -2244,7 +2248,7 @@ "x": 0, "y": 38 }, - "id": 9, + "id": 13, "options": { "legend": { "calcs": [], @@ -2252,18 +2256,32 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ { "alias": "", "bucketAggs": [ + { + "field": "labels.rpc_endpoint", + "id": "6", + "settings": { + "min_doc_count": "1", + "order": "desc", + "orderBy": "_term", + "size": "10" + }, + "type": "terms" + }, { "field": "@timestamp", "id": "2", "settings": { - "interval": "auto" + "interval": "auto", + "min_doc_count": "0", + "trimEdges": "1" }, "type": "date_histogram" } @@ -2274,31 +2292,28 @@ }, "metrics": [ { - "field": "admin_http_requests_total", + "field": "rpc_request_counter", "hide": true, "id": "1", "type": "sum" }, { "field": "1", - "id": "3", + "hide": false, + "id": "5", "pipelineAgg": "1", "type": "derivative" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "A", "timeField": "@timestamp" } ], - "title": "Admin request rate", + "title": "RPC counters", "type": "timeseries" }, { - "datasource": { - "type": "elasticsearch", - "uid": "${DS_DS_ELASTICSEARCH}" - }, "fieldConfig": { "defaults": { "color": { @@ -2307,6 +2322,7 @@ "custom": { "axisLabel": "", "axisPlacement": "auto", + "axisSoftMin": 0, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, @@ -2333,6 +2349,7 @@ } }, "mappings": [], + "min": 0, "thresholds": { "mode": "absolute", "steps": [ @@ -2345,7 +2362,8 @@ "value": 80 } ] - } + }, + "unit": "s" }, "overrides": [] }, @@ -2355,7 +2373,8 @@ "x": 6, "y": 38 }, - "id": 10, + "id": 16, + "interval": ">$interval", "options": { "legend": { "calcs": [], @@ -2363,7 +2382,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -2371,37 +2391,23 @@ "alias": "", "bucketAggs": [ { - "field": "@timestamp", - "id": "2", + "field": "labels.rpc_endpoint", + "id": "6", "settings": { - "interval": "auto" + "min_doc_count": "1", + "order": "desc", + "orderBy": "_term", + "size": "10" }, - "type": "date_histogram" - } - ], - "datasource": { - "type": "elasticsearch", - "uid": "${DS_DS_ELASTICSEARCH}" - }, - "metrics": [ - { - "field": "rpc_duration", - "id": "1", - "type": "avg" - } - ], - "query": "processor.event:metric", - "refId": "A", - "timeField": "@timestamp" - }, - { - "alias": "", - "bucketAggs": [ + "type": "terms" + }, { "field": "@timestamp", "id": "2", "settings": { - "interval": "auto" + "interval": "auto", + "min_doc_count": "0", + "trimEdges": "0" }, "type": "date_histogram" } @@ -2410,54 +2416,101 @@ "type": "elasticsearch", "uid": "${DS_DS_ELASTICSEARCH}" }, - "hide": false, "metrics": [ { - "field": "admin_http_request_duration_seconds", + "field": "rpc_duration", "id": "1", "type": "avg" } ], - "query": "processor.event:metric", - "refId": "B", + "query": "processor.event:metric AND labels.job: garage", + "refId": "A", "timeField": "@timestamp" - }, - { - "alias": "", - "bucketAggs": [ - { - "field": "@timestamp", - "id": "2", - "settings": { - "interval": "auto" - }, - "type": "date_histogram" - } - ], - "datasource": { - "type": "elasticsearch", - "uid": "${DS_DS_ELASTICSEARCH}" + } + ], + "title": "Average RPC duration", + "type": "timeseries" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "hide": false, - "metrics": [ - { - "field": "block_read_duration", - "id": "1", - "type": "avg" - } - ], - "query": "processor.event:metric", - "refId": "C", - "timeField": "@timestamp" - }, - { - "alias": "", - "bucketAggs": [ - { - "field": "@timestamp", - "id": "2", + "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": 38 + }, + "id": 9, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "bucketAggs": [ + { + "field": "@timestamp", + "id": "2", "settings": { - "interval": "auto" + "interval": "auto", + "trimEdges": "2" }, "type": "date_histogram" } @@ -2466,26 +2519,131 @@ "type": "elasticsearch", "uid": "${DS_DS_ELASTICSEARCH}" }, - "hide": false, "metrics": [ { - "field": "block_resync_duration", + "field": "admin_http_requests_total", + "hide": true, "id": "1", - "type": "avg" + "type": "sum" + }, + { + "field": "1", + "id": "3", + "pipelineAgg": "1", + "type": "derivative" } ], - "query": "processor.event:metric", - "refId": "D", + "query": "processor.event:metric AND labels.job: garage", + "refId": "A", "timeField": "@timestamp" + } + ], + "title": "Admin request rate", + "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": 38 + }, + "id": 22, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ { "alias": "", "bucketAggs": [ + { + "field": "labels.rpc_endpoint", + "id": "6", + "settings": { + "min_doc_count": "1", + "order": "desc", + "orderBy": "_term", + "size": "5" + }, + "type": "terms" + }, + { + "field": "labels.to", + "id": "7", + "settings": { + "min_doc_count": "1", + "order": "desc", + "orderBy": "_term", + "size": "5" + }, + "type": "terms" + }, { "field": "@timestamp", "id": "2", "settings": { - "interval": "auto" + "interval": "auto", + "min_doc_count": "0" }, "type": "date_histogram" } @@ -2494,20 +2652,27 @@ "type": "elasticsearch", "uid": "${DS_DS_ELASTICSEARCH}" }, - "hide": false, "metrics": [ { - "field": "block_write_duration", + "field": "rpc_garage_error_counter", + "hide": true, "id": "1", - "type": "avg" + "type": "sum" + }, + { + "field": "1", + "hide": false, + "id": "5", + "pipelineAgg": "1", + "type": "derivative" } ], - "query": "processor.event:metric", - "refId": "E", + "query": "processor.event:metric AND labels.job: garage", + "refId": "A", "timeField": "@timestamp" } ], - "title": "Event duration", + "title": "RPC errors (Garage errors)", "type": "timeseries" }, { @@ -2545,7 +2710,6 @@ } }, "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ @@ -2558,17 +2722,19 @@ "value": 80 } ] - } + }, + "unit": "s" }, "overrides": [] }, "gridPos": { "h": 9, - "w": 12, - "x": 12, - "y": 38 + "w": 6, + "x": 0, + "y": 47 }, - "id": 23, + "id": 10, + "interval": ">$interval", "options": { "legend": { "calcs": [], @@ -2576,7 +2742,8 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -2598,42 +2765,234 @@ }, "metrics": [ { - "field": "block_corruption_counter", - "hide": true, + "field": "rpc_duration", "id": "1", - "type": "sum" - }, - { - "field": "1", - "id": "3", - "pipelineAgg": "1", - "type": "derivative" + "type": "avg" } ], - "query": "processor.event:metric", + "query": "processor.event:metric AND labels.job: garage", "refId": "A", "timeField": "@timestamp" + }, + { + "alias": "", + "bucketAggs": [ + { + "field": "@timestamp", + "id": "2", + "settings": { + "interval": "auto", + "trimEdges": "2" + }, + "type": "date_histogram" + } + ], + "datasource": { + "type": "elasticsearch", + "uid": "${DS_DS_ELASTICSEARCH}" + }, + "hide": false, + "metrics": [ + { + "field": "admin_http_request_duration_seconds", + "id": "1", + "type": "avg" + } + ], + "query": "processor.event:metric AND labels.job: garage", + "refId": "B", + "timeField": "@timestamp" + }, + { + "alias": "", + "bucketAggs": [ + { + "field": "@timestamp", + "id": "2", + "settings": { + "interval": "auto" + }, + "type": "date_histogram" + } + ], + "datasource": { + "type": "elasticsearch", + "uid": "${DS_DS_ELASTICSEARCH}" + }, + "hide": false, + "metrics": [ + { + "field": "block_read_duration", + "id": "1", + "type": "avg" + } + ], + "query": "processor.event:metric AND labels.job: garage", + "refId": "C", + "timeField": "@timestamp" + }, + { + "alias": "", + "bucketAggs": [ + { + "field": "@timestamp", + "id": "2", + "settings": { + "interval": "auto" + }, + "type": "date_histogram" + } + ], + "datasource": { + "type": "elasticsearch", + "uid": "${DS_DS_ELASTICSEARCH}" + }, + "hide": false, + "metrics": [ + { + "field": "block_resync_duration", + "id": "1", + "type": "avg" + } + ], + "query": "processor.event:metric AND labels.job: garage", + "refId": "D", + "timeField": "@timestamp" + }, + { + "alias": "", + "bucketAggs": [ + { + "field": "@timestamp", + "id": "2", + "settings": { + "interval": "auto" + }, + "type": "date_histogram" + } + ], + "datasource": { + "type": "elasticsearch", + "uid": "${DS_DS_ELASTICSEARCH}" + }, + "hide": false, + "metrics": [ + { + "field": "block_write_duration", + "id": "1", + "type": "avg" + } + ], + "query": "processor.event:metric AND labels.job: garage", + "refId": "E", + "timeField": "@timestamp" } ], - "title": "Data corruptions detected", + "title": "Average event duration", "type": "timeseries" } ], "refresh": "10s", - "schemaVersion": 34, + "schemaVersion": 35, "style": "dark", "tags": [], "templating": { - "list": [] + "list": [ + { + "auto": true, + "auto_count": 50, + "auto_min": "10s", + "current": { + "selected": false, + "text": "auto", + "value": "$__auto_interval_interval" + }, + "hide": 0, + "label": "Interval", + "name": "interval", + "options": [ + { + "selected": true, + "text": "auto", + "value": "$__auto_interval_interval" + }, + { + "selected": false, + "text": "30s", + "value": "30s" + }, + { + "selected": false, + "text": "1m", + "value": "1m" + }, + { + "selected": false, + "text": "5m", + "value": "5m" + }, + { + "selected": false, + "text": "10m", + "value": "10m" + }, + { + "selected": false, + "text": "30m", + "value": "30m" + }, + { + "selected": false, + "text": "1h", + "value": "1h" + }, + { + "selected": false, + "text": "6h", + "value": "6h" + }, + { + "selected": false, + "text": "12h", + "value": "12h" + }, + { + "selected": false, + "text": "1d", + "value": "1d" + }, + { + "selected": false, + "text": "7d", + "value": "7d" + }, + { + "selected": false, + "text": "14d", + "value": "14d" + }, + { + "selected": false, + "text": "30d", + "value": "30d" + } + ], + "query": "30s,1m,5m,10m,30m,1h,6h,12h,1d,7d,14d,30d", + "queryValue": "", + "refresh": 2, + "skipUrlSync": false, + "type": "interval" + } + ] }, "time": { - "from": "now-15m", + "from": "now-24h", "to": "now" }, "timepicker": {}, "timezone": "", - "title": "Garage", + "title": "Garage - Max", "uid": "ODT8K4B7e", - "version": 12, + "version": 7, "weekStart": "" } \ No newline at end of file -- cgit v1.2.3