From 577873e4e6ee79fffa15ac2f89f2ecba6dae339f Mon Sep 17 00:00:00 2001 From: cycker Date: Fri, 11 Oct 2024 10:39:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(redis):=20redis=20dashboard=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20total=20qps=20#7282?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../json/tendis-predixyrediscluster.json | 141 +++++++----- .../dashboards/json/tendis-redisinstance.json | 167 +++++++++----- .../dashboards/json/tendiscache.json | 196 +++++++++++------ .../dashboards/json/tendisplus.json | 206 +++++++++--------- .../dashboards/json/tendisssd.json | 202 +++++++++++------ 5 files changed, 559 insertions(+), 353 deletions(-) diff --git a/dbm-ui/backend/bk_dataview/dashboards/json/tendis-predixyrediscluster.json b/dbm-ui/backend/bk_dataview/dashboards/json/tendis-predixyrediscluster.json index 7f2a3e021b..c27cd70825 100644 --- a/dbm-ui/backend/bk_dataview/dashboards/json/tendis-predixyrediscluster.json +++ b/dbm-ui/backend/bk_dataview/dashboards/json/tendis-predixyrediscluster.json @@ -37,7 +37,7 @@ "x": 0, "y": 0 }, - "id": null, + "id": 7, "panels": [ { "datasource": { @@ -100,7 +100,7 @@ "x": 0, "y": 1 }, - "id": null, + "id": 55, "interval": "2m", "options": { "legend": { @@ -243,7 +243,7 @@ "x": 12, "y": 1 }, - "id": null, + "id": 56, "interval": "2m", "options": { "legend": { @@ -386,7 +386,7 @@ "x": 0, "y": 9 }, - "id": null, + "id": 57, "interval": "2m", "options": { "legend": { @@ -529,7 +529,7 @@ "x": 12, "y": 9 }, - "id": null, + "id": 58, "interval": "2m", "options": { "legend": { @@ -672,7 +672,7 @@ "x": 0, "y": 17 }, - "id": null, + "id": 67, "interval": "2m", "options": { "legend": { @@ -1280,7 +1280,7 @@ "x": 12, "y": 17 }, - "id": null, + "id": 68, "interval": "2m", "options": { "legend": { @@ -1888,7 +1888,7 @@ "x": 0, "y": 25 }, - "id": null, + "id": 59, "interval": "2m", "options": { "legend": { @@ -2087,7 +2087,7 @@ "x": 12, "y": 25 }, - "id": null, + "id": 60, "interval": "2m", "options": { "legend": { @@ -2286,7 +2286,7 @@ "x": 0, "y": 33 }, - "id": null, + "id": 61, "interval": "2m", "options": { "legend": { @@ -2485,7 +2485,7 @@ "x": 12, "y": 33 }, - "id": null, + "id": 63, "interval": "2m", "options": { "legend": { @@ -2684,7 +2684,7 @@ "x": 0, "y": 41 }, - "id": null, + "id": 62, "interval": "2m", "options": { "legend": { @@ -2940,7 +2940,7 @@ "x": 12, "y": 41 }, - "id": null, + "id": 65, "interval": "2m", "options": { "legend": { @@ -3196,7 +3196,7 @@ "x": 0, "y": 49 }, - "id": null, + "id": 64, "interval": "2m", "options": { "legend": { @@ -3340,7 +3340,7 @@ "x": 12, "y": 49 }, - "id": null, + "id": 66, "interval": "2m", "options": { "legend": { @@ -3484,7 +3484,7 @@ "x": 0, "y": 57 }, - "id": null, + "id": 70, "interval": "2m", "options": { "legend": { @@ -3684,7 +3684,7 @@ "x": 12, "y": 57 }, - "id": null, + "id": 71, "interval": "2m", "options": { "legend": { @@ -3835,7 +3835,7 @@ "x": 0, "y": 1 }, - "id": null, + "id": 9, "panels": [], "title": "Redis", "type": "row" @@ -3880,7 +3880,7 @@ "x": 0, "y": 2 }, - "id": null, + "id": 77, "options": { "colorMode": "value", "graphMode": "area", @@ -3991,7 +3991,7 @@ "x": 3, "y": 2 }, - "id": null, + "id": 26, "options": { "colorMode": "value", "graphMode": "area", @@ -4092,7 +4092,7 @@ "x": 6, "y": 2 }, - "id": null, + "id": 14, "options": { "colorMode": "value", "graphMode": "area", @@ -4193,7 +4193,7 @@ "y": 2 }, "hideTimeOverride": true, - "id": null, + "id": 27, "options": { "colorMode": "value", "graphMode": "area", @@ -4311,7 +4311,7 @@ "x": 12, "y": 2 }, - "id": null, + "id": 74, "options": { "colorMode": "value", "graphMode": "area", @@ -4469,7 +4469,7 @@ "x": 15, "y": 2 }, - "id": null, + "id": 36, "options": { "colorMode": "value", "graphMode": "area", @@ -4581,7 +4581,7 @@ "x": 18, "y": 2 }, - "id": null, + "id": 72, "options": { "colorMode": "value", "graphMode": "area", @@ -4689,7 +4689,7 @@ "x": 21, "y": 2 }, - "id": null, + "id": 38, "options": { "colorMode": "value", "graphMode": "none", @@ -4800,7 +4800,7 @@ "x": 0, "y": 5 }, - "id": null, + "id": 73, "options": { "colorMode": "value", "graphMode": "area", @@ -4924,7 +4924,7 @@ "x": 3, "y": 5 }, - "id": null, + "id": 35, "options": { "colorMode": "value", "graphMode": "area", @@ -5033,7 +5033,7 @@ "x": 6, "y": 5 }, - "id": null, + "id": 17, "options": { "colorMode": "value", "graphMode": "area", @@ -5140,7 +5140,7 @@ "x": 9, "y": 5 }, - "id": null, + "id": 28, "options": { "colorMode": "value", "graphMode": "area", @@ -5262,7 +5262,7 @@ "x": 12, "y": 5 }, - "id": null, + "id": 29, "options": { "colorMode": "value", "graphMode": "area", @@ -5374,7 +5374,7 @@ "x": 15, "y": 5 }, - "id": null, + "id": 75, "options": { "colorMode": "value", "graphMode": "area", @@ -5483,7 +5483,7 @@ "x": 18, "y": 5 }, - "id": null, + "id": 83, "options": { "colorMode": "value", "graphMode": "none", @@ -5597,7 +5597,7 @@ "x": 21, "y": 5 }, - "id": null, + "id": 37, "options": { "colorMode": "value", "graphMode": "none", @@ -5740,7 +5740,7 @@ "x": 0, "y": 8 }, - "id": null, + "id": 87, "interval": "2m", "options": { "legend": { @@ -5947,7 +5947,7 @@ "x": 12, "y": 8 }, - "id": null, + "id": 51, "interval": "2m", "options": { "legend": { @@ -5958,7 +5958,7 @@ "displayMode": "table", "placement": "right", "showLegend": true, - "sortBy": "Max", + "sortBy": "Last *", "sortDesc": true, "width": 300 }, @@ -6033,6 +6033,25 @@ "source": "sum by(cmd) (irate(bkmonitor:exporter_dbm_redis_exporter:__default__:redis_commands_total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"}[$__interval])) > 0 ", "step": "", "type": "range" + }, + { + "cluster": [], + "datasource": { + "type": "bkmonitor-timeseries-datasource", + "uid": "bkmonitor_timeseries" + }, + "expressionList": [], + "format": "time_series", + "hide": false, + "host": [], + "mode": "code", + "module": [], + "promqlAlias": "total", + "query_configs": [], + "refId": "B", + "source": "sum(irate(bkmonitor:exporter_dbm_redis_exporter:__default__:redis_commands_total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"}[$__interval]) )", + "step": "", + "type": "range" } ], "title": "Redis Qps ", @@ -6084,7 +6103,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -6098,7 +6118,7 @@ "x": 0, "y": 16 }, - "id": null, + "id": 89, "options": { "legend": { "calcs": [ @@ -6273,7 +6293,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -6287,7 +6308,7 @@ "x": 12, "y": 16 }, - "id": null, + "id": 50, "interval": "2m", "options": { "legend": { @@ -6478,7 +6499,7 @@ "x": 0, "y": 24 }, - "id": null, + "id": 85, "options": { "legend": { "calcs": [ @@ -6933,7 +6954,7 @@ "x": 12, "y": 24 }, - "id": null, + "id": 5, "interval": "2m", "options": { "legend": { @@ -7131,7 +7152,7 @@ "x": 0, "y": 32 }, - "id": null, + "id": 53, "options": { "legend": { "calcs": [ @@ -7320,7 +7341,7 @@ "x": 12, "y": 32 }, - "id": null, + "id": 54, "interval": "2m", "options": { "legend": { @@ -7514,7 +7535,7 @@ "x": 0, "y": 40 }, - "id": null, + "id": 33, "options": { "legend": { "calcs": [ @@ -7656,7 +7677,7 @@ "x": 12, "y": 40 }, - "id": null, + "id": 39, "interval": "2m", "options": { "legend": { @@ -7809,7 +7830,7 @@ "x": 0, "y": 48 }, - "id": null, + "id": 34, "options": { "legend": { "calcs": [ @@ -7954,7 +7975,7 @@ "x": 12, "y": 48 }, - "id": null, + "id": 40, "options": { "legend": { "calcs": [ @@ -8260,7 +8281,7 @@ "x": 0, "y": 56 }, - "id": null, + "id": 41, "interval": "2m", "options": { "legend": { @@ -8352,7 +8373,7 @@ "x": 0, "y": 64 }, - "id": null, + "id": 43, "panels": [], "title": "Shards", "type": "row" @@ -8419,7 +8440,7 @@ "x": 0, "y": 65 }, - "id": null, + "id": 45, "options": { "legend": { "calcs": [ @@ -8559,7 +8580,7 @@ "x": 12, "y": 65 }, - "id": null, + "id": 46, "options": { "legend": { "calcs": [ @@ -8775,7 +8796,7 @@ "x": 0, "y": 73 }, - "id": null, + "id": 44, "options": { "legend": { "calcs": [ @@ -8915,7 +8936,7 @@ "x": 12, "y": 73 }, - "id": null, + "id": 52, "options": { "legend": { "calcs": [ @@ -9065,7 +9086,7 @@ "x": 0, "y": 81 }, - "id": null, + "id": 47, "options": { "legend": { "calcs": [ @@ -9281,7 +9302,7 @@ "x": 12, "y": 81 }, - "id": null, + "id": 49, "options": { "legend": { "calcs": [ @@ -9486,7 +9507,7 @@ "x": 0, "y": 89 }, - "id": null, + "id": 79, "options": { "footer": { "fields": "", @@ -9882,7 +9903,7 @@ "x": 12, "y": 89 }, - "id": null, + "id": 80, "options": { "footer": { "fields": "", @@ -10251,7 +10272,7 @@ "timezone": "", "title": "tendis-PredixyRedisCluster", "uid": "PredixyRedisCluster", - "version": 19, + "version": 20, "weekStart": "", "__inputs": [ { diff --git a/dbm-ui/backend/bk_dataview/dashboards/json/tendis-redisinstance.json b/dbm-ui/backend/bk_dataview/dashboards/json/tendis-redisinstance.json index 69727cf342..633ae02a71 100644 --- a/dbm-ui/backend/bk_dataview/dashboards/json/tendis-redisinstance.json +++ b/dbm-ui/backend/bk_dataview/dashboards/json/tendis-redisinstance.json @@ -37,7 +37,7 @@ "x": 0, "y": 0 }, - "id": null, + "id": 7, "panels": [ { "datasource": { @@ -100,7 +100,7 @@ "x": 0, "y": 1 }, - "id": null, + "id": 56, "interval": "2m", "options": { "legend": { @@ -243,7 +243,7 @@ "x": 12, "y": 1 }, - "id": null, + "id": 58, "interval": "2m", "options": { "legend": { @@ -386,7 +386,7 @@ "x": 0, "y": 9 }, - "id": null, + "id": 60, "interval": "2m", "options": { "legend": { @@ -585,7 +585,7 @@ "x": 12, "y": 9 }, - "id": null, + "id": 68, "interval": "2m", "options": { "legend": { @@ -1193,7 +1193,7 @@ "x": 0, "y": 17 }, - "id": null, + "id": 65, "interval": "2m", "options": { "legend": { @@ -1449,7 +1449,7 @@ "x": 12, "y": 17 }, - "id": null, + "id": 63, "interval": "2m", "options": { "legend": { @@ -1648,7 +1648,7 @@ "x": 0, "y": 25 }, - "id": null, + "id": 71, "interval": "2m", "options": { "legend": { @@ -1848,7 +1848,7 @@ "x": 12, "y": 25 }, - "id": null, + "id": 66, "interval": "2m", "options": { "legend": { @@ -1943,7 +1943,7 @@ "x": 0, "y": 1 }, - "id": null, + "id": 9, "panels": [], "title": "Redis", "type": "row" @@ -1988,7 +1988,7 @@ "x": 0, "y": 2 }, - "id": null, + "id": 73, "options": { "colorMode": "value", "graphMode": "area", @@ -2111,7 +2111,7 @@ "x": 3, "y": 2 }, - "id": null, + "id": 26, "options": { "colorMode": "value", "graphMode": "area", @@ -2218,7 +2218,7 @@ "x": 6, "y": 2 }, - "id": null, + "id": 28, "options": { "colorMode": "value", "graphMode": "area", @@ -2337,7 +2337,7 @@ "x": 9, "y": 2 }, - "id": null, + "id": 17, "options": { "colorMode": "value", "graphMode": "area", @@ -2437,7 +2437,7 @@ "x": 12, "y": 2 }, - "id": null, + "id": 86, "options": { "colorMode": "value", "graphMode": "none", @@ -2555,7 +2555,7 @@ "x": 15, "y": 2 }, - "id": null, + "id": 36, "options": { "colorMode": "value", "graphMode": "area", @@ -2667,7 +2667,7 @@ "x": 18, "y": 2 }, - "id": null, + "id": 72, "options": { "colorMode": "value", "graphMode": "area", @@ -2690,17 +2690,10 @@ "type": "bkmonitor-timeseries-datasource", "uid": "bkmonitor_timeseries" }, - "expressionList": [ - { - "active": true, - "alias": "", - "expression": "sum(a)", - "functions": [] - } - ], + "expressionList": [], "format": "time_series", "host": [], - "mode": "ui", + "mode": "code", "module": [], "promqlAlias": "", "query_configs": [ @@ -2711,12 +2704,10 @@ "display": false, "filter_dict": {}, "functions": [], - "group_by": [ - "bk_target_ip" - ], + "group_by": [], "interval": 60, "interval_unit": "s", - "method": "avg_without_time", + "method": "sum_without_time", "metric_field": "total", "refId": "a", "result_table_id": "dbm_system.mem", @@ -2742,7 +2733,7 @@ } ], "refId": "A", - "source": "avg by (target) (avg_over_time(bkmonitor:dbm_system:mem:total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"}[1m]))", + "source": "sum(bkmonitor:dbm_system:mem:total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"})", "step": "", "type": "instant" } @@ -2784,7 +2775,7 @@ "x": 21, "y": 2 }, - "id": null, + "id": 37, "options": { "colorMode": "value", "graphMode": "none", @@ -2903,7 +2894,7 @@ "x": 0, "y": 5 }, - "id": null, + "id": 84, "options": { "colorMode": "value", "graphMode": "area", @@ -3016,7 +3007,7 @@ "x": 3, "y": 5 }, - "id": null, + "id": 82, "options": { "colorMode": "value", "graphMode": "area", @@ -3128,7 +3119,7 @@ "x": 6, "y": 5 }, - "id": null, + "id": 35, "options": { "colorMode": "value", "graphMode": "area", @@ -3251,7 +3242,7 @@ "x": 9, "y": 5 }, - "id": null, + "id": 85, "options": { "colorMode": "value", "graphMode": "area", @@ -3359,7 +3350,7 @@ "x": 12, "y": 5 }, - "id": null, + "id": 74, "options": { "colorMode": "value", "graphMode": "area", @@ -3517,7 +3508,7 @@ "x": 15, "y": 5 }, - "id": null, + "id": 29, "options": { "colorMode": "value", "graphMode": "area", @@ -3629,7 +3620,7 @@ "x": 18, "y": 5 }, - "id": null, + "id": 75, "options": { "colorMode": "value", "graphMode": "area", @@ -3770,7 +3761,7 @@ "x": 0, "y": 8 }, - "id": null, + "id": 51, "interval": "2m", "options": { "legend": { @@ -3856,6 +3847,72 @@ "source": "sum by(cmd) (irate(bkmonitor:exporter_dbm_redis_exporter:__default__:redis_commands_total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"}[$__interval]))", "step": "", "type": "range" + }, + { + "cluster": [], + "datasource": { + "type": "bkmonitor-timeseries-datasource", + "uid": "bkmonitor_timeseries" + }, + "expressionList": [], + "format": "time_series", + "hide": false, + "host": [], + "mode": "code", + "module": [], + "promqlAlias": "total", + "query_configs": [ + { + "alias": "$tag_cmd", + "data_source_label": "bk_monitor", + "data_type_label": "time_series", + "display": true, + "filter_dict": {}, + "functions": [ + { + "id": "irate", + "params": [ + { + "id": "window", + "value": "2m" + } + ] + } + ], + "group_by": [ + "cmd" + ], + "interval": 60, + "interval_unit": "s", + "method": "SUM", + "metric_field": "redis_commands_total", + "refId": "a", + "result_table_id": "exporter_dbm_redis_exporter.__default__", + "result_table_label": "component", + "time_field": "", + "where": [ + { + "key": "cluster_domain", + "method": "eq", + "value": [ + "$cluster_domain" + ] + }, + { + "condition": "and", + "key": "instance_role", + "method": "eq", + "value": [ + "redis_master" + ] + } + ] + } + ], + "refId": "B", + "source": "sum (irate(bkmonitor:exporter_dbm_redis_exporter:__default__:redis_commands_total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"}[$__interval]))", + "step": "", + "type": "range" } ], "title": "Redis Qps ", @@ -3926,7 +3983,7 @@ "x": 12, "y": 8 }, - "id": null, + "id": 5, "interval": "2m", "options": { "legend": { @@ -4111,7 +4168,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -4125,7 +4183,7 @@ "x": 0, "y": 16 }, - "id": null, + "id": 49, "options": { "legend": { "calcs": [ @@ -4314,7 +4372,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -4332,7 +4391,7 @@ "x": 12, "y": 16 }, - "id": null, + "id": 40, "options": { "legend": { "calcs": [ @@ -4638,7 +4697,7 @@ "x": 0, "y": 24 }, - "id": null, + "id": 81, "options": { "legend": { "calcs": [ @@ -4834,7 +4893,7 @@ "x": 12, "y": 24 }, - "id": null, + "id": 46, "options": { "legend": { "calcs": [ @@ -5046,7 +5105,7 @@ "x": 0, "y": 32 }, - "id": null, + "id": 50, "interval": "2m", "options": { "legend": { @@ -5236,7 +5295,7 @@ "x": 12, "y": 32 }, - "id": null, + "id": 52, "options": { "legend": { "calcs": [ @@ -5386,7 +5445,7 @@ "x": 0, "y": 40 }, - "id": null, + "id": 47, "options": { "legend": { "calcs": [ @@ -5602,7 +5661,7 @@ "x": 12, "y": 40 }, - "id": null, + "id": 83, "options": { "legend": { "calcs": [ @@ -5736,7 +5795,7 @@ "x": 0, "y": 48 }, - "id": null, + "id": 79, "options": { "footer": { "fields": "", @@ -6132,7 +6191,7 @@ "x": 0, "y": 56 }, - "id": null, + "id": 80, "options": { "footer": { "fields": "", @@ -6500,7 +6559,7 @@ "timezone": "", "title": "RedisInstance", "uid": "RedisInstance", - "version": 29, + "version": 31, "weekStart": "", "__inputs": [ { diff --git a/dbm-ui/backend/bk_dataview/dashboards/json/tendiscache.json b/dbm-ui/backend/bk_dataview/dashboards/json/tendiscache.json index f1da3ea312..de3ec9e165 100644 --- a/dbm-ui/backend/bk_dataview/dashboards/json/tendiscache.json +++ b/dbm-ui/backend/bk_dataview/dashboards/json/tendiscache.json @@ -37,7 +37,7 @@ "x": 0, "y": 0 }, - "id": null, + "id": 7, "panels": [ { "datasource": { @@ -100,7 +100,7 @@ "x": 0, "y": 1 }, - "id": null, + "id": 55, "interval": "2m", "options": { "legend": { @@ -243,7 +243,7 @@ "x": 12, "y": 1 }, - "id": null, + "id": 56, "interval": "2m", "options": { "legend": { @@ -386,7 +386,7 @@ "x": 0, "y": 9 }, - "id": null, + "id": 57, "interval": "2m", "options": { "legend": { @@ -529,7 +529,7 @@ "x": 12, "y": 9 }, - "id": null, + "id": 58, "interval": "2m", "options": { "legend": { @@ -672,7 +672,7 @@ "x": 0, "y": 17 }, - "id": null, + "id": 67, "interval": "2m", "options": { "legend": { @@ -1280,7 +1280,7 @@ "x": 12, "y": 17 }, - "id": null, + "id": 68, "interval": "2m", "options": { "legend": { @@ -1888,7 +1888,7 @@ "x": 0, "y": 25 }, - "id": null, + "id": 59, "interval": "2m", "options": { "legend": { @@ -2087,7 +2087,7 @@ "x": 12, "y": 25 }, - "id": null, + "id": 60, "interval": "2m", "options": { "legend": { @@ -2286,7 +2286,7 @@ "x": 0, "y": 33 }, - "id": null, + "id": 61, "interval": "2m", "options": { "legend": { @@ -2485,7 +2485,7 @@ "x": 12, "y": 33 }, - "id": null, + "id": 63, "interval": "2m", "options": { "legend": { @@ -2684,7 +2684,7 @@ "x": 0, "y": 41 }, - "id": null, + "id": 62, "interval": "2m", "options": { "legend": { @@ -2940,7 +2940,7 @@ "x": 12, "y": 41 }, - "id": null, + "id": 65, "interval": "2m", "options": { "legend": { @@ -3196,7 +3196,7 @@ "x": 0, "y": 49 }, - "id": null, + "id": 64, "interval": "2m", "options": { "legend": { @@ -3340,7 +3340,7 @@ "x": 12, "y": 49 }, - "id": null, + "id": 66, "interval": "2m", "options": { "legend": { @@ -3484,7 +3484,7 @@ "x": 0, "y": 57 }, - "id": null, + "id": 70, "interval": "2m", "options": { "legend": { @@ -3684,7 +3684,7 @@ "x": 12, "y": 57 }, - "id": null, + "id": 71, "interval": "2m", "options": { "legend": { @@ -3835,7 +3835,7 @@ "x": 0, "y": 1 }, - "id": null, + "id": 9, "panels": [], "title": "Redis", "type": "row" @@ -3880,7 +3880,7 @@ "x": 0, "y": 2 }, - "id": null, + "id": 77, "options": { "colorMode": "value", "graphMode": "area", @@ -3991,7 +3991,7 @@ "x": 3, "y": 2 }, - "id": null, + "id": 26, "options": { "colorMode": "value", "graphMode": "area", @@ -4092,7 +4092,7 @@ "x": 6, "y": 2 }, - "id": null, + "id": 14, "options": { "colorMode": "value", "graphMode": "area", @@ -4193,7 +4193,7 @@ "y": 2 }, "hideTimeOverride": true, - "id": null, + "id": 27, "options": { "colorMode": "value", "graphMode": "area", @@ -4307,7 +4307,7 @@ "x": 12, "y": 2 }, - "id": null, + "id": 29, "options": { "colorMode": "value", "graphMode": "area", @@ -4419,7 +4419,7 @@ "x": 15, "y": 2 }, - "id": null, + "id": 36, "options": { "colorMode": "value", "graphMode": "area", @@ -4445,7 +4445,7 @@ "expressionList": [], "format": "time_series", "host": [], - "mode": "ui", + "mode": "code", "module": [], "promqlAlias": "", "query_configs": [ @@ -4485,7 +4485,7 @@ } ], "refId": "A", - "source": "sum(irate(bkmonitor:exporter_dbm_redis_exporter:__default__:redis_commands_total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"}[2m]))", + "source": "sum(bkmonitor:exporter_dbm_redis_exporter:__default__:redis_memory_used_rss_bytes{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"})", "step": "", "type": "instant" } @@ -4531,7 +4531,7 @@ "x": 18, "y": 2 }, - "id": null, + "id": 72, "options": { "colorMode": "value", "graphMode": "area", @@ -4564,7 +4564,7 @@ ], "format": "time_series", "host": [], - "mode": "ui", + "mode": "code", "module": [], "promqlAlias": "", "query_configs": [ @@ -4606,7 +4606,7 @@ } ], "refId": "A", - "source": "avg by (target) (avg_over_time(bkmonitor:dbm_system:mem:total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"}[1m]))", + "source": "sum(avg by (bk_target_ip) (avg_over_time(bkmonitor:dbm_system:mem:total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"}[1m])))", "step": "", "type": "instant" } @@ -4648,7 +4648,7 @@ "x": 21, "y": 2 }, - "id": null, + "id": 38, "options": { "colorMode": "value", "graphMode": "none", @@ -4758,7 +4758,7 @@ "x": 0, "y": 5 }, - "id": null, + "id": 73, "options": { "colorMode": "value", "graphMode": "area", @@ -4882,7 +4882,7 @@ "x": 3, "y": 5 }, - "id": null, + "id": 35, "options": { "colorMode": "value", "graphMode": "area", @@ -4991,7 +4991,7 @@ "x": 6, "y": 5 }, - "id": null, + "id": 17, "options": { "colorMode": "value", "graphMode": "area", @@ -5098,7 +5098,7 @@ "x": 9, "y": 5 }, - "id": null, + "id": 28, "options": { "colorMode": "value", "graphMode": "area", @@ -5224,7 +5224,7 @@ "x": 12, "y": 5 }, - "id": null, + "id": 74, "options": { "colorMode": "value", "graphMode": "area", @@ -5382,7 +5382,7 @@ "x": 15, "y": 5 }, - "id": null, + "id": 75, "options": { "colorMode": "value", "graphMode": "area", @@ -5491,7 +5491,7 @@ "x": 18, "y": 5 }, - "id": null, + "id": 83, "options": { "colorMode": "value", "graphMode": "none", @@ -5605,7 +5605,7 @@ "x": 21, "y": 5 }, - "id": null, + "id": 37, "options": { "colorMode": "value", "graphMode": "none", @@ -5748,7 +5748,7 @@ "x": 0, "y": 8 }, - "id": null, + "id": 20, "interval": "2m", "options": { "legend": { @@ -5955,7 +5955,7 @@ "x": 12, "y": 8 }, - "id": null, + "id": 51, "interval": "2m", "options": { "legend": { @@ -6041,6 +6041,72 @@ "source": "sum by(cmd) (irate(bkmonitor:exporter_dbm_redis_exporter:__default__:redis_commands_total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"}[$__interval])) > 0 ", "step": "", "type": "range" + }, + { + "cluster": [], + "datasource": { + "type": "bkmonitor-timeseries-datasource", + "uid": "bkmonitor_timeseries" + }, + "expressionList": [], + "format": "time_series", + "hide": false, + "host": [], + "mode": "code", + "module": [], + "promqlAlias": "total", + "query_configs": [ + { + "alias": "$tag_cmd", + "data_source_label": "bk_monitor", + "data_type_label": "time_series", + "display": true, + "filter_dict": {}, + "functions": [ + { + "id": "irate", + "params": [ + { + "id": "window", + "value": "2m" + } + ] + } + ], + "group_by": [ + "cmd" + ], + "interval": 60, + "interval_unit": "s", + "method": "SUM", + "metric_field": "redis_commands_total", + "refId": "a", + "result_table_id": "exporter_dbm_redis_exporter.__default__", + "result_table_label": "component", + "time_field": "", + "where": [ + { + "key": "cluster_domain", + "method": "eq", + "value": [ + "$cluster_domain" + ] + }, + { + "condition": "and", + "key": "instance_role", + "method": "eq", + "value": [ + "redis_master" + ] + } + ] + } + ], + "refId": "B", + "source": "sum (irate(bkmonitor:exporter_dbm_redis_exporter:__default__:redis_commands_total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"}[$__interval])) ", + "step": "", + "type": "range" } ], "title": "Redis Qps ", @@ -6092,7 +6158,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -6106,7 +6173,7 @@ "x": 0, "y": 16 }, - "id": null, + "id": 22, "options": { "legend": { "calcs": [ @@ -6281,7 +6348,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -6295,7 +6363,7 @@ "x": 12, "y": 16 }, - "id": null, + "id": 50, "interval": "2m", "options": { "legend": { @@ -6486,7 +6554,7 @@ "x": 0, "y": 24 }, - "id": null, + "id": 31, "options": { "legend": { "calcs": [ @@ -6940,7 +7008,7 @@ "x": 12, "y": 24 }, - "id": null, + "id": 5, "interval": "2m", "options": { "legend": { @@ -7138,7 +7206,7 @@ "x": 0, "y": 32 }, - "id": null, + "id": 53, "options": { "legend": { "calcs": [ @@ -7327,7 +7395,7 @@ "x": 12, "y": 32 }, - "id": null, + "id": 54, "interval": "2m", "options": { "legend": { @@ -7521,7 +7589,7 @@ "x": 0, "y": 40 }, - "id": null, + "id": 33, "options": { "legend": { "calcs": [ @@ -7663,7 +7731,7 @@ "x": 12, "y": 40 }, - "id": null, + "id": 39, "interval": "2m", "options": { "legend": { @@ -7816,7 +7884,7 @@ "x": 0, "y": 48 }, - "id": null, + "id": 34, "options": { "legend": { "calcs": [ @@ -7961,7 +8029,7 @@ "x": 12, "y": 48 }, - "id": null, + "id": 40, "options": { "legend": { "calcs": [ @@ -8267,7 +8335,7 @@ "x": 0, "y": 56 }, - "id": null, + "id": 41, "interval": "2m", "options": { "legend": { @@ -8412,7 +8480,7 @@ "x": 12, "y": 56 }, - "id": null, + "id": 81, "interval": "2m", "options": { "legend": { @@ -8465,7 +8533,7 @@ "x": 0, "y": 64 }, - "id": null, + "id": 43, "panels": [], "title": "Shards", "type": "row" @@ -8532,7 +8600,7 @@ "x": 0, "y": 65 }, - "id": null, + "id": 45, "options": { "legend": { "calcs": [ @@ -8672,7 +8740,7 @@ "x": 12, "y": 65 }, - "id": null, + "id": 46, "options": { "legend": { "calcs": [ @@ -8888,7 +8956,7 @@ "x": 0, "y": 73 }, - "id": null, + "id": 44, "options": { "legend": { "calcs": [ @@ -9028,7 +9096,7 @@ "x": 12, "y": 73 }, - "id": null, + "id": 52, "options": { "legend": { "calcs": [ @@ -9178,7 +9246,7 @@ "x": 0, "y": 81 }, - "id": null, + "id": 47, "options": { "legend": { "calcs": [ @@ -9394,7 +9462,7 @@ "x": 12, "y": 81 }, - "id": null, + "id": 49, "options": { "legend": { "calcs": [ @@ -9599,7 +9667,7 @@ "x": 0, "y": 89 }, - "id": null, + "id": 79, "options": { "footer": { "fields": "", @@ -9995,7 +10063,7 @@ "x": 12, "y": 89 }, - "id": null, + "id": 80, "options": { "footer": { "fields": "", @@ -10363,7 +10431,7 @@ "timezone": "", "title": "tendis-cache", "uid": "6nXM8aF42", - "version": 27, + "version": 30, "weekStart": "", "__inputs": [ { diff --git a/dbm-ui/backend/bk_dataview/dashboards/json/tendisplus.json b/dbm-ui/backend/bk_dataview/dashboards/json/tendisplus.json index a176046a97..e9022c3818 100644 --- a/dbm-ui/backend/bk_dataview/dashboards/json/tendisplus.json +++ b/dbm-ui/backend/bk_dataview/dashboards/json/tendisplus.json @@ -37,7 +37,7 @@ "x": 0, "y": 0 }, - "id": null, + "id": 56, "panels": [ { "datasource": { @@ -100,7 +100,7 @@ "x": 0, "y": 1 }, - "id": null, + "id": 58, "interval": "2m", "options": { "legend": { @@ -235,7 +235,7 @@ "x": 12, "y": 1 }, - "id": null, + "id": 72, "interval": "2m", "options": { "legend": { @@ -370,7 +370,7 @@ "x": 0, "y": 9 }, - "id": null, + "id": 91, "interval": "2m", "options": { "legend": { @@ -464,7 +464,7 @@ "x": 0, "y": 1 }, - "id": null, + "id": 7, "panels": [ { "datasource": { @@ -513,8 +513,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -528,7 +527,7 @@ "x": 0, "y": 2 }, - "id": null, + "id": 55, "interval": "2m", "options": { "legend": { @@ -657,8 +656,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -672,7 +670,7 @@ "x": 12, "y": 2 }, - "id": null, + "id": 56, "interval": "2m", "options": { "legend": { @@ -801,8 +799,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -816,7 +813,7 @@ "x": 0, "y": 10 }, - "id": null, + "id": 57, "interval": "2m", "options": { "legend": { @@ -945,8 +942,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -960,7 +956,7 @@ "x": 12, "y": 10 }, - "id": null, + "id": 58, "interval": "2m", "options": { "legend": { @@ -1089,8 +1085,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -1104,7 +1099,7 @@ "x": 0, "y": 18 }, - "id": null, + "id": 67, "interval": "2m", "options": { "legend": { @@ -1698,8 +1693,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -1713,7 +1707,7 @@ "x": 12, "y": 18 }, - "id": null, + "id": 68, "interval": "2m", "options": { "legend": { @@ -2307,8 +2301,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -2322,7 +2315,7 @@ "x": 0, "y": 26 }, - "id": null, + "id": 59, "interval": "2m", "options": { "legend": { @@ -2507,8 +2500,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -2522,7 +2514,7 @@ "x": 12, "y": 26 }, - "id": null, + "id": 60, "interval": "2m", "options": { "legend": { @@ -2721,7 +2713,7 @@ "x": 0, "y": 34 }, - "id": null, + "id": 61, "interval": "2m", "options": { "legend": { @@ -2920,7 +2912,7 @@ "x": 12, "y": 34 }, - "id": null, + "id": 63, "interval": "2m", "options": { "legend": { @@ -3119,7 +3111,7 @@ "x": 0, "y": 42 }, - "id": null, + "id": 62, "interval": "2m", "options": { "legend": { @@ -3375,7 +3367,7 @@ "x": 12, "y": 42 }, - "id": null, + "id": 65, "interval": "2m", "options": { "legend": { @@ -3631,7 +3623,7 @@ "x": 0, "y": 50 }, - "id": null, + "id": 64, "interval": "2m", "options": { "legend": { @@ -3775,7 +3767,7 @@ "x": 12, "y": 50 }, - "id": null, + "id": 66, "interval": "2m", "options": { "legend": { @@ -3919,7 +3911,7 @@ "x": 0, "y": 58 }, - "id": null, + "id": 70, "interval": "2m", "options": { "legend": { @@ -4119,7 +4111,7 @@ "x": 12, "y": 58 }, - "id": null, + "id": 71, "interval": "2m", "options": { "legend": { @@ -4270,7 +4262,7 @@ "x": 0, "y": 2 }, - "id": null, + "id": 9, "panels": [], "title": "Redis", "type": "row" @@ -4315,7 +4307,7 @@ "x": 0, "y": 3 }, - "id": null, + "id": 75, "options": { "colorMode": "value", "graphMode": "area", @@ -4422,7 +4414,7 @@ "x": 3, "y": 3 }, - "id": null, + "id": 26, "options": { "colorMode": "value", "graphMode": "area", @@ -4523,7 +4515,7 @@ "x": 6, "y": 3 }, - "id": null, + "id": 14, "options": { "colorMode": "value", "graphMode": "area", @@ -4623,7 +4615,7 @@ "y": 3 }, "hideTimeOverride": true, - "id": null, + "id": 27, "options": { "colorMode": "value", "graphMode": "area", @@ -4737,7 +4729,7 @@ "x": 12, "y": 3 }, - "id": null, + "id": 83, "options": { "colorMode": "value", "graphMode": "area", @@ -4851,7 +4843,7 @@ "x": 15, "y": 3 }, - "id": null, + "id": 36, "options": { "colorMode": "value", "graphMode": "area", @@ -4963,7 +4955,7 @@ "x": 18, "y": 3 }, - "id": null, + "id": 77, "options": { "colorMode": "value", "graphMode": "area", @@ -5076,7 +5068,7 @@ "x": 21, "y": 3 }, - "id": null, + "id": 38, "options": { "colorMode": "value", "graphMode": "none", @@ -5187,7 +5179,7 @@ "x": 0, "y": 6 }, - "id": null, + "id": 85, "options": { "colorMode": "value", "graphMode": "area", @@ -5311,7 +5303,7 @@ "x": 3, "y": 6 }, - "id": null, + "id": 35, "options": { "colorMode": "value", "graphMode": "area", @@ -5420,7 +5412,7 @@ "x": 6, "y": 6 }, - "id": null, + "id": 17, "options": { "colorMode": "value", "graphMode": "area", @@ -5526,7 +5518,7 @@ "x": 9, "y": 6 }, - "id": null, + "id": 28, "options": { "colorMode": "value", "graphMode": "area", @@ -5652,7 +5644,7 @@ "x": 12, "y": 6 }, - "id": null, + "id": 84, "options": { "colorMode": "value", "graphMode": "area", @@ -5762,7 +5754,7 @@ "x": 15, "y": 6 }, - "id": null, + "id": 81, "options": { "colorMode": "value", "graphMode": "area", @@ -5876,7 +5868,7 @@ "x": 18, "y": 6 }, - "id": null, + "id": 79, "options": { "colorMode": "value", "graphMode": "area", @@ -5991,7 +5983,7 @@ "x": 21, "y": 6 }, - "id": null, + "id": 37, "options": { "colorMode": "value", "graphMode": "none", @@ -6131,7 +6123,7 @@ "x": 0, "y": 9 }, - "id": null, + "id": 87, "interval": "2m", "options": { "legend": { @@ -6338,7 +6330,7 @@ "x": 12, "y": 9 }, - "id": null, + "id": 51, "interval": "2m", "options": { "legend": { @@ -6424,6 +6416,25 @@ "source": "sum by(cmd) (irate(bkmonitor:exporter_dbm_redis_exporter:__default__:redis_commands_total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"}[$__interval]))", "step": "", "type": "range" + }, + { + "cluster": [], + "datasource": { + "type": "bkmonitor-timeseries-datasource", + "uid": "bkmonitor_timeseries" + }, + "expressionList": [], + "format": "time_series", + "hide": false, + "host": [], + "mode": "code", + "module": [], + "promqlAlias": "total", + "query_configs": [], + "refId": "B", + "source": "sum (irate(bkmonitor:exporter_dbm_redis_exporter:__default__:redis_commands_total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"}[$__interval]))", + "step": "", + "type": "range" } ], "title": "Redis Qps ", @@ -6490,7 +6501,7 @@ "x": 0, "y": 17 }, - "id": null, + "id": 89, "options": { "legend": { "calcs": [ @@ -6680,7 +6691,7 @@ "x": 12, "y": 17 }, - "id": null, + "id": 50, "interval": "2m", "options": { "legend": { @@ -6857,8 +6868,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -6872,7 +6882,7 @@ "x": 0, "y": 25 }, - "id": null, + "id": 92, "options": { "legend": { "calcs": [ @@ -7309,8 +7319,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -7328,7 +7337,7 @@ "x": 12, "y": 25 }, - "id": null, + "id": 5, "interval": "2m", "options": { "legend": { @@ -7512,8 +7521,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -7527,7 +7535,7 @@ "x": 0, "y": 33 }, - "id": null, + "id": 31, "options": { "legend": { "calcs": [ @@ -7965,8 +7973,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -7980,7 +7987,7 @@ "x": 12, "y": 33 }, - "id": null, + "id": 54, "interval": "2m", "options": { "legend": { @@ -8155,8 +8162,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -8170,7 +8176,7 @@ "x": 0, "y": 41 }, - "id": null, + "id": 22, "options": { "legend": { "calcs": [ @@ -8345,8 +8351,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -8360,7 +8365,7 @@ "x": 12, "y": 41 }, - "id": null, + "id": 39, "interval": "2m", "options": { "legend": { @@ -8499,8 +8504,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -8518,7 +8522,7 @@ "x": 0, "y": 49 }, - "id": null, + "id": 33, "options": { "legend": { "calcs": [ @@ -8646,8 +8650,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -8661,7 +8664,7 @@ "x": 12, "y": 49 }, - "id": null, + "id": 90, "interval": "2m", "options": { "legend": { @@ -9013,8 +9016,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -9028,7 +9030,7 @@ "x": 0, "y": 57 }, - "id": null, + "id": 34, "options": { "legend": { "calcs": [ @@ -9155,8 +9157,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -9170,7 +9171,7 @@ "x": 12, "y": 57 }, - "id": null, + "id": 46, "options": { "legend": { "calcs": [ @@ -9368,8 +9369,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -9383,7 +9383,7 @@ "x": 0, "y": 65 }, - "id": null, + "id": 20, "interval": "2m", "options": { "legend": { @@ -9482,7 +9482,7 @@ "x": 0, "y": 73 }, - "id": null, + "id": 43, "panels": [], "title": "Host ", "type": "row" @@ -9534,8 +9534,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -9549,7 +9548,7 @@ "x": 0, "y": 74 }, - "id": null, + "id": 47, "options": { "legend": { "calcs": [ @@ -9752,8 +9751,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -9767,7 +9765,7 @@ "x": 12, "y": 74 }, - "id": null, + "id": 45, "options": { "legend": { "calcs": [ @@ -9895,8 +9893,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -9910,7 +9907,7 @@ "x": 0, "y": 82 }, - "id": null, + "id": 49, "options": { "legend": { "calcs": [ @@ -10099,8 +10096,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -10114,7 +10110,7 @@ "x": 12, "y": 82 }, - "id": null, + "id": 52, "options": { "legend": { "calcs": [ @@ -10279,7 +10275,7 @@ "timezone": "", "title": "tendisplus-cluster", "uid": "BBo1yt0Vk", - "version": 87, + "version": 88, "weekStart": "", "__inputs": [ { diff --git a/dbm-ui/backend/bk_dataview/dashboards/json/tendisssd.json b/dbm-ui/backend/bk_dataview/dashboards/json/tendisssd.json index 33d8c41c41..526142fa95 100644 --- a/dbm-ui/backend/bk_dataview/dashboards/json/tendisssd.json +++ b/dbm-ui/backend/bk_dataview/dashboards/json/tendisssd.json @@ -37,7 +37,7 @@ "x": 0, "y": 0 }, - "id": null, + "id": 7, "panels": [ { "datasource": { @@ -100,7 +100,7 @@ "x": 0, "y": 1 }, - "id": null, + "id": 55, "interval": "2m", "options": { "legend": { @@ -243,7 +243,7 @@ "x": 12, "y": 1 }, - "id": null, + "id": 56, "interval": "2m", "options": { "legend": { @@ -386,7 +386,7 @@ "x": 0, "y": 9 }, - "id": null, + "id": 57, "interval": "2m", "options": { "legend": { @@ -529,7 +529,7 @@ "x": 12, "y": 9 }, - "id": null, + "id": 58, "interval": "2m", "options": { "legend": { @@ -672,7 +672,7 @@ "x": 0, "y": 17 }, - "id": null, + "id": 67, "interval": "2m", "options": { "legend": { @@ -1280,7 +1280,7 @@ "x": 12, "y": 17 }, - "id": null, + "id": 68, "interval": "2m", "options": { "legend": { @@ -1888,7 +1888,7 @@ "x": 0, "y": 25 }, - "id": null, + "id": 59, "interval": "2m", "options": { "legend": { @@ -2087,7 +2087,7 @@ "x": 12, "y": 25 }, - "id": null, + "id": 60, "interval": "2m", "options": { "legend": { @@ -2286,7 +2286,7 @@ "x": 0, "y": 33 }, - "id": null, + "id": 61, "interval": "2m", "options": { "legend": { @@ -2485,7 +2485,7 @@ "x": 12, "y": 33 }, - "id": null, + "id": 63, "interval": "2m", "options": { "legend": { @@ -2684,7 +2684,7 @@ "x": 0, "y": 41 }, - "id": null, + "id": 62, "interval": "2m", "options": { "legend": { @@ -2940,7 +2940,7 @@ "x": 12, "y": 41 }, - "id": null, + "id": 65, "interval": "2m", "options": { "legend": { @@ -3196,7 +3196,7 @@ "x": 0, "y": 49 }, - "id": null, + "id": 64, "interval": "2m", "options": { "legend": { @@ -3340,7 +3340,7 @@ "x": 12, "y": 49 }, - "id": null, + "id": 66, "interval": "2m", "options": { "legend": { @@ -3484,7 +3484,7 @@ "x": 0, "y": 57 }, - "id": null, + "id": 70, "interval": "2m", "options": { "legend": { @@ -3684,7 +3684,7 @@ "x": 12, "y": 57 }, - "id": null, + "id": 71, "interval": "2m", "options": { "legend": { @@ -3835,7 +3835,7 @@ "x": 0, "y": 1 }, - "id": null, + "id": 73, "panels": [ { "datasource": { @@ -3898,7 +3898,7 @@ "x": 0, "y": 2 }, - "id": null, + "id": 75, "interval": "2m", "options": { "legend": { @@ -4047,7 +4047,7 @@ "x": 12, "y": 2 }, - "id": null, + "id": 76, "interval": "2m", "options": { "legend": { @@ -4196,7 +4196,7 @@ "x": 0, "y": 10 }, - "id": null, + "id": 78, "interval": "2m", "options": { "legend": { @@ -4345,7 +4345,7 @@ "x": 12, "y": 10 }, - "id": null, + "id": 77, "interval": "2m", "options": { "legend": { @@ -4504,7 +4504,7 @@ "x": 0, "y": 18 }, - "id": null, + "id": 80, "interval": "2m", "options": { "legend": { @@ -4689,7 +4689,7 @@ "x": 12, "y": 18 }, - "id": null, + "id": 79, "interval": "2m", "options": { "legend": { @@ -4838,7 +4838,7 @@ "x": 0, "y": 26 }, - "id": null, + "id": 81, "interval": "2m", "options": { "legend": { @@ -4997,7 +4997,7 @@ "x": 12, "y": 26 }, - "id": null, + "id": 82, "interval": "2m", "options": { "legend": { @@ -5107,7 +5107,7 @@ "x": 0, "y": 2 }, - "id": null, + "id": 9, "panels": [], "title": "Redis", "type": "row" @@ -5152,7 +5152,7 @@ "x": 0, "y": 3 }, - "id": null, + "id": 77, "options": { "colorMode": "value", "graphMode": "area", @@ -5263,7 +5263,7 @@ "x": 3, "y": 3 }, - "id": null, + "id": 26, "options": { "colorMode": "value", "graphMode": "area", @@ -5360,7 +5360,7 @@ "x": 6, "y": 3 }, - "id": null, + "id": 14, "options": { "colorMode": "value", "graphMode": "area", @@ -5461,7 +5461,7 @@ "y": 3 }, "hideTimeOverride": true, - "id": null, + "id": 27, "options": { "colorMode": "value", "graphMode": "area", @@ -5575,7 +5575,7 @@ "x": 12, "y": 3 }, - "id": null, + "id": 86, "options": { "colorMode": "value", "graphMode": "area", @@ -5689,7 +5689,7 @@ "x": 15, "y": 3 }, - "id": null, + "id": 36, "options": { "colorMode": "value", "graphMode": "area", @@ -5802,7 +5802,7 @@ "y": 3 }, "hideTimeOverride": true, - "id": null, + "id": 83, "options": { "colorMode": "value", "graphMode": "area", @@ -5921,7 +5921,7 @@ "x": 21, "y": 3 }, - "id": null, + "id": 38, "options": { "colorMode": "value", "graphMode": "none", @@ -6031,7 +6031,7 @@ "x": 0, "y": 6 }, - "id": null, + "id": 89, "options": { "colorMode": "value", "graphMode": "area", @@ -6139,7 +6139,7 @@ "x": 3, "y": 6 }, - "id": null, + "id": 97, "options": { "colorMode": "value", "graphMode": "none", @@ -6254,7 +6254,7 @@ "x": 6, "y": 6 }, - "id": null, + "id": 17, "options": { "colorMode": "value", "graphMode": "area", @@ -6361,7 +6361,7 @@ "x": 9, "y": 6 }, - "id": null, + "id": 28, "options": { "colorMode": "value", "graphMode": "area", @@ -6487,7 +6487,7 @@ "x": 12, "y": 6 }, - "id": null, + "id": 85, "options": { "colorMode": "value", "graphMode": "area", @@ -6597,7 +6597,7 @@ "x": 15, "y": 6 }, - "id": null, + "id": 95, "options": { "colorMode": "value", "graphMode": "area", @@ -6711,7 +6711,7 @@ "x": 18, "y": 6 }, - "id": null, + "id": 93, "options": { "colorMode": "value", "graphMode": "area", @@ -6830,7 +6830,7 @@ "x": 21, "y": 6 }, - "id": null, + "id": 37, "options": { "colorMode": "value", "graphMode": "none", @@ -6972,7 +6972,7 @@ "x": 0, "y": 9 }, - "id": null, + "id": 20, "interval": "2m", "options": { "legend": { @@ -7179,7 +7179,7 @@ "x": 12, "y": 9 }, - "id": null, + "id": 51, "interval": "2m", "options": { "legend": { @@ -7265,6 +7265,72 @@ "source": "sum by(cmd) (irate(bkmonitor:exporter_dbm_redis_exporter:__default__:redis_commands_total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"}[$__interval]))", "step": "", "type": "range" + }, + { + "cluster": [], + "datasource": { + "type": "bkmonitor-timeseries-datasource", + "uid": "bkmonitor_timeseries" + }, + "expressionList": [], + "format": "time_series", + "hide": false, + "host": [], + "mode": "code", + "module": [], + "promqlAlias": "total", + "query_configs": [ + { + "alias": "$tag_cmd", + "data_source_label": "bk_monitor", + "data_type_label": "time_series", + "display": true, + "filter_dict": {}, + "functions": [ + { + "id": "irate", + "params": [ + { + "id": "window", + "value": "2m" + } + ] + } + ], + "group_by": [ + "cmd" + ], + "interval": 60, + "interval_unit": "s", + "method": "SUM", + "metric_field": "redis_commands_total", + "refId": "a", + "result_table_id": "exporter_dbm_redis_exporter.__default__", + "result_table_label": "component", + "time_field": "", + "where": [ + { + "key": "cluster_domain", + "method": "eq", + "value": [ + "$cluster_domain" + ] + }, + { + "condition": "and", + "key": "instance_role", + "method": "eq", + "value": [ + "redis_master" + ] + } + ] + } + ], + "refId": "B", + "source": "sum (irate(bkmonitor:exporter_dbm_redis_exporter:__default__:redis_commands_total{cluster_domain=\"$cluster_domain\",instance_role=\"redis_master\"}[$__interval]))", + "step": "", + "type": "range" } ], "title": "Redis Qps ", @@ -7331,7 +7397,7 @@ "x": 0, "y": 17 }, - "id": null, + "id": 22, "options": { "legend": { "calcs": [ @@ -7521,7 +7587,7 @@ "x": 12, "y": 17 }, - "id": null, + "id": 50, "interval": "2m", "options": { "legend": { @@ -7698,8 +7764,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -7713,7 +7778,7 @@ "x": 0, "y": 25 }, - "id": null, + "id": 31, "options": { "legend": { "calcs": [ @@ -8149,8 +8214,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -8168,7 +8232,7 @@ "x": 12, "y": 25 }, - "id": null, + "id": 5, "interval": "2m", "options": { "legend": { @@ -8352,8 +8416,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -8367,7 +8430,7 @@ "x": 0, "y": 33 }, - "id": null, + "id": 53, "options": { "legend": { "calcs": [ @@ -8542,8 +8605,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -8557,7 +8619,7 @@ "x": 12, "y": 33 }, - "id": null, + "id": 54, "interval": "2m", "options": { "legend": { @@ -8751,7 +8813,7 @@ "x": 0, "y": 41 }, - "id": null, + "id": 33, "options": { "legend": { "calcs": [ @@ -8893,7 +8955,7 @@ "x": 12, "y": 41 }, - "id": null, + "id": 39, "interval": "2m", "options": { "legend": { @@ -9046,7 +9108,7 @@ "x": 0, "y": 49 }, - "id": null, + "id": 34, "options": { "legend": { "calcs": [ @@ -9187,7 +9249,7 @@ "x": 12, "y": 49 }, - "id": null, + "id": 91, "interval": "2m", "options": { "legend": { @@ -9293,7 +9355,7 @@ "x": 0, "y": 57 }, - "id": null, + "id": 41, "interval": "2m", "options": { "legend": { @@ -9385,7 +9447,7 @@ "x": 0, "y": 65 }, - "id": null, + "id": 43, "panels": [], "title": "Shards", "type": "row" @@ -9451,7 +9513,7 @@ "x": 0, "y": 66 }, - "id": null, + "id": 49, "options": { "legend": { "calcs": [ @@ -9654,7 +9716,7 @@ "x": 12, "y": 66 }, - "id": null, + "id": 52, "options": { "legend": { "calcs": [ @@ -9808,7 +9870,7 @@ "x": 0, "y": 74 }, - "id": null, + "id": 44, "options": { "legend": { "calcs": [ @@ -9949,7 +10011,7 @@ "x": 12, "y": 74 }, - "id": null, + "id": 45, "options": { "legend": { "calcs": [ @@ -10103,7 +10165,7 @@ "timezone": "", "title": "tendisSsd集群", "uid": "plMeGb8Vk", - "version": 23, + "version": 24, "weekStart": "", "__inputs": [ {