From 7578edc0f1c9e85288c5fc3a03365267815ba4f2 Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@leastauthority.com> Date: Tue, 30 Jul 2024 13:13:06 +0000 Subject: [PATCH] Migrate all tahoe-lafs panels to TimeSeries type --- .../server/grafana-dashboards/tahoe-lafs.json | 1532 ++++++++++------- 1 file changed, 936 insertions(+), 596 deletions(-) diff --git a/nixos/modules/monitoring/server/grafana-dashboards/tahoe-lafs.json b/nixos/modules/monitoring/server/grafana-dashboards/tahoe-lafs.json index 4fc78ea0..382d4b31 100644 --- a/nixos/modules/monitoring/server/grafana-dashboards/tahoe-lafs.json +++ b/nixos/modules/monitoring/server/grafana-dashboards/tahoe-lafs.json @@ -3,7 +3,10 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -22,13 +25,15 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 55, - "iteration": 1662661580921, "links": [], "liveNow": false, "panels": [ { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "gridPos": { "h": 1, "w": 24, @@ -37,57 +42,105 @@ }, "id": 38, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, + "refId": "A" + } + ], "title": "Inbound operations", "type": "row" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "description": "These stats keep track of local disk latencies for storage-server operations. All values are in seconds. These are recorded by the storage server, starting from the time the request arrives (post-deserialization) and ending when the response begins serialization. As such, they are mostly useful for measuring disk speeds.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "s" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 1 }, - "hiddenSeries": false, "id": 13, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.4.7", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_storage_server_latencies_allocate_mean{instance=\"$node\"}", "interval": "", @@ -95,6 +148,10 @@ "refId": "allocate_mean" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_storage_server_latencies_close_mean{instance=\"$node\"}", "hide": false, @@ -103,6 +160,10 @@ "refId": "close_mean" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_storage_server_latencies_get_mean{instance=\"$node\"}", "hide": false, @@ -111,6 +172,10 @@ "refId": "get_mean" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_storage_server_latencies_read_mean{instance=\"$node\"}", "hide": false, @@ -119,6 +184,10 @@ "refId": "read_mean" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_storage_server_latencies_readv_mean{instance=\"$node\"}", "hide": false, @@ -127,6 +196,10 @@ "refId": "readv_mean" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_storage_server_latencies_write_mean{instance=\"$node\"}", "hide": false, @@ -135,6 +208,10 @@ "refId": "write_mean" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_storage_server_latencies_writev_mean{instance=\"$node\"}", "hide": false, @@ -143,80 +220,97 @@ "refId": "writev_mean" } ], - "thresholds": [], - "timeRegions": [], "title": "Latency means", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1111", - "format": "s", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:1112", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "description": "This counts inbound storage-server operations.", - "fill": 1, - "fillGradient": 0, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "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 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 1 }, - "hiddenSeries": false, "id": 34, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.4.7", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "rate(tahoe_counters_storage_server_allocate{instance=\"$node\"}[5m])", "interval": "", @@ -224,6 +318,10 @@ "refId": "allocate" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "rate(tahoe_counters_storage_server_write{instance=\"$node\"}[5m])", "hide": false, @@ -232,6 +330,10 @@ "refId": "write" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "rate(tahoe_counters_storage_server_close{instance=\"$node\"}[5m])", "hide": false, @@ -240,6 +342,10 @@ "refId": "close" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "rate(tahoe_counters_storage_server_get{instance=\"$node\"}[5m])", "hide": false, @@ -248,6 +354,10 @@ "refId": "get" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "rate(tahoe_counters_storage_server_read{instance=\"$node\"}[5m])", "hide": false, @@ -256,6 +366,10 @@ "refId": "read" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "rate(tahoe_counters_storage_server_add-lease{instance=\"$node\"}[5m])", "hide": true, @@ -264,6 +378,10 @@ "refId": "add-lease" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "rate(tahoe_counters_storage_server_renew{instance=\"$node\"}[5m])", "hide": false, @@ -272,6 +390,10 @@ "refId": "renew" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "rate(tahoe_counters_storage_server_cancel{instance=\"$node\"}[5m])", "hide": false, @@ -280,6 +402,10 @@ "refId": "cancel" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "rate(tahoe_counters_storage_server_readv{instance=\"$node\"}[5m])", "hide": false, @@ -288,6 +414,10 @@ "refId": "readv" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "rate(tahoe_counters_storage_server_writev{instance=\"$node\"}[5m])", "hide": false, @@ -296,132 +426,124 @@ "refId": "writev" } ], - "thresholds": [], - "timeRegions": [], "title": "Counts/s", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:2483", - "format": "short", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:2484", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 1 - }, - "hiddenSeries": false, - "id": 36, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.4.7", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "exemplar": true, - "expr": "rate(tahoe_counters_storage_server_bytes_added{instance=\"$node\"}[5m])", - "interval": "", - "legendFormat": "Added", - "refId": "A" - }, - { - "exemplar": true, - "expr": "rate(tahoe_counters_storage_server_bytes_freed{instance=\"$node\"}[5m])", - "hide": false, - "interval": "", - "legendFormat": "Freed", - "refId": "B" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Bytes/s", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" }, - "yaxes": [ - { - "$$hashKey": "object:2568", - "format": "bytes", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:2569", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "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 + } + ] + }, + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 8, + "x": 16, + "y": 1 + }, + "id": 36, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.6", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, + "exemplar": true, + "expr": "rate(tahoe_counters_storage_server_bytes_added{instance=\"$node\"}[5m])", + "interval": "", + "legendFormat": "Added", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, + "exemplar": true, + "expr": "rate(tahoe_counters_storage_server_bytes_freed{instance=\"$node\"}[5m])", + "hide": false, + "interval": "", + "legendFormat": "Freed", + "refId": "B" + } + ], + "title": "Bytes/s", + "type": "timeseries" }, { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "gridPos": { "h": 1, "w": 24, @@ -430,10 +552,23 @@ }, "id": 19, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, + "refId": "A" + } + ], "title": "Latency Histograms", "type": "row" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "description": "These stats keep track of local disk latencies for storage-server operations. All values are in seconds. These are recorded by the storage server, starting from the time the request arrives (post-deserialization) and ending when the response begins serialization. As such, they are mostly useful for measuring disk speeds.", "fieldConfig": { "defaults": { @@ -467,6 +602,10 @@ "id": 11, "options": { "displayMode": "gradient", + "maxVizHeight": 300, + "minVizHeight": 16, + "minVizWidth": 8, + "namePlacement": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ @@ -476,13 +615,19 @@ "values": false }, "showUnfilled": true, - "text": {} + "sizing": "auto", + "text": {}, + "valueMode": "color" }, - "pluginVersion": "8.4.7", + "pluginVersion": "10.4.6", "repeat": "storageserverop", "repeatDirection": "h", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_storage_server_latencies_$storageserverop{instance=\"$node\"}", "interval": "", @@ -495,6 +640,10 @@ }, { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "gridPos": { "h": 1, "w": 24, @@ -503,51 +652,105 @@ }, "id": 30, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, + "refId": "A" + } + ], "title": "Storage overview", "type": "row" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "description": "These all reflect disk-space usage policies and status.", - "fill": 1, - "fillGradient": 0, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bytes" + }, + "overrides": [] + }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 19 }, - "hiddenSeries": false, "id": 22, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.4.7", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_storage_server_disk_avail{instance=\"$node\"}", "hide": false, @@ -556,6 +759,10 @@ "refId": "disk_avail" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_storage_server_disk_free_for_nonroot{instance=\"$node\"}", "hide": false, @@ -564,6 +771,10 @@ "refId": "disk_free_for_nonroot" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_storage_server_disk_free_for_root{instance=\"$node\"}", "hide": false, @@ -572,6 +783,10 @@ "refId": "disk_free_for_root" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "", "hide": true, @@ -580,80 +795,96 @@ "refId": "disk_total" } ], - "thresholds": [], - "timeRegions": [], "title": "Bytes free", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:712", - "format": "bytes", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:713", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "description": "These all reflect disk-space usage policies and status.", - "fill": 1, - "fillGradient": 0, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bytes" + }, + "overrides": [] + }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 19 }, - "hiddenSeries": false, "id": 7, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.4.7", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_storage_server_allocated{instance=\"$node\"}", "interval": "", @@ -661,6 +892,10 @@ "refId": "allocated" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_storage_server_disk_used{instance=\"$node\"}", "hide": false, @@ -669,80 +904,96 @@ "refId": "disk_used" } ], - "thresholds": [], - "timeRegions": [], "title": "Bytes used", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:712", - "format": "bytes", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:713", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "description": "This counts the number of ‘buckets’ (i.e. unique storage-index values) currently managed by the storage server. It indicates roughly how many files are managed by the server.", - "fill": 1, - "fillGradient": 0, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 19 }, - "hiddenSeries": false, "id": 9, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.4.7", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_storage_server_total_bucket_count{instance=\"$node\"}", "interval": "", @@ -750,93 +1001,124 @@ "refId": "A" } ], - "thresholds": [], - "timeRegions": [], "title": "Total bucket count", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "type": "timeseries" + }, + { + "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 27 }, - "yaxes": [ + "id": 15, + "panels": [], + "targets": [ { - "$$hashKey": "object:797", - "format": "short", - "logBase": 1, - "show": true + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, + "refId": "A" + } + ], + "title": "CPU", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, + "description": "Estimate of what percentage of system CPU time was consumed by the node process, over the given time interval. ", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "max": 1, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percentunit" }, - { - "$$hashKey": "object:798", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 27 + "overrides": [] }, - "id": 15, - "panels": [], - "title": "CPU", - "type": "row" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "description": "Estimate of what percentage of system CPU time was consumed by the node process, over the given time interval. ", - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 28 }, - "hiddenSeries": false, "id": 2, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.4.7", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_cpu_monitor_1min_avg{instance=\"$node\"}\n", "interval": "", @@ -844,6 +1126,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_cpu_monitor_5min_avg{instance=\"$node\"}\n", "hide": false, @@ -853,6 +1139,10 @@ "refId": "B" }, { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_cpu_monitor_15min_avg{instance=\"$node\"}\n", "hide": false, @@ -862,82 +1152,97 @@ "refId": "C" } ], - "thresholds": [], - "timeRegions": [], "title": "CPU monitor", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:62", - "format": "percentunit", - "logBase": 1, - "max": "1", - "min": "0", - "show": true - }, - { - "$$hashKey": "object:63", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "description": "Estimate of total number of CPU seconds consumed by node since the process was started. Ticket #472 indicates that .total may sometimes be negative due to wraparound of the kernel’s counter.", - "fill": 1, - "fillGradient": 0, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "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 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 28 }, - "hiddenSeries": false, "id": 5, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.4.7", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_cpu_monitor_total{instance=\"$node\"}\n", "interval": "", @@ -945,81 +1250,96 @@ "refId": "A" } ], - "thresholds": [], - "timeRegions": [], "title": "CPU time total", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:62", - "format": "s", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:63", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "description": "How many seconds since the node process was started.", - "fill": 1, - "fillGradient": 0, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 28 }, - "hiddenSeries": false, "id": 4, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.4.7", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "exemplar": true, "expr": "tahoe_stats_node_uptime{instance=\"$node\"}", "interval": "", @@ -1027,40 +1347,15 @@ "refId": "A" } ], - "thresholds": [], - "timeRegions": [], "title": "Node uptime", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:386", - "format": "s", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:387", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "gridPos": { "h": 1, "w": 24, @@ -1069,6 +1364,15 @@ }, "id": 42, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, + "refId": "A" + } + ], "title": "Corruption Advisories", "type": "row" }, @@ -1084,6 +1388,9 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1095,6 +1402,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1137,7 +1445,8 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1207,6 +1516,9 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1218,6 +1530,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1258,7 +1571,8 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1292,6 +1606,10 @@ }, { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, "gridPos": { "h": 1, "w": 24, @@ -1300,6 +1618,15 @@ }, "id": 50, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" + }, + "refId": "A" + } + ], "title": "Incident Reports", "type": "row" }, @@ -1312,6 +1639,9 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1323,6 +1653,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1365,7 +1696,8 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1432,6 +1764,9 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1443,6 +1778,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1483,7 +1819,8 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1516,16 +1853,19 @@ "type": "timeseries" } ], - "schemaVersion": 35, - "style": "dark", + "schemaVersion": 39, "tags": [], "templating": { "list": [ { "current": { "selected": false, - "text": "storage1", - "value": "storage1" + "text": "storage001", + "value": "storage001" + }, + "datasource": { + "type": "prometheus", + "uid": "LocalPrometheus" }, "definition": "tahoe_stats_cpu_monitor_1min_avg", "description": "Which node (instamce) to show", -- GitLab