From f28b746d7b5dd6870196531deb9bd642409be1b4 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 9 May 2026 20:15:32 -0500 Subject: [PATCH] feat: update dashboard --- dashboards/platform/rclone.json | 346 ++++++++++++++++++-------------- 1 file changed, 193 insertions(+), 153 deletions(-) diff --git a/dashboards/platform/rclone.json b/dashboards/platform/rclone.json index 17dc1bb..b8611a1 100644 --- a/dashboards/platform/rclone.json +++ b/dashboards/platform/rclone.json @@ -4,7 +4,7 @@ { "builtIn": 1, "datasource": { - "type": "datasource", + "type": "grafana", "uid": "grafana" }, "enable": true, @@ -26,20 +26,15 @@ "panels": [ { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "mimir" - }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, - "id": 1, - "panels": [], - "repeat": "instance", - "title": "$instance", + "id": 17, + "repeat": "rclone_pod", + "title": "$rclone_pod", "type": "row" }, { @@ -52,18 +47,17 @@ "color": { "mode": "thresholds" }, - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] }, "unit": "dtdhms" - }, - "overrides": [] + } }, "gridPos": { "h": 3, @@ -71,13 +65,13 @@ "x": 0, "y": 1 }, - "hideTimeOverride": true, "id": 2, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -90,7 +84,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { @@ -98,8 +92,8 @@ "uid": "kube-prometheus-stack" }, "editorMode": "builder", - "expr": "time() - process_start_time_seconds{instance=\"$instance\"}", - "legendFormat": "__auto", + "expr": "time() - process_start_time_seconds{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}", + "legendFormat": "{{instance}}", "range": true, "refId": "A" } @@ -126,10 +120,8 @@ } }, "decimals": 0, - "mappings": [], "unit": "short" - }, - "overrides": [] + } }, "gridPos": { "h": 6, @@ -160,13 +152,15 @@ "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "maxHeight": 600, "mode": "single", "sort": "none" } }, - "pluginVersion": "7.2.1", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { @@ -174,7 +168,7 @@ "uid": "kube-prometheus-stack" }, "editorMode": "builder", - "expr": "rclone_checked_files_total{instance=\"$instance\"}", + "expr": "rclone_checked_files_total{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}", "legendFormat": "{{ __name__ }}", "range": true, "refId": "A" @@ -186,7 +180,6 @@ }, "editorMode": "builder", "expr": "rclone_files_transferred_total{instance=\"$instance\"}", - "hide": false, "legendFormat": "{{ __name__ }}", "range": true, "refId": "B" @@ -198,7 +191,6 @@ }, "editorMode": "builder", "expr": "rclone_files_renamed_total{instance=\"$instance\"}", - "hide": false, "legendFormat": "{{ __name__ }}", "range": true, "refId": "C" @@ -210,7 +202,6 @@ }, "editorMode": "builder", "expr": "rclone_files_deleted_total{instance=\"$instance\"}", - "hide": false, "legendFormat": "{{ __name__ }}", "range": true, "refId": "D" @@ -222,7 +213,6 @@ }, "editorMode": "builder", "expr": "rclone_dirs_deleted_total{instance=\"$instance\"}", - "hide": false, "legendFormat": "{{ __name__ }}", "range": true, "refId": "E" @@ -234,7 +224,6 @@ }, "editorMode": "builder", "expr": "rclone_errors_total{instance=\"$instance\"}", - "hide": false, "legendFormat": "{{ __name__ }}", "range": true, "refId": "F" @@ -257,7 +246,6 @@ "type": "prometheus", "uid": "kube-prometheus-stack" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -270,10 +258,8 @@ "viz": false } }, - "mappings": [], "unit": "short" - }, - "overrides": [] + } }, "gridPos": { "h": 6, @@ -303,12 +289,15 @@ "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "maxHeight": 600, "mode": "multi", "sort": "none" } }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { @@ -316,7 +305,7 @@ "uid": "kube-prometheus-stack" }, "editorMode": "builder", - "expr": "rclone_http_status_code{instance=\"$instance\"}", + "expr": "rclone_http_status_code{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}", "legendFormat": "{{ method }} {{ host }} {{ code }}", "range": true, "refId": "A" @@ -330,7 +319,6 @@ "type": "prometheus", "uid": "kube-prometheus-stack" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -343,10 +331,8 @@ "viz": false } }, - "mappings": [], "unit": "short" - }, - "overrides": [] + } }, "gridPos": { "h": 6, @@ -373,12 +359,15 @@ "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "maxHeight": 600, "mode": "multi", "sort": "none" } }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { @@ -386,7 +375,7 @@ "uid": "kube-prometheus-stack" }, "editorMode": "builder", - "expr": "promhttp_metric_handler_requests_total{instance=\"$instance\"}", + "expr": "promhttp_metric_handler_requests_total{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}", "legendFormat": "{{ code }}", "range": true, "refId": "A" @@ -406,18 +395,17 @@ "color": { "mode": "thresholds" }, - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] }, "unit": "bytes" - }, - "overrides": [] + } }, "gridPos": { "h": 3, @@ -425,13 +413,13 @@ "x": 0, "y": 4 }, - "hideTimeOverride": true, "id": 6, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -444,7 +432,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { @@ -452,7 +440,7 @@ "uid": "kube-prometheus-stack" }, "editorMode": "builder", - "expr": "rclone_bytes_transferred_total{instance=\"$instance\"}", + "expr": "rclone_bytes_transferred_total{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}", "legendFormat": "__auto", "range": true, "refId": "A" @@ -472,12 +460,12 @@ "color": { "mode": "thresholds" }, - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "#EAB839", @@ -490,8 +478,7 @@ ] }, "unit": "Bps" - }, - "overrides": [] + } }, "gridPos": { "h": 3, @@ -506,6 +493,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -518,7 +506,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { @@ -526,7 +514,7 @@ "uid": "kube-prometheus-stack" }, "editorMode": "builder", - "expr": "rclone_speed{instance=\"$instance\"}", + "expr": "rclone_speed{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}", "legendFormat": "__auto", "range": true, "refId": "A" @@ -541,7 +529,6 @@ "type": "prometheus", "uid": "kube-prometheus-stack" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -554,8 +541,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 25, + "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, @@ -563,14 +551,15 @@ "viz": false }, "insertNulls": false, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", - "spanNulls": 600000, + "showValues": false, + "spanNulls": true, "stacking": { "group": "A", "mode": "none" @@ -579,12 +568,12 @@ "mode": "off" } }, - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -593,8 +582,7 @@ ] }, "unit": "short" - }, - "overrides": [] + } }, "gridPos": { "h": 7, @@ -604,6 +592,10 @@ }, "id": 8, "options": { + "annotations": { + "clustering": -1, + "multiLane": false + }, "legend": { "calcs": [], "displayMode": "list", @@ -611,12 +603,13 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "maxHeight": 600, "mode": "multi", "sort": "none" } }, - "pluginVersion": "8.0.6", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { @@ -624,7 +617,7 @@ "uid": "kube-prometheus-stack" }, "editorMode": "builder", - "expr": "rate(rclone_checked_files_total{instance=\"$instance\"}[$__rate_interval])", + "expr": "rate(rclone_checked_files_total{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}[$__rate_interval])", "legendFormat": "rclone_checked_files_total", "range": true, "refId": "A" @@ -636,7 +629,6 @@ }, "editorMode": "builder", "expr": "rate(rclone_files_transferred_total{instance=\"$instance\"}[$__rate_interval])", - "hide": false, "legendFormat": "rclone_files_transferred_total", "range": true, "refId": "B" @@ -648,7 +640,6 @@ }, "editorMode": "builder", "expr": "rate(rclone_files_renamed_total{instance=\"$instance\"}[$__rate_interval])", - "hide": false, "legendFormat": "rclone_files_renamed_total", "range": true, "refId": "C" @@ -660,7 +651,6 @@ }, "editorMode": "builder", "expr": "rate(rclone_files_deleted_total{instance=\"$instance\"}[$__rate_interval])", - "hide": false, "legendFormat": "rclone_files_deleted_total", "range": true, "refId": "D" @@ -672,7 +662,6 @@ }, "editorMode": "builder", "expr": "rate(rclone_dirs_deleted_total{instance=\"$instance\"}[$__rate_interval])", - "hide": false, "legendFormat": "rclone_dirs_deleted_total", "range": true, "refId": "E" @@ -684,7 +673,6 @@ }, "editorMode": "builder", "expr": "rate(rclone_errors_total{instance=\"$instance\"}[$__rate_interval])", - "hide": false, "legendFormat": "rclone_errors_total", "range": true, "refId": "F" @@ -707,7 +695,6 @@ "type": "prometheus", "uid": "kube-prometheus-stack" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -720,8 +707,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 25, + "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, @@ -729,14 +717,15 @@ "viz": false }, "insertNulls": false, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", - "spanNulls": 600000, + "showValues": false, + "spanNulls": true, "stacking": { "group": "A", "mode": "none" @@ -745,12 +734,12 @@ "mode": "off" } }, - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] }, @@ -777,9 +766,12 @@ "x": 8, "y": 7 }, - "hideTimeOverride": true, "id": 9, "options": { + "annotations": { + "clustering": -1, + "multiLane": false + }, "legend": { "calcs": [ "lastNotNull", @@ -791,12 +783,13 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "maxHeight": 600, "mode": "multi", "sort": "none" } }, - "pluginVersion": "8.0.6", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { @@ -804,7 +797,7 @@ "uid": "kube-prometheus-stack" }, "editorMode": "builder", - "expr": "rclone_bytes_transferred_total{instance=\"$instance\"}", + "expr": "rclone_bytes_transferred_total{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}", "legendFormat": "{{ __name__ }}", "range": true, "refId": "A" @@ -827,7 +820,6 @@ "type": "prometheus", "uid": "kube-prometheus-stack" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -840,8 +832,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 25, + "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, @@ -849,14 +842,15 @@ "viz": false }, "insertNulls": false, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", - "spanNulls": 600000, + "showValues": false, + "spanNulls": true, "stacking": { "group": "A", "mode": "none" @@ -865,18 +859,17 @@ "mode": "off" } }, - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] }, "unit": "Bps" - }, - "overrides": [] + } }, "gridPos": { "h": 7, @@ -884,9 +877,12 @@ "x": 16, "y": 7 }, - "hideTimeOverride": true, "id": 10, "options": { + "annotations": { + "clustering": -1, + "multiLane": false + }, "legend": { "calcs": [ "lastNotNull", @@ -898,20 +894,21 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "maxHeight": 600, "mode": "multi", "sort": "none" } }, - "pluginVersion": "8.0.6", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, - "editorMode": "code", - "expr": "rate(rclone_bytes_transferred_total{instance=\"$instance\"}[$__rate_interval])", + "editorMode": "builder", + "expr": "rate(rclone_bytes_transferred_total{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}[$__rate_interval])", "legendFormat": "bytes_transferred_total", "range": true, "refId": "A" @@ -938,8 +935,9 @@ "axisPlacement": "auto", "axisSoftMin": 0, "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 25, + "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, @@ -947,14 +945,15 @@ "viz": false }, "insertNulls": false, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "auto", - "spanNulls": 600000, + "showPoints": "never", + "showValues": false, + "spanNulls": true, "stacking": { "group": "A", "mode": "none" @@ -963,12 +962,12 @@ "mode": "off" } }, - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] }, @@ -1017,6 +1016,10 @@ }, "id": 11, "options": { + "annotations": { + "clustering": -1, + "multiLane": false + }, "legend": { "calcs": [ "lastNotNull", @@ -1028,11 +1031,13 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "maxHeight": 600, "mode": "multi", "sort": "none" } }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { @@ -1040,7 +1045,7 @@ "uid": "kube-prometheus-stack" }, "editorMode": "builder", - "expr": "go_threads{instance=\"$instance\"}", + "expr": "go_threads{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}", "interval": "", "legendFormat": "{{ __name__ }}", "range": true, @@ -1053,7 +1058,6 @@ }, "editorMode": "builder", "expr": "rate(process_cpu_seconds_total{instance=\"$instance\"}[$__rate_interval])", - "hide": false, "interval": "", "legendFormat": "process_cpu_seconds_total", "range": true, @@ -1081,8 +1085,9 @@ "axisPlacement": "auto", "axisSoftMin": 0, "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 25, + "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, @@ -1090,14 +1095,15 @@ "viz": false }, "insertNulls": false, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "auto", - "spanNulls": 600000, + "showPoints": "never", + "showValues": false, + "spanNulls": true, "stacking": { "group": "A", "mode": "none" @@ -1106,19 +1112,18 @@ "mode": "off" } }, - "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] }, "unit": "bytes" - }, - "overrides": [] + } }, "gridPos": { "h": 7, @@ -1128,6 +1133,10 @@ }, "id": 12, "options": { + "annotations": { + "clustering": -1, + "multiLane": false + }, "legend": { "calcs": [ "lastNotNull", @@ -1139,11 +1148,13 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "maxHeight": 600, "mode": "multi", "sort": "none" } }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { @@ -1151,7 +1162,7 @@ "uid": "kube-prometheus-stack" }, "editorMode": "builder", - "expr": "go_memstats_alloc_bytes{instance=\"$instance\"}", + "expr": "go_memstats_alloc_bytes{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}", "legendFormat": "{{ __name__ }}", "range": true, "refId": "A" @@ -1179,8 +1190,9 @@ "axisSoftMax": 100, "axisSoftMin": 0, "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 25, + "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, @@ -1188,14 +1200,15 @@ "viz": false }, "insertNulls": false, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "auto", - "spanNulls": 600000, + "showPoints": "never", + "showValues": false, + "spanNulls": true, "stacking": { "group": "A", "mode": "none" @@ -1204,17 +1217,16 @@ "mode": "off" } }, - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] } - }, - "overrides": [] + } }, "gridPos": { "h": 7, @@ -1224,6 +1236,10 @@ }, "id": 13, "options": { + "annotations": { + "clustering": -1, + "multiLane": false + }, "legend": { "calcs": [ "lastNotNull", @@ -1235,11 +1251,13 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "maxHeight": 600, "mode": "multi", "sort": "none" } }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { @@ -1247,7 +1265,7 @@ "uid": "kube-prometheus-stack" }, "editorMode": "builder", - "expr": "go_goroutines{instance=\"$instance\"}", + "expr": "go_goroutines{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}", "legendFormat": "{{ __name__ }}", "range": true, "refId": "A" @@ -1274,8 +1292,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 25, + "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, @@ -1283,14 +1302,15 @@ "viz": false }, "insertNulls": false, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "auto", - "spanNulls": 600000, + "showPoints": "never", + "showValues": false, + "spanNulls": true, "stacking": { "group": "A", "mode": "none" @@ -1299,19 +1319,18 @@ "mode": "off" } }, - "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] }, "unit": "short" - }, - "overrides": [] + } }, "gridPos": { "h": 6, @@ -1321,6 +1340,10 @@ }, "id": 14, "options": { + "annotations": { + "clustering": -1, + "multiLane": false + }, "legend": { "calcs": [ "lastNotNull", @@ -1332,11 +1355,13 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "maxHeight": 600, "mode": "multi", "sort": "none" } }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { @@ -1344,7 +1369,7 @@ "uid": "kube-prometheus-stack" }, "editorMode": "builder", - "expr": "go_memstats_heap_objects{instance=\"$instance\"}", + "expr": "go_memstats_heap_objects{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}", "legendFormat": "{{ __name__ }}", "range": true, "refId": "A" @@ -1371,8 +1396,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 5, + "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, @@ -1380,14 +1406,15 @@ "viz": false }, "insertNulls": false, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "auto", - "spanNulls": 600000, + "showPoints": "never", + "showValues": false, + "spanNulls": true, "stacking": { "group": "A", "mode": "none" @@ -1396,19 +1423,18 @@ "mode": "off" } }, - "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] }, "unit": "bytes" - }, - "overrides": [] + } }, "gridPos": { "h": 6, @@ -1418,6 +1444,10 @@ }, "id": 15, "options": { + "annotations": { + "clustering": -1, + "multiLane": false + }, "legend": { "calcs": [ "lastNotNull" @@ -1427,11 +1457,13 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "maxHeight": 600, "mode": "multi", "sort": "none" } }, + "pluginVersion": "13.0.1", "targets": [ { "datasource": { @@ -1439,7 +1471,7 @@ "uid": "kube-prometheus-stack" }, "editorMode": "builder", - "expr": "go_memstats_sys_bytes{instance=\"$instance\"}", + "expr": "go_memstats_sys_bytes{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}", "legendFormat": "{{ __name__ }}", "range": true, "refId": "A" @@ -1451,7 +1483,6 @@ }, "editorMode": "builder", "expr": "go_memstats_heap_alloc_bytes{instance=\"$instance\"}", - "hide": false, "legendFormat": "{{ __name__ }}", "range": true, "refId": "B" @@ -1463,7 +1494,6 @@ }, "editorMode": "builder", "expr": "go_memstats_heap_sys_bytes{instance=\"$instance\"}", - "hide": false, "legendFormat": "{{ __name__ }}", "range": true, "refId": "C" @@ -1475,7 +1505,6 @@ }, "editorMode": "builder", "expr": "go_memstats_heap_inuse_bytes{instance=\"$instance\"}", - "hide": false, "legendFormat": "{{ __name__ }}", "range": true, "refId": "E" @@ -1498,7 +1527,6 @@ "type": "prometheus", "uid": "kube-prometheus-stack" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -1511,8 +1539,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 25, + "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, @@ -1520,14 +1549,15 @@ "viz": false }, "insertNulls": false, - "lineInterpolation": "stepAfter", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", - "spanNulls": 600000, + "showValues": false, + "spanNulls": true, "stacking": { "group": "A", "mode": "none" @@ -1536,18 +1566,17 @@ "mode": "line" } }, - "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] }, "unit": "short" - }, - "overrides": [] + } }, "gridPos": { "h": 6, @@ -1557,6 +1586,10 @@ }, "id": 16, "options": { + "annotations": { + "clustering": -1, + "multiLane": false + }, "legend": { "calcs": [ "lastNotNull" @@ -1566,12 +1599,13 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "maxHeight": 600, "mode": "multi", "sort": "none" } }, - "pluginVersion": "8.0.6", + "pluginVersion": "13.0.1", "targets": [ { "datasource": { @@ -1579,7 +1613,7 @@ "uid": "kube-prometheus-stack" }, "editorMode": "builder", - "expr": "process_open_fds{instance=\"$instance\"}", + "expr": "process_open_fds{pod=~\"$rclone_pod\", endpoint=\"rc-sync\"}", "legendFormat": "{{ __name__ }}", "range": true, "refId": "A" @@ -1591,7 +1625,6 @@ }, "editorMode": "builder", "expr": "process_max_fds{instance=\"$instance\"}", - "hide": false, "legendFormat": "{{ __name__ }}", "range": true, "refId": "B" @@ -1624,26 +1657,33 @@ "templating": { "list": [ { - "current": {}, + "allValue": "", + "allowCustomValue": true, + "current": { + "text": "All", + "value": "$__all" + }, "datasource": { "type": "prometheus", "uid": "kube-prometheus-stack" }, - "definition": "label_values(rclone_bytes_transferred_total, instance)", + "definition": "label_values(rclone_http_status_code{endpoint=\"rc-sync\"},pod)", "hide": 0, "includeAll": true, - "label": "Rclone", - "multi": true, - "name": "instance", + "label": "Pod", + "multi": false, + "name": "rclone_pod", "options": [], "query": { - "query": "label_values(rclone_bytes_transferred_total, instance)", - "refId": "StandardVariableQuery" + "qryType": 1, + "query": "label_values(rclone_http_status_code{endpoint=\"rc-sync\"},pod)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, - "refresh": 2, + "refresh": 1, "regex": "", + "regexApplyTo": "value", "skipUrlSync": false, - "sort": 5, + "sort": 0, "type": "query" } ]