From e2cc46b37e33643cf3dd017adb8a009bf143e246 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 25 Nov 2023 18:09:05 +0300 Subject: 2023-11-25 --- modules/nixos/monitoring/dashboards/redis.json | 444 ++----------------------- 1 file changed, 31 insertions(+), 413 deletions(-) (limited to 'modules/nixos/monitoring/dashboards/redis.json') diff --git a/modules/nixos/monitoring/dashboards/redis.json b/modules/nixos/monitoring/dashboards/redis.json index f0f7055..014ad3e 100644 --- a/modules/nixos/monitoring/dashboards/redis.json +++ b/modules/nixos/monitoring/dashboards/redis.json @@ -22,10 +22,10 @@ ] }, "description": "", - "editable": false, + "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 63, + "id": 87, "links": [], "liveNow": false, "panels": [ @@ -107,7 +107,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.2.0", "targets": [ { "command": "info", @@ -175,6 +175,8 @@ }, "id": 25, "options": { + "minVizHeight": 75, + "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ @@ -187,7 +189,7 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.2.0", "targets": [ { "datasource": { @@ -318,6 +320,7 @@ "displayMode": "lcd", "minVizHeight": 10, "minVizWidth": 0, + "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -327,9 +330,10 @@ "values": true }, "showUnfilled": true, - "text": {} + "text": {}, + "valueMode": "color" }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.2.0", "targets": [ { "command": "info", @@ -424,7 +428,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.2.0", "targets": [ { "command": "info", @@ -495,7 +499,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.2.0", "targets": [ { "command": "info", @@ -565,7 +569,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.2.0", "targets": [ { "datasource": { @@ -633,7 +637,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.2.0", "targets": [ { "datasource": { @@ -681,6 +685,7 @@ "displayMode": "lcd", "minVizHeight": 10, "minVizWidth": 0, + "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -690,9 +695,10 @@ "values": true }, "showUnfilled": true, - "text": {} + "text": {}, + "valueMode": "color" }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.2.0", "targets": [ { "datasource": { @@ -764,6 +770,7 @@ "displayMode": "lcd", "minVizHeight": 10, "minVizWidth": 0, + "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -773,9 +780,10 @@ "values": true }, "showUnfilled": true, - "text": {} + "text": {}, + "valueMode": "color" }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.2.0", "targets": [ { "datasource": { @@ -856,7 +864,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.2.0", "targets": [ { "datasource": { @@ -997,6 +1005,7 @@ }, "id": 4, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -1013,7 +1022,7 @@ } ] }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.2.0", "targets": [ { "command": "clientList", @@ -1169,6 +1178,7 @@ }, "id": 41, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -1185,7 +1195,7 @@ } ] }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.2.0", "targets": [ { "command": "info", @@ -1304,6 +1314,7 @@ }, "id": 11, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -1315,7 +1326,7 @@ "showHeader": true, "sortBy": [] }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.2.0", "targets": [ { "command": "slowlogGet", @@ -1352,404 +1363,11 @@ } ], "type": "table" - }, - { - "collapsed": false, - "datasource": { - "uid": "$redis" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 26 - }, - "id": 58, - "panels": [], - "targets": [ - { - "datasource": { - "uid": "$redis" - }, - "refId": "A" - } - ], - "title": "Redis Cluster", - "type": "row" - }, - { - "datasource": { - "uid": "$redis" - }, - "fieldConfig": { - "defaults": { - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue" - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 3, - "x": 0, - "y": 27 - }, - "id": 60, - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/.*/", - "values": true - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "8.2.3", - "targets": [ - { - "command": "clusterInfo", - "datasource": { - "uid": "$redis" - }, - "query": "", - "refId": "A", - "type": "command" - } - ], - "title": "State", - "transformations": [ - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "cluster_state" - ] - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "uid": "$redis" - }, - "fieldConfig": { - "defaults": { - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue" - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 3, - "x": 3, - "y": 27 - }, - "id": 64, - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/.*/", - "values": true - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "8.2.3", - "targets": [ - { - "command": "info", - "datasource": { - "uid": "$redis" - }, - "query": "", - "refId": "A", - "section": "replication", - "type": "command" - } - ], - "title": "Role", - "transformations": [ - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "role" - ] - } - } - } - ], - "type": "stat" - }, - { - "datasource": { - "type": "datasource", - "uid": "-- Dashboard --" - }, - "fieldConfig": { - "defaults": { - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-green" - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 18, - "x": 6, - "y": 27 - }, - "id": 61, - "options": { - "displayMode": "lcd", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "/.*/", - "values": true - }, - "showUnfilled": true, - "text": {} - }, - "pluginVersion": "8.2.3", - "targets": [ - { - "datasource": { - "type": "datasource", - "uid": "-- Dashboard --" - }, - "panelId": 60, - "refId": "A" - } - ], - "transformations": [ - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "cluster_known_nodes", - "cluster_size" - ] - } - } - }, - { - "id": "organize", - "options": { - "excludeByName": {}, - "indexByName": {}, - "renameByName": { - "cluster_known_nodes": "Total number of known nodes", - "cluster_size": "Number of master nodes serving at least one hash slot" - } - } - } - ], - "type": "bargauge" - }, - { - "datasource": { - "uid": "$redis" - }, - "fieldConfig": { - "defaults": { - "custom": { - "cellOptions": { - "type": "auto" - }, - "filterable": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-green" - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Ping was sent" - }, - "properties": [ - { - "id": "unit", - "value": "dateTimeFromNow" - }, - { - "id": "custom.width", - "value": 200 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Pong was received" - }, - "properties": [ - { - "id": "unit", - "value": "dateTimeFromNow" - }, - { - "id": "custom.width", - "value": 186 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "State" - }, - "properties": [ - { - "id": "custom.width", - "value": 120 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Flags" - }, - "properties": [ - { - "id": "custom.width", - "value": 185 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Replica's Master" - }, - "properties": [ - { - "id": "custom.width", - "value": 321 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Address" - }, - "properties": [ - { - "id": "custom.width", - "value": 243 - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 30 - }, - "id": 62, - "options": { - "showHeader": true, - "sortBy": [ - { - "desc": false, - "displayName": "Flags" - } - ] - }, - "pluginVersion": "8.2.3", - "targets": [ - { - "command": "clusterNodes", - "datasource": { - "uid": "$redis" - }, - "query": "", - "refId": "A", - "type": "command" - } - ], - "title": "Nodes", - "transformations": [ - { - "id": "organize", - "options": { - "excludeByName": { - "Epoch": true - }, - "indexByName": {}, - "renameByName": { - "Address": "", - "Id": "", - "Master": "Replica's Master", - "Ping": "Ping was sent", - "Pong": "Pong was received", - "Slot": "Hash slot number or range" - } - } - } - ], - "type": "table" } ], "refresh": "10s", "revision": 1, "schemaVersion": 38, - "style": "dark", "tags": [], "templating": { "list": [ @@ -1757,7 +1375,7 @@ "current": { "selected": false, "text": "Redis", - "value": "Redis" + "value": "PA7F6415749A3297A" }, "hide": 0, "includeAll": false, @@ -1796,4 +1414,4 @@ "uid": "xwopWdf4k", "version": 1, "weekStart": "" -} +} \ No newline at end of file -- cgit 1.4.1