{"id":1874,"date":"2020-07-01T07:15:32","date_gmt":"2020-06-30T23:15:32","guid":{"rendered":"http:\/\/39.97.231.10\/?p=1874"},"modified":"2020-07-01T07:15:32","modified_gmt":"2020-06-30T23:15:32","slug":"prometheus%e7%9b%91%e6%8e%a7-redis-redis-cluster-%e8%af%b4%e6%98%8e","status":"publish","type":"post","link":"http:\/\/www.weijing.co\/?p=1874","title":{"rendered":"Prometheus\u76d1\u63a7 Redis &amp; Redis Cluster \u8bf4\u660e"},"content":{"rendered":"<div>\u8bf4\u660e<\/div>\n<div>\n<div id=\\\"cnblogs_post_body\\\">\n<div id=\\\"cnblogs_post_body\\\">\n\u90e8\u7f72<a href=\\\"https:\/\/prometheus.io\/\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">Prometheus<\/a>+<a href=\\\"https:\/\/grafana.com\/\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">Grafana<\/a>\u00a0\u6765\u76d1\u63a7<a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">Redis<\/a><\/p>\n<h2>\u90e8\u7f72<\/h2>\n<p>\u4e86\u89e3\u4e86Prometheus\u662f\u901a\u8fc7\u62c9\u53d6\u7684\u65b9\u5f0f\u6765\u4fdd\u5b58\u76d1\u63a7\u6570\u636e\u7684\uff0c\u53ef\u4ee5\u81ea\u5df1\u5199\u4e00\u4e2a\u670d\u52a1\u6765\u53bbRedis\u6765\u83b7\u53d6\u9700\u8981\u76d1\u63a7\u7684\u76f8\u5173\u6307\u6807\uff0c\u4e5f\u53ef\u4ee5\u76f4\u63a5\u7528\u73b0\u6210\u7684exporter\uff0c\u5982GitHub\u4e0a<a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\\\" data-pjax=\\\"#js-repo-pjax-container\\\">redis_exporter<\/a>\uff0c\u672c\u6587\u5bf9Redis\u7684\u76d1\u63a7\u662f\u901a\u8fc7\u8be5\u5bfc\u51fa\u5668\u8fdb\u884c\u7684\u3002<\/p>\n<h3><a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\/releases\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\u4e0b\u8f7d<\/a>&amp;\u89e3\u538b\uff1a<\/h3>\n<div>\n<pre>#\u4e0b\u8f7d\nwget https:\/\/github.com\/oliver006\/redis_exporter\/releases\/download\/v1.3.5\/redis_exporter-v1.3.5.linux-amd64.tar.gz\n#\u89e3\u538b\ntar xvf redis_exporter-v1.3.5.linux-amd64.tar.gz<\/pre>\n<\/div>\n<p>\u6ce8\u610f\uff1a<a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\\\" data-pjax=\\\"#js-repo-pjax-container\\\">redis_exporter<\/a>\u00a0\u7248\u672c\u4ece\u00a00.x to 1.x\u00a0\u6709\u4e86\u5f88\u5927\u7684\u6539\u53d8\uff1a\u4e3a\u4e86\u4f7fredis_exporter\u66f4\u7d27\u5bc6\u5730\u9075\u5faa\u201c\u7f16\u5199\u5bfc\u51fa\u5668\u7684\u6700\u4f73\u5b9e\u8df5\u201d\uff0c\u4e0d\u518d\u76f4\u63a5\u652f\u6301\u914d\u7f6e\uff08\u548c\u6293\u53d6\uff09\u591a\u4e2aRedis\u5b9e\u4f8b\uff0c\u800c\u662f\u5c06\u8fd9\u4e00\u4efb\u52a1\u63a8\u7ed9\u4e86Prometheus\u670d\u52a1\u5668.<br \/>\n\u4f46\u5982\u679c\u5df2\u7ecf\u6309\u7167Prometheus\u9879\u76ee\u7684\u63a8\u8350\u4f7f\u7528\u4e86\u5bfc\u51fa\u5668\uff0c\u5e76\u4e14\u4ec5scrape\u4e86\u4e00\u4e2a\u5b9e\u4f8b\uff08\u4f8b\u5982\u4f7f\u7528&#8211;redis.addr\u548c&#8211;redis.password \u6807\u5fd7\uff09\uff0c\u90a3\u4e48\u6ca1\u6709\u4efb\u4f55\u6539\u53d8\u3002<\/p>\n<h3>\u51c6\u5907\uff1a<\/h3>\n<p>1\uff09\u5728\u5f00\u542f<a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\\\" data-pjax=\\\"#js-repo-pjax-container\\\">redis_exporter<\/a>\u00a0[<a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\/releases\/tag\/v1.3.5\\\">v1.3.5<\/a>]\u4e4b\u524d\uff0c\u9700\u8981\u5148\u914d\u7f6e<a id=\\\"cb_post_title_url\\\" href=\\\"https:\/\/www.cnblogs.com\/zhoujinyi\/p\/12012398.html\\\">Prometheus<\/a>\uff0c\u6309\u7167<a id=\\\"cb_post_title_url\\\" href=\\\"https:\/\/www.cnblogs.com\/zhoujinyi\/p\/12012398.html\\\">Prometheus + Grafana \u90e8\u7f72\u8bf4\u660e\u4e4b\u300c\u5b89\u88c5\u300d<\/a>\u88c5\u597dPrometheus\u4e4b\u540e\uff0c\u4fee\u6539\u5176\u914d\u7f6e\u6587\u4ef6\u3002\u672c\u6b21\u793a\u4f8b\u662f\u901a\u8fc7\u6587\u4ef6\u670d\u52a1\u53d1\u73b0\u6765\u5904\u7406\u7684\uff0c\u56e0\u4e3a\u76d1\u63a7\u670d\u52a1\u7684\u540c\u65f6\u4e5f\u8981\u76d1\u63a7\u7cfb\u7edf\u76f8\u5173\u7684\u6307\u6807\uff0c\u6240\u4ee5\u9700\u8981node_exporter\u548credis_exporter\u3002\u6587\u4ef6\u53d1\u73b0\u673a\u5236\u67092\u79cd\u65b9\u5f0f\uff1aexporter\u914d\u7f6e\u53ef\u4ee5\u653e\u5230\u4e00\u4e2a\u6587\u4ef6\uff0c\u4e5f\u53ef\u4ee5\u4e3a\u6bcf\u4e2a\u5b9e\u4f8b\u5355\u72ec\u914d\u7f6e\u6587\u4ef6\u3002\u5982\u653e\u5230\u4e00\u4e2a\u914d\u7f6e\u6587\u4ef6\uff1a<br \/>\n\u2460\u00a0\u591a\u5b9e\u4f8b\u76f8\u540c\u5bc6\u7801\u7684\u6293\u53d6\uff08\u53ea\u9700\u8981\u4e00\u4e2aredis-exporter\uff09\uff0c\u96c6\u7fa4\u4fe1\u606f\uff1a<\/p>\n<div>\n<pre>3\u8282\u70b9\u65e0\u4ece\uff0c\u5bc6\u7801 abc\n192.168.163.132\u3001133\u3001134 -- 6379\n192.168.163.132\u3001133\u3001134 -- 6380<\/pre>\n<\/div>\n<p>1.1 exporter\u914d\u7f6e\u653e\u5230\u4e00\u4e2a\u6587\u4ef6\u7684\u76f8\u5173\u914d\u7f6e\uff1a<br \/>\nprometheus.yml\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_8787517f-2666-438c-a43f-16446c10dc90\\\">\n<pre>global:\n  scrape_interval:     10s # Set the scrape interval to every 15 seconds. Default is every 1 minute.\n  evaluation_interval: 10s # Evaluate rules every 15 seconds. The default is every 1 minute.\nalerting:\n  alertmanagers:\n  - static_configs:\n    - targets:\n      # - alertmanager:9093\nrule_files:\n  # - \\\"first_rules.yml\\\"\n  # - \\\"second_rules.yml\\\"\nscrape_configs:\n  - job_name: \\'prometheus\\'\n    static_configs:\n    - targets: [\\'192.168.163.132:9099\\']\n  - job_name: \\'node_exporter\\'\n    scrape_interval: 1s\n    file_sd_configs:\n      - files:\n        - targets\/node\/nodes-instances.json\n        refresh_interval: 10s\n    relabel_configs:\n    - action: replace\n      source_labels: [\\'__address__\\']\n      regex: (.*):(.*)\n      replacement: $1\n      target_label: hostname\n    - action: labeldrop\n      regex: __meta_filepath\n  - job_name: \\'redis_exporter\\'\n    scrape_interval: 1s\n    file_sd_configs:\n      - files:\n        - targets\/redis\/redis-instances.json\n    metrics_path: \/scrape\n    relabel_configs:\n      - action: replace\n        source_labels: [\\'__address__\\']\n        regex: (.*):(.*)\n        replacement: $1\n        target_label: hostip\n      - source_labels: [__address__]\n        target_label: __param_target\n      - source_labels: [__param_target]\n         target_label: instance\n      - target_label: __address__\n        replacement: 192.168.163.132:9123<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>nodes-instances.json\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_2a2572dd-d407-422f-88c0-aafda9e2d5c3\\\">\n<pre>[\n  {\n    \\\"targets\\\": [ \\\"192.168.163.132:9199\\\", \\\"192.168.163.133:9199\\\",\\\"192.168.163.134:9199\\\"]\n  }\n]<\/pre>\n<\/div>\n<\/div>\n<p>redis-instances.json\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_a12be1e4-d28d-4b0e-85ae-70add7c87d54\\\">\n<pre>[\n  {\n    \\\"targets\\\": [ \\\"192.168.163.132:6379\\\",\\\"192.168.163.133:6379\\\",\\\"192.168.163.134:6379\\\"],\n    \\\"labels\\\":  {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test_one\\\"}\n  },\n  {\n    \\\"targets\\\": [ \\\"192.168.163.132:6380\\\",\\\"192.168.163.133:6380\\\",\\\"192.168.163.134:6380\\\"],\n    \\\"labels\\\":  {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test_two\\\"}\n  }\n]<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>\u4ee5\u540e\u5982\u679c\u6709\u76f8\u5173\u7684\u5b9e\u4f8b\u96c6\u7fa4\u5305\u62ec\u4e3b\u4ece\u52a0\u8fdb\u6765\uff0c\u53ea\u8981\u4fee\u6539\u4ee5\u4e0a2\u4e2aexporter\u6587\u4ef6\u5373\u53ef\u3002\u6700\u540e\u5f00\u542fexporter\uff1a<\/p>\n<div>\n<pre>#\u5404\u4e2a\u8282\u70b9\u6267\u884c node-exporter\uff1a\n.\/node_exporter --web.listen-address=:9199\n#\u6307\u5b9a\u8282\u70b9\u6267\u884c redis_exporter:\n.\/redis_exporter  -redis-only-metrics  -redis.password abc -web.listen-address=:9123<\/pre>\n<\/div>\n<p>1.2 exporter\u914d\u7f6e\u72ec\u7acb\u5b58\u653e\u7684\u76f8\u5173\u914d\u7f6e\uff1a<br \/>\nprometheus.yml\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_60a2fa85-cfbb-493e-ba0b-1dbeb570a7fd\\\">\n<pre>global:\n  scrape_interval:     10s # Set the scrape interval to every 15 seconds. Default is every 1 minute.\n  evaluation_interval: 10s # Evaluate rules every 15 seconds. The default is every 1 minute.\nalerting:\n  alertmanagers:\n  - static_configs:\n    - targets:\n      # - alertmanager:9093\nrule_files:\n  # - \\\"first_rules.yml\\\"\n  # - \\\"second_rules.yml\\\"\nscrape_configs:\n  - job_name: \\'prometheus\\'\n    static_configs:\n    - targets: [\\'192.168.163.132:9099\\']\n  - job_name: \\'node_exporter\\'\n    scrape_interval: 1s\n    file_sd_configs:\n      - files:\n        - targets\/node\/*.yml\n        refresh_interval: 10s\n    relabel_configs:\n    - action: replace\n      source_labels: [\\'__address__\\']\n      regex: (.*):(.*)\n      replacement: $1\n      target_label: hostname\n    - action: labeldrop\n      regex: __meta_filepath\n  - job_name: \\'redis_exporter\\'\n    scrape_interval: 1s\n    file_sd_configs:\n      - files:\n        - targets\/redis\/*.yml\n    metrics_path: \/scrape\n    relabel_configs:\n      - action: replace\n        source_labels: [\\'__address__\\']\n        regex: (.*):(.*)\n        replacement: $1\n        target_label: hostip\n      - source_labels: [__address__]\n        target_label: __param_target\n      - source_labels: [__param_target]\n        target_label: instance\n      - target_label: __address__\n        replacement: 192.168.163.132:9123<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>targets\/node\/*.yml\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_42d25caf-0682-448f-9015-ad199a6c9ca0\\\">\n<div><\/div>\n<pre># ls -lh \/etc\/prometheus\/targets\/node\/*.yml\n-rw-r--r-- 1 root root 117 4\u6708  18 14:51 \/etc\/prometheus\/targets\/node\/test2_node_exporter.yml\n-rw-r--r-- 1 root root 117 4\u6708  18 14:51 \/etc\/prometheus\/targets\/node\/test3_node_exporter.yml\n-rw-r--r-- 1 root root 117 4\u6708  18 14:51 \/etc\/prometheus\/targets\/node\/test4_node_exporter.yml\n# cat \/etc\/prometheus\/targets\/node\/test2_node_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.132:9199\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"alias\\\":\\\"test2\\\"}\n  }\n]\n# cat \/etc\/prometheus\/targets\/node\/test3_node_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.133:9199\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"alias\\\":\\\"test3\\\"}\n  }\n]\n# cat \/etc\/prometheus\/targets\/node\/test4_node_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.134:9199\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"alias\\\":\\\"test4\\\"}\n  }\n]<\/pre>\n<\/div>\n<\/div>\n<p>targets\/redis\/*.yml\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_670a8da6-adb1-47c3-9af4-937e025d20a9\\\">\n<pre># ls -lh \/etc\/prometheus\/targets\/redis\/*.yml\n-rw-r--r-- 1 root root 121 4\u6708  18 13:14 \/etc\/prometheus\/targets\/redis\/test2_6379_redis_exporter.yml\n-rw-r--r-- 1 root root 121 4\u6708  18 13:14 \/etc\/prometheus\/targets\/redis\/test2_6380_redis_exporter.yml\n-rw-r--r-- 1 root root 121 4\u6708  18 13:14 \/etc\/prometheus\/targets\/redis\/test3_6379_redis_exporter.yml\n-rw-r--r-- 1 root root 121 4\u6708  18 13:15 \/etc\/prometheus\/targets\/redis\/test3_6380_redis_exporter.yml\n-rw-r--r-- 1 root root 121 4\u6708  18 13:14 \/etc\/prometheus\/targets\/redis\/test4_6379_redis_exporter.yml\n-rw-r--r-- 1 root root 121 4\u6708  18 13:15 \/etc\/prometheus\/targets\/redis\/test4_6380_redis_exporter.yml\n# cat \/etc\/prometheus\/targets\/redis\/test2_6379_redis_exporter.yml\n[\n  {\n    \\\"targets\\\": [ \\\"192.168.163.132:6379\\\"],\n    \\\"labels\\\":  {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test_one\\\",\\\"alias\\\":\\\"test2\\\"}\n  }\n]\n# cat \/etc\/prometheus\/targets\/redis\/test3_6379_redis_exporter.yml\n[\n  {\n    \\\"targets\\\": [ \\\"192.168.163.133:6379\\\"],\n    \\\"labels\\\":  {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test_one\\\",\\\"alias\\\":\\\"test3\\\"}\n  }\n]\n# cat \/etc\/prometheus\/targets\/redis\/test4_6379_redis_exporter.yml\n[\n  {\n    \\\"targets\\\": [ \\\"192.168.163.134:6379\\\"],\n    \\\"labels\\\":  {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test_one\\\",\\\"alias\\\":\\\"test4\\\"}\n  }\n]\n# cat \/etc\/prometheus\/targets\/redis\/test2_6380_redis_exporter.yml\n[\n  {\n    \\\"targets\\\": [ \\\"192.168.163.132:6380\\\"],\n    \\\"labels\\\":  {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test_two\\\",\\\"alias\\\":\\\"test2\\\"}\n  }\n]\n# cat \/etc\/prometheus\/targets\/redis\/test3_6380_redis_exporter.yml\n[\n  {\n    \\\"targets\\\": [ \\\"192.168.163.133:6380\\\"],\n    \\\"labels\\\":  {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test_two\\\",\\\"alias\\\":\\\"test3\\\"}\n  }\n]\n# cat \/etc\/prometheus\/targets\/redis\/test4_6380_redis_exporter.yml\n[\n  {\n    \\\"targets\\\": [ \\\"192.168.163.134:6380\\\"],\n    \\\"labels\\\":  {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test_two\\\",\\\"alias\\\":\\\"test4\\\"}\n  }\n]<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>\u4ee5\u540e\u5982\u679c\u6709\u76f8\u5173\u7684\u5b9e\u4f8b\u96c6\u7fa4\u52a0\u8fdb\u6765\u5305\u62ec\u4e3b\u4ece\uff0c\u53ea\u8981\u65b0\u589e2\u7c7bexporter\u6587\u4ef6\u5373\u53ef\u3002\u6700\u540e\u5f00\u542fexporter\uff1a<\/p>\n<div>\n<pre>#\u5404\u4e2a\u8282\u70b9\u6267\u884c node-exporter\uff1a\n.\/node_exporter --web.listen-address=:9199\n#\u6307\u5b9a\u8282\u70b9\u6267\u884c redis_exporter:\n.\/redis_exporter  -redis-only-metrics  -redis.password abc -web.listen-address=:9123<\/pre>\n<\/div>\n<p>\u4ee5\u4e0a2\u79cd\u901a\u8fc7\u6587\u4ef6\u670d\u52a1\u53d1\u73b0\u7684\u65b9\u6cd5\uff0c\u63a8\u8350\u7b2c2\u4e2a\u3002\u56e0\u4e3a\u65b0\u589e\u7684\u6587\u4ef6\u6709\u95ee\u9898\u4e5f\u4e0d\u5f71\u54cd\u670d\u52a1\uff0c\u4fee\u6539\u6587\u4ef6\u53ef\u80fd\u4f1a\u5f15\u53d1\u95ee\u9898\uff1b\u5e76\u4e14\u4e5f\u53ef\u4ee5\u4e3a\u5404\u4e2a\u8282\u70b9\u6253\u9700\u8981\u7684labels\u3002<br \/>\n\u6700\u540e\u914d\u7f6eGrafana\uff0c\u6548\u679c\uff1a<br \/>\n<img src=\\\"https:\/\/img2020.cnblogs.com\/blog\/163084\/202004\/163084-20200418151825988-1639689149.png\\\" alt=\\\"\\\" width=\\\"832\\\" height=\\\"346\\\" \/><br \/>\nJSON Model\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_6fc41498-c2a7-4729-a4e3-16ce4d434cd2\\\">\n<pre>{\n  \\\"annotations\\\": {\n    \\\"list\\\": [\n      {\n        \\\"builtIn\\\": 1,\n        \\\"datasource\\\": \\\"-- Grafana --\\\",\n        \\\"enable\\\": true,\n        \\\"hide\\\": true,\n        \\\"iconColor\\\": \\\"rgba(0, 211, 255, 1)\\\",\n        \\\"name\\\": \\\"Annotations &amp; Alerts\\\",\n        \\\"type\\\": \\\"dashboard\\\"\n      }\n    ]\n  },\n  \\\"editable\\\": true,\n  \\\"gnetId\\\": null,\n  \\\"graphTooltip\\\": 0,\n  \\\"id\\\": 13,\n  \\\"iteration\\\": 1587194136640,\n  \\\"links\\\": [],\n  \\\"panels\\\": [\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u4e2a\u6570\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 0,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 8,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(count(redis_up{cluster=~\\\\\\\"$cluster\\\\\\\"}&gt;0) by (cluster))\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 5,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 4,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_up{cluster=~\\\\\\\"$cluster\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u8282\u70b9\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u6d3b\u8dc3\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 4,\n        \\\"x\\\": 10,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 6,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_up{cluster=~\\\\\\\"$cluster\\\\\\\"}&gt;0)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u6d3b\u8dc3\u8282\u70b9\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorPrefix\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u4e3b\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 14,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 10,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\", role=\\\\\\\"master\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u4e3b\u8282\u70b9\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u4ece\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 19,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 12,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\", role=\\\\\\\"slave\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u4ece\u8282\u70b9\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redus  Cluster OPS\u6307\u6807\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 3\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 16,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"ceil(sum(rate(redis_commands_processed_total{cluster=~\\\\\\\"$cluster\\\\\\\",instance=~\\\\\\\"$master\\\\\\\"}[$interval])) by (cluster))\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{cluster}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis Cluster OPS\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u5927\u5c0f\u503c\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 3\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 18,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"redis_memory_used_bytes{instance=~\\\\\\\"$instance\\\\\\\"} \\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u5927\u5c0f\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"bytes\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis Server  CPU\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 11\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 14,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"100* (rate(redis_cpu_sys_seconds_total{instance=~\\\\\\\"$instance\\\\\\\"}[$interval]) + rate(redis_cpu_user_seconds_total{instance=~\\\\\\\"$instance\\\\\\\"}[$interval]))\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis CPU\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 11\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 20,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"(redis_memory_used_bytes{instance=~\\\\\\\"$instance\\\\\\\"} \/ redis_config_maxmemory{instance=~\\\\\\\"$instance\\\\\\\"}) * 100\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edfCPU\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 19\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 24,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"topk(3,clamp_max((avg by (hostname,mode) ((clamp_max(rate(node_cpu_seconds_total{hostname=~\\\\\\\"$host\\\\\\\",mode!=\\\\\\\"idle\\\\\\\"}[$interval]),1)) or (clamp_max(irate(node_cpu_seconds_total{hostname=~\\\\\\\"$host\\\\\\\",mode!=\\\\\\\"idle\\\\\\\"}[5m]),1)) ))*100,100))\\\",\n          \\\"hide\\\": true,\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{mode}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        },\n        {\n          \\\"expr\\\": \\\"1 - avg by (hostname)(rate(node_cpu_seconds_total{hostname=~\\\\\\\"$host\\\\\\\", mode=\\\\\\\"idle\\\\\\\"}[$interval]))\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostname}}\\\",\n          \\\"refId\\\": \\\"B\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edfCPU\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percentunit\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edf\u7269\u7406\u5185\u5b58\u5229\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 19\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 30,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"(node_memory_Cached_bytes{hostname=~\\\\\\\"$host\\\\\\\"} + node_memory_Buffers_bytes{hostname=~\\\\\\\"$host\\\\\\\"} + node_memory_MemFree_bytes{hostname=~\\\\\\\"$host\\\\\\\"})\/node_memory_MemTotal_bytes{hostname=~\\\\\\\"$host\\\\\\\"}\\\",\n          \\\"hide\\\": true,\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostname}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        },\n        {\n          \\\"expr\\\": \\\"((node_memory_MemTotal_bytes{hostname=~\\\\\\\"$host\\\\\\\"} - (node_memory_MemAvailable_bytes{hostname=~\\\\\\\"$host\\\\\\\"} or (node_memory_MemFree_bytes{hostname=~\\\\\\\"$host\\\\\\\"} + node_memory_Buffers_bytes{hostname=~\\\\\\\"$host\\\\\\\"} + node_memory_Cached_bytes{hostname=~\\\\\\\"$host\\\\\\\"})))*100 \/ node_memory_MemTotal_bytes{hostname=~\\\\\\\"$host\\\\\\\"})\\\",\n          \\\"hide\\\": false,\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostname}}\\\",\n          \\\"refId\\\": \\\"B\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edf\u7269\u7406\u5185\u5b58\u5229\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": true,\n      \\\"cacheTimeout\\\": null,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edf\u78c1\u76d8\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 27\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 32,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": false,\n      \\\"linewidth\\\": 1,\n      \\\"links\\\": [],\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pluginVersion\\\": \\\"6.7.2\\\",\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"topk(10,max((1 - node_filesystem_avail_bytes{hostname=~\\\\\\\"$host\\\\\\\", fstype!~\\\\\\\"rootfs|selinuxfs|autofs|rpc_pipefs|tmpfs\\\\\\\"} \/ node_filesystem_size_bytes{hostname=~\\\\\\\"$host\\\\\\\", fstype!~\\\\\\\"rootfs|selinuxfs|autofs|rpc_pipefs|tmpfs\\\\\\\"})*100) by (hostname)  &gt; 0)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostname}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edf\u78c1\u76d8\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": false,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"series\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": [\n          \\\"current\\\"\n        ]\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u4ee5\u53ca\u96c6\u7fa4\u7684 KEYS \u603b\u6570\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 27\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 22,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"sum(redis_db_keys{instance=~\\\\\\\"$master\\\\\\\"}) by (instance,db)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        },\n        {\n          \\\"expr\\\": \\\"sum(redis_db_keys{instance=~\\\\\\\"$master\\\\\\\"}) by (cluster)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{cluster}}_total\\\",\n          \\\"refId\\\": \\\"B\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"KEYS \u603b\u6570\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u6d3b\u8dc3\u8fde\u63a5\u6570\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 35\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 26,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"redis_connected_clients{instance=~\\\\\\\"$instance\\\\\\\"}\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostip}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u6d3b\u8dc3\u8fde\u63a5\u6570\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u5185\u5b58\u788e\u7247\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 35\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 28,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"redis_mem_fragmentation_ratio{instance=~\\\\\\\"$instance\\\\\\\"}\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u5185\u5b58\u788e\u7247\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9 \u7684\u8d1f\u8f7d\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 43\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 34,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"node_load1{hostname=~\\\\\\\"$host\\\\\\\"}\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostname}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u8d1f\u8f7d\uff08Load\uff09\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    }\n  ],\n  \\\"refresh\\\": \\\"5s\\\",\n  \\\"schemaVersion\\\": 22,\n  \\\"style\\\": \\\"dark\\\",\n  \\\"tags\\\": [],\n  \\\"templating\\\": {\n    \\\"list\\\": [\n      {\n        \\\"auto\\\": true,\n        \\\"auto_count\\\": 100,\n        \\\"auto_min\\\": \\\"1s\\\",\n        \\\"current\\\": {\n          \\\"selected\\\": false,\n          \\\"text\\\": \\\"5s\\\",\n          \\\"value\\\": \\\"5s\\\"\n        },\n        \\\"hide\\\": 0,\n        \\\"label\\\": \\\"interval\\\",\n        \\\"name\\\": \\\"interval\\\",\n        \\\"options\\\": [\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"auto\\\",\n            \\\"value\\\": \\\"$__auto_interval_interval\\\"\n          },\n          {\n            \\\"selected\\\": true,\n            \\\"text\\\": \\\"5s\\\",\n            \\\"value\\\": \\\"5s\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"30s\\\",\n            \\\"value\\\": \\\"30s\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1m\\\",\n            \\\"value\\\": \\\"1m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"10m\\\",\n            \\\"value\\\": \\\"10m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"30m\\\",\n            \\\"value\\\": \\\"30m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1h\\\",\n            \\\"value\\\": \\\"1h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"6h\\\",\n            \\\"value\\\": \\\"6h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"12h\\\",\n            \\\"value\\\": \\\"12h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1d\\\",\n            \\\"value\\\": \\\"1d\\\"\n          }\n        ],\n        \\\"query\\\": \\\"5s,30s,1m,10m,30m,1h,6h,12h,1d\\\",\n        \\\"refresh\\\": 2,\n        \\\"skipUrlSync\\\": false,\n        \\\"type\\\": \\\"interval\\\"\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_up,cluster)\\\",\n        \\\"hide\\\": 0,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"Cluster\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"cluster\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_up,cluster)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_instance_info,role)\\\",\n        \\\"hide\\\": 0,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"Role\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"role\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_instance_info,role)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\",role=~\\\\\\\"$role\\\\\\\"},instance)\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"instance\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"instance\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\",role=~\\\\\\\"$role\\\\\\\"},instance)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\",role=\\\\\\\"master\\\\\\\"},instance)\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"master\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"master\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\",role=\\\\\\\"master\\\\\\\"},instance)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_up{cluster=~\\\\\\\"$cluster\\\\\\\"}, hostip)\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"host\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"host\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_up{cluster=~\\\\\\\"$cluster\\\\\\\"}, hostip)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      }\n    ]\n  },\n  \\\"time\\\": {\n    \\\"from\\\": \\\"now-5m\\\",\n    \\\"to\\\": \\\"now\\\"\n  },\n  \\\"timepicker\\\": {\n    \\\"refresh_intervals\\\": [\n      \\\"5s\\\",\n      \\\"10s\\\",\n      \\\"30s\\\",\n      \\\"1m\\\",\n      \\\"5m\\\",\n      \\\"15m\\\",\n      \\\"30m\\\",\n      \\\"1h\\\",\n      \\\"2h\\\",\n      \\\"1d\\\"\n    ]\n  },\n  \\\"timezone\\\": \\\"\\\",\n  \\\"title\\\": \\\"Redis_Cluster_V1.35\\\",\n  \\\"uid\\\": \\\"5FfBHG3Zz\\\",\n  \\\"variables\\\": {\n    \\\"list\\\": []\n  },\n  \\\"version\\\": 3\n}<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>\u2461\uff1a\u4e0d\u540c\u5bc6\u7801\u591a\u5b9e\u4f8b\u6293\u53d6\uff0c\u56e0\u4e3a\u4f7f\u7528\u7684\u662f &gt;1.x \u7684<a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\\\" data-pjax=\\\"#js-repo-pjax-container\\\">redis_exporter<\/a>\u00a0[<a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\/releases\/tag\/v1.3.5\\\">v1.3.5<\/a>]\uff0c\u4e0d\u652f\u6301\u591a\u5b9e\u4f8b\u3002\u56e0\u4e3a\u4e00\u4e2aexport\u53ea\u80fd\u6307\u5b9a\u4e00\u4e2a\u5bc6\u7801\uff0c\u5982\u679c\u60f3\u8fdb\u884c\u591a\u5b9e\u4f8b\u4e0d\u540c\u5bc6\u7801\u6293\u53d6\u7684\u8bdd\uff0c\u6240\u4ee5\u9700\u8981\u5728Prometheus\u914d\u7f6e\u591a\u4e2a<a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\\\" data-pjax=\\\"#js-repo-pjax-container\\\">redis_exporter<\/a>\uff0c\u96c6\u7fa4\u4fe1\u606f\u4e3a\uff1a<\/p>\n<div>\n<pre>3\u8282\u70b9\u65e0\u4ece\n192.168.163.132\u3001133\u3001134 -- 6379  \u5bc6\u7801 abc\n192.168.163.132\u3001133\u3001134 -- 6380  \u5bc6\u7801 cba<\/pre>\n<\/div>\n<p>prometheus.yml\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_4a37c1fc-5bb9-4083-b96e-25cf988c958f\\\">\n<pre>global:\n  scrape_interval:     10s # Set the scrape interval to every 15 seconds. Default is every 1 minute.\n  evaluation_interval: 10s # Evaluate rules every 15 seconds. The default is every 1 minute.\nalerting:\n  alertmanagers:\n  - static_configs:\n    - targets:\n      # - alertmanager:9093\nrule_files:\n  # - \\\"first_rules.yml\\\"\n  # - \\\"second_rules.yml\\\"\nscrape_configs:\n  - job_name: \\'prometheus\\'\n    static_configs:\n    - targets: [\\'192.168.163.132:9099\\']\n  - job_name: \\'node_exporter\\'\n    scrape_interval: 1s\n    file_sd_configs:\n      - files:\n        - targets\/node\/*.yml\n        refresh_interval: 10s\n    relabel_configs:\n    - action: replace\n      source_labels: [\\'__address__\\']\n      regex: (.*):(.*)\n      replacement: $1\n      target_label: hostname\n    - action: labeldrop\n      regex: __meta_filepath\n  - job_name: \\'redis_exporter_A\\'\n    scrape_interval: 1s\n    file_sd_configs:\n      - files:\n        - targets\/redis\/A*.yml\n    metrics_path: \/scrape\n    relabel_configs:\n      - action: replace\n        source_labels: [\\'__address__\\']\n        regex: (.*):(.*)\n        replacement: $1\n        target_label: hostip\n      - source_labels: [__address__]\n        target_label: __param_target\n      - source_labels: [__param_target]\n        target_label: instance\n      - target_label: __address__\n        replacement: 192.168.163.132:9123\n  - job_name: \\'redis_exporter_B\\'\n    scrape_interval: 1s\n    file_sd_configs:\n      - files:\n        - targets\/redis\/B*.yml\n    metrics_path: \/scrape\n    relabel_configs:\n      - action: replace\n        source_labels: [\\'__address__\\']\n        regex: (.*):(.*)\n        replacement: $1\n        target_label: hostip\n      - source_labels: [__address__]\n        target_label: __param_target\n      - source_labels: [__param_target]\n        target_label: instance\n      - target_label: __address__\n        replacement: 192.168.163.132:9124<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>targets\/redis\/*.yml\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_fe8a2fe8-ccd3-429f-8d36-2f0ab9339035\\\">\n<pre># ls -lh \/etc\/prometheus\/targets\/redis\/A*.yml\n-rw-r--r-- 1 root root 121 4\u6708  18 13:14 \/etc\/prometheus\/targets\/redis\/Atest2_6379_redis_exporter.yml\n-rw-r--r-- 1 root root 121 4\u6708  18 13:14 \/etc\/prometheus\/targets\/redis\/Atest3_6379_redis_exporter.yml\n-rw-r--r-- 1 root root 121 4\u6708  18 13:14 \/etc\/prometheus\/targets\/redis\/Atest4_6379_redis_exporter.yml\n# ls -lh \/etc\/prometheus\/targets\/redis\/B*.yml\n-rw-r--r-- 1 root root 121 4\u6708  18 13:14 \/etc\/prometheus\/targets\/redis\/Btest2_6380_redis_exporter.yml\n-rw-r--r-- 1 root root 121 4\u6708  18 13:15 \/etc\/prometheus\/targets\/redis\/Btest3_6380_redis_exporter.yml\n-rw-r--r-- 1 root root 121 4\u6708  18 13:15 \/etc\/prometheus\/targets\/redis\/Btest4_6380_redis_exporter.yml\n# cat \/etc\/prometheus\/targets\/redis\/Atest2_6379_redis_exporter.yml\n[\n  {\n    \\\"targets\\\": [ \\\"192.168.163.132:6379\\\"],\n    \\\"labels\\\":  {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test_one\\\",\\\"alias\\\":\\\"test2\\\"}\n  }\n]\n# cat \/etc\/prometheus\/targets\/redis\/Atest3_6379_redis_exporter.yml\n[\n  {\n    \\\"targets\\\": [ \\\"192.168.163.133:6379\\\"],\n    \\\"labels\\\":  {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test_one\\\",\\\"alias\\\":\\\"test3\\\"}\n  }\n]\n# cat \/etc\/prometheus\/targets\/redis\/Atest4_6379_redis_exporter.yml\n[\n  {\n    \\\"targets\\\": [ \\\"192.168.163.134:6379\\\"],\n    \\\"labels\\\":  {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test_one\\\",\\\"alias\\\":\\\"test4\\\"}\n  }\n]\n# cat \/etc\/prometheus\/targets\/redis\/Btest2_6380_redis_exporter.yml\n[\n  {\n    \\\"targets\\\": [ \\\"192.168.163.132:6380\\\"],\n    \\\"labels\\\":  {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test_two\\\",\\\"alias\\\":\\\"test2\\\"}\n  }\n]\n# cat \/etc\/prometheus\/targets\/redis\/Btest3_6380_redis_exporter.yml\n[\n  {\n    \\\"targets\\\": [ \\\"192.168.163.133:6380\\\"],\n    \\\"labels\\\":  {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test_two\\\",\\\"alias\\\":\\\"test3\\\"}\n  }\n]\n# cat \/etc\/prometheus\/targets\/redis\/Btest4_6380_redis_exporter.yml\n[\n  {\n    \\\"targets\\\": [ \\\"192.168.163.134:6380\\\"],\n    \\\"labels\\\":  {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test_two\\\",\\\"alias\\\":\\\"test4\\\"}\n  }\n]<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>\u4ee5\u540e\u5982\u679c\u6709\u76f8\u5173\u7684\u5b9e\u4f8b\u96c6\u7fa4\u5305\u62ec\u4e3b\u4ece\u52a0\u8fdb\u6765\uff0c\u53ea\u8981\u65b0\u589e2\u7c7bexporter\u6587\u4ef6\u5373\u53ef\u3002\u6700\u540e\u5f00\u542fexporter\uff1a<\/p>\n<div>\n<pre>#\u6307\u5b9a\u8282\u70b9\u6267\u884c redis_exporter:\n.\/redis_exporter  -redis-only-metrics  -redis.password abc -web.listen-address=:9123\n#\u6307\u5b9a\u8282\u70b9\u6267\u884c redis_exporter:\n.\/redis_exporter  -redis-only-metrics  -redis.password cba -web.listen-address=:9124<\/pre>\n<\/div>\n<p>\u6700\u540e\u914d\u7f6eGrafana\uff0c\u6548\u679c\u548c\u2460\u4e00\u6837\uff0c\u552f\u4e00\u7684\u533a\u522b\u5c31\u662f\u2461\u5f00\u591a\u4e2aexporter\u3002\u8fd9\u6837\u4f1a\u5bfc\u81f4\u4e00\u4e2a\u95ee\u9898\uff1a\u6bcf\u6b21\u589e\u52a0\u4e0d\u540c\u5bc6\u7801\u7684\u8282\u70b9\u90fd\u4f1a\u4fee\u6539Prometheus\u914d\u7f6e\u6587\u4ef6\uff0c\u65e2\u4e0d\u5b89\u5168\u4e5f\u4e0d\u65b9\u4fbf\u3002\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u65b9\u6cd5\u6765\u5b9e\u73b0\u591a\u5b9e\u4f8b\u4e0d\u540c\u5bc6\u7801\u6293\u53d6\u3002\u6309\u7167\u7f16\u5199\u5bfc\u51fa\u5668\u7684\u6700\u4f73\u5b9e\u8df5\uff0c\u9700\u8981\u50cfnodes_exporter\u4e00\u6837\u5728\u4e0d\u540c\u5b9e\u4f8b\u7684\u4e3b\u673a\u4e0a\u5b89\u88c5\u548c\u5f00\u542f<a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\\\" data-pjax=\\\"#js-repo-pjax-container\\\">redis_exporter<\/a>\uff0c\u5373\u4e3a\u6bcf\u4e2aredis instance\u5f00\u542f\u4e00\u4e2aexporter\u3002\u96c6\u7fa4\u4fe1\u606f\u4e3a\uff1a<\/p>\n<div>\n<div><\/div>\n<pre>\u96c6\u7fa41\uff1a\u5bc6\u7801 cc\nM:\n192.168.163.132:15389\n192.168.163.133:15389\n192.168.163.134:15389\nS:\n192.168.163.132:15489\n192.168.163.133:15489\n192.168.163.134:15489\n\u96c6\u7fa42\uff1a\u5bc6\u7801abc\nM:\n192.168.163.132:6379\n192.168.163.133:6379\n192.168.163.134:6379\nS:\n192.168.163.132:6381\n192.168.163.133:6381\n192.168.163.134:6381<\/pre>\n<div><\/div>\n<\/div>\n<p>prometheus.yml\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_8836b29f-3f4f-490f-953d-38190d47f34f\\\">\n<pre>global:\n  scrape_interval:     10s # Set the scrape interval to every 15 seconds. Default is every 1 minute.\n  evaluation_interval: 10s # Evaluate rules every 15 seconds. The default is every 1 minute.\nalerting:\n  alertmanagers:\n  - static_configs:\n    - targets:\n      # - alertmanager:9093\nrule_files:\n  # - \\\"first_rules.yml\\\"\n  # - \\\"second_rules.yml\\\"\nscrape_configs:\n  - job_name: \\'prometheus\\'\n    static_configs:\n    - targets: [\\'192.168.163.132:9099\\']\n  - job_name: \\'node_exporter\\'\n    scrape_interval: 1s\n    file_sd_configs:\n      - files:\n        - targets\/node\/node*.yml\n        refresh_interval: 10s\n    relabel_configs:\n    - action: replace\n      source_labels: [\\'__address__\\']\n      regex: (.*):(.*)\n      replacement: $1\n      target_label: hostname\n    - action: labeldrop\n      regex: __meta_filepath\n  - job_name: \\'redis_exporter\\'\n    scrape_interval: 1s\n    file_sd_configs:\n      - files:\n        - targets\/redis\/redis*.yml\n    relabel_configs:\n    - action: replace\n      source_labels: [\\'__address__\\']\n      regex: (.*):(.*)\n      replacement: $1\n      target_label: hostip\n    - action: labeldrop\n      regex: __meta_filepath<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>targets\/redis\/redis*.yml<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_57f8380b-e8ca-48be-b337-17a87968b325\\\">\n<pre>root@test2:\/etc\/prometheus\/targets\/redis# ls -lh redis*\n-rw-r--r-- 1 prometheus prometheus 117 4\u6708  18 22:02 redis_test2_15389_exporter.yml\n-rw-r--r-- 1 prometheus prometheus 117 4\u6708  18 22:05 redis_test2_15489_exporter.yml\n-rw-r--r-- 1 prometheus prometheus 117 4\u6708  18 22:02 redis_test3_15389_exporter.yml\n-rw-r--r-- 1 prometheus prometheus 117 4\u6708  18 22:05 redis_test3_15489_exporter.yml\n-rw-r--r-- 1 prometheus prometheus 117 4\u6708  18 22:03 redis_test4_15389_exporter.yml\n-rw-r--r-- 1 prometheus prometheus 117 4\u6708  18 22:05 redis_test4_15489_exporter.yml\nroot@test2:\/etc\/prometheus\/targets\/redis# cat redis_test2_15389_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.132:9121\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test\\\",\\\"alias\\\":\\\"test2\\\"}\n  }\n]\nroot@test2:\/etc\/prometheus\/targets\/redis# cat redis_test3_15389_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.133:9121\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test\\\",\\\"alias\\\":\\\"test3\\\"}\n  }\n]\nroot@test2:\/etc\/prometheus\/targets\/redis# cat redis_test4_15389_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.134:9121\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test\\\",\\\"alias\\\":\\\"test4\\\"}\n  }\n]\nroot@test2:\/etc\/prometheus\/targets\/redis# cat redis_test2_15489_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.132:9122\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test\\\",\\\"alias\\\":\\\"test2\\\"}\n  }\n]\nroot@test2:\/etc\/prometheus\/targets\/redis# cat redis_test3_15489_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.133:9122\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test\\\",\\\"alias\\\":\\\"test3\\\"}\n  }\n]\nroot@test2:\/etc\/prometheus\/targets\/redis# cat redis_test4_15489_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.134:9122\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"test\\\",\\\"alias\\\":\\\"test4\\\"}\n  }\n]<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>\u901a\u8fc7\u6587\u4ef6\u670d\u52a1\u53d1\u73b0\uff0c\u5b9e\u73b0\u52a8\u6001\u6dfb\u52a0\u8282\u70b9\uff08exporter\uff09\uff0c\u4e00\u4e2aRedis\u5b9e\u4f8b\u4e00\u4e2aexporter\uff0c\u8fd9\u91cc\u53ea\u5f00\u96c6\u7fa41\u7684exporter\uff0c\u5373\u5728test2\u3001test3\u3001test4\u4e0a\u5404\u5f00\u542f2\u4e2aexporter\uff0c\u51716\u4e2aexporter\u5bf9\u5e946\u4e2aRedis\u5b9e\u4f8b\uff0c\u914d\u7f6e\u5b8c\u6210\u4e4b\u540e\uff0c\u53ef\u4ee5\u76f4\u63a5\u5230\u5404\u4e2a\u76d1\u63a7\u4e3b\u673a\u4e0a\u542f\u52a8<a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\\\" data-pjax=\\\"#js-repo-pjax-container\\\">redis_exporter<\/a>\uff1a<\/p>\n<div>\n<div><\/div>\n<pre>test2:\n.\/redis_exporter  -redis-only-metrics -redis.addr 192.168.163.132:15389 -redis.password cc -web.listen-address=:9121\n.\/redis_exporter  -redis-only-metrics -redis.addr 192.168.163.132:15489 -redis.password cc -web.listen-address=:9122\ntest3:\n.\/redis_exporter  -redis-only-metrics -redis.addr 192.168.163.133:15389 -redis.password cc -web.listen-address=:9121\n.\/redis_exporter  -redis-only-metrics -redis.addr 192.168.163.133:15489 -redis.password cc -web.listen-address=:9122\ntest4:\n.\/redis_exporter  -redis-only-metrics -redis.addr 192.168.163.134:15389 -redis.password cc -web.listen-address=:9121\n.\/redis_exporter  -redis-only-metrics -redis.addr 192.168.163.134:15489 -redis.password cc -web.listen-address=:9122<\/pre>\n<\/div>\n<p>\u6700\u540e\u914d\u7f6eGrafana\uff0c\u6548\u679c\uff1a<br \/>\n<img src=\\\"https:\/\/img2020.cnblogs.com\/blog\/163084\/202004\/163084-20200418221425783-1746840226.png\\\" alt=\\\"\\\" width=\\\"851\\\" height=\\\"388\\\" \/><br \/>\nJSON Model\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_e746c500-6ff7-447e-9ba8-0130089103ea\\\">\n<pre>{\n  \\\"annotations\\\": {\n    \\\"list\\\": [\n      {\n        \\\"builtIn\\\": 1,\n        \\\"datasource\\\": \\\"-- Grafana --\\\",\n        \\\"enable\\\": true,\n        \\\"hide\\\": true,\n        \\\"iconColor\\\": \\\"rgba(0, 211, 255, 1)\\\",\n        \\\"name\\\": \\\"Annotations &amp; Alerts\\\",\n        \\\"type\\\": \\\"dashboard\\\"\n      }\n    ]\n  },\n  \\\"editable\\\": true,\n  \\\"gnetId\\\": null,\n  \\\"graphTooltip\\\": 0,\n  \\\"id\\\": 13,\n  \\\"iteration\\\": 1587219062782,\n  \\\"links\\\": [],\n  \\\"panels\\\": [\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u4e2a\u6570\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 0,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 8,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(count(redis_up{cluster=~\\\\\\\"$cluster\\\\\\\"}&gt;0) by (cluster))\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 5,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 4,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_up{cluster=~\\\\\\\"$cluster\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u8282\u70b9\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u6d3b\u8dc3\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 4,\n        \\\"x\\\": 10,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 6,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_up{cluster=~\\\\\\\"$cluster\\\\\\\"}&gt;0)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u6d3b\u8dc3\u8282\u70b9\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorPrefix\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u4e3b\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 14,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 10,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\", role=\\\\\\\"master\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u4e3b\u8282\u70b9\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u4ece\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 19,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 12,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\", role=\\\\\\\"slave\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u4ece\u8282\u70b9\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redus  Cluster OPS\u6307\u6807\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 3\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 16,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"ceil(sum(rate(redis_commands_processed_total{cluster=~\\\\\\\"$cluster\\\\\\\",instance=~\\\\\\\"$master\\\\\\\"}[$interval])) by (cluster))\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{cluster}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis Cluster OPS\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u5927\u5c0f\u503c\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 3\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 18,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"redis_memory_used_bytes{instance=~\\\\\\\"$instance\\\\\\\"} \\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u5927\u5c0f\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"bytes\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis Server  CPU\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 11\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 14,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"100* (rate(redis_cpu_sys_seconds_total{instance=~\\\\\\\"$instance\\\\\\\"}[$interval]) + rate(redis_cpu_user_seconds_total{instance=~\\\\\\\"$instance\\\\\\\"}[$interval]))\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis CPU\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 11\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 20,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"(redis_memory_used_bytes{instance=~\\\\\\\"$instance\\\\\\\"} \/ redis_config_maxmemory{instance=~\\\\\\\"$instance\\\\\\\"}) * 100\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edfCPU\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 19\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 24,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"topk(3,clamp_max((avg by (hostname,mode) ((clamp_max(rate(node_cpu_seconds_total{hostname=~\\\\\\\"$host\\\\\\\",mode!=\\\\\\\"idle\\\\\\\"}[$interval]),1)) or (clamp_max(irate(node_cpu_seconds_total{hostname=~\\\\\\\"$host\\\\\\\",mode!=\\\\\\\"idle\\\\\\\"}[5m]),1)) ))*100,100))\\\",\n          \\\"hide\\\": true,\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{mode}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        },\n        {\n          \\\"expr\\\": \\\"1 - avg by (hostname)(rate(node_cpu_seconds_total{hostname=~\\\\\\\"$host\\\\\\\", mode=\\\\\\\"idle\\\\\\\"}[$interval]))\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostname}}\\\",\n          \\\"refId\\\": \\\"B\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edfCPU\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percentunit\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edf\u7269\u7406\u5185\u5b58\u5229\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 19\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 30,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"(node_memory_Cached_bytes{hostname=~\\\\\\\"$host\\\\\\\"} + node_memory_Buffers_bytes{hostname=~\\\\\\\"$host\\\\\\\"} + node_memory_MemFree_bytes{hostname=~\\\\\\\"$host\\\\\\\"})\/node_memory_MemTotal_bytes{hostname=~\\\\\\\"$host\\\\\\\"}\\\",\n          \\\"hide\\\": true,\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostname}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        },\n        {\n          \\\"expr\\\": \\\"((node_memory_MemTotal_bytes{hostname=~\\\\\\\"$host\\\\\\\"} - (node_memory_MemAvailable_bytes{hostname=~\\\\\\\"$host\\\\\\\"} or (node_memory_MemFree_bytes{hostname=~\\\\\\\"$host\\\\\\\"} + node_memory_Buffers_bytes{hostname=~\\\\\\\"$host\\\\\\\"} + node_memory_Cached_bytes{hostname=~\\\\\\\"$host\\\\\\\"})))*100 \/ node_memory_MemTotal_bytes{hostname=~\\\\\\\"$host\\\\\\\"})\\\",\n          \\\"hide\\\": false,\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostname}}\\\",\n          \\\"refId\\\": \\\"B\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edf\u7269\u7406\u5185\u5b58\u5229\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": true,\n      \\\"cacheTimeout\\\": null,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edf\u78c1\u76d8\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 27\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 32,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": false,\n      \\\"linewidth\\\": 1,\n      \\\"links\\\": [],\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pluginVersion\\\": \\\"6.7.2\\\",\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"topk(10,max((1 - node_filesystem_avail_bytes{hostname=~\\\\\\\"$host\\\\\\\", fstype!~\\\\\\\"rootfs|selinuxfs|autofs|rpc_pipefs|tmpfs\\\\\\\"} \/ node_filesystem_size_bytes{hostname=~\\\\\\\"$host\\\\\\\", fstype!~\\\\\\\"rootfs|selinuxfs|autofs|rpc_pipefs|tmpfs\\\\\\\"})*100) by (hostname)  &gt; 0)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostname}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edf\u78c1\u76d8\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": false,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"series\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": [\n          \\\"current\\\"\n        ]\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u4ee5\u53ca\u96c6\u7fa4\u7684 KEYS \u603b\u6570\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 27\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 22,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"sum(redis_db_keys{instance=~\\\\\\\"$master\\\\\\\"}) by (instance,db)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        },\n        {\n          \\\"expr\\\": \\\"sum(redis_db_keys{instance=~\\\\\\\"$master\\\\\\\"}) by (cluster)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{cluster}}_total\\\",\n          \\\"refId\\\": \\\"B\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"KEYS \u603b\u6570\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u6d3b\u8dc3\u8fde\u63a5\u6570\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 35\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 26,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"redis_connected_clients{instance=~\\\\\\\"$instance\\\\\\\"}\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostip}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u6d3b\u8dc3\u8fde\u63a5\u6570\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u5185\u5b58\u788e\u7247\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 35\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 28,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"redis_mem_fragmentation_ratio{instance=~\\\\\\\"$instance\\\\\\\"}\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u5185\u5b58\u788e\u7247\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9 \u7684\u8d1f\u8f7d\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 43\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 34,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"node_load1{hostname=~\\\\\\\"$host\\\\\\\"}\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostname}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u8d1f\u8f7d\uff08Load\uff09\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    }\n  ],\n  \\\"refresh\\\": \\\"5s\\\",\n  \\\"schemaVersion\\\": 22,\n  \\\"style\\\": \\\"dark\\\",\n  \\\"tags\\\": [],\n  \\\"templating\\\": {\n    \\\"list\\\": [\n      {\n        \\\"auto\\\": true,\n        \\\"auto_count\\\": 100,\n        \\\"auto_min\\\": \\\"1s\\\",\n        \\\"current\\\": {\n          \\\"selected\\\": true,\n          \\\"text\\\": \\\"5s\\\",\n          \\\"value\\\": \\\"5s\\\"\n        },\n        \\\"hide\\\": 0,\n        \\\"label\\\": \\\"interval\\\",\n        \\\"name\\\": \\\"interval\\\",\n        \\\"options\\\": [\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"auto\\\",\n            \\\"value\\\": \\\"$__auto_interval_interval\\\"\n          },\n          {\n            \\\"selected\\\": true,\n            \\\"text\\\": \\\"5s\\\",\n            \\\"value\\\": \\\"5s\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"30s\\\",\n            \\\"value\\\": \\\"30s\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1m\\\",\n            \\\"value\\\": \\\"1m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"10m\\\",\n            \\\"value\\\": \\\"10m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"30m\\\",\n            \\\"value\\\": \\\"30m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1h\\\",\n            \\\"value\\\": \\\"1h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"6h\\\",\n            \\\"value\\\": \\\"6h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"12h\\\",\n            \\\"value\\\": \\\"12h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1d\\\",\n            \\\"value\\\": \\\"1d\\\"\n          }\n        ],\n        \\\"query\\\": \\\"5s,30s,1m,10m,30m,1h,6h,12h,1d\\\",\n        \\\"refresh\\\": 2,\n        \\\"skipUrlSync\\\": false,\n        \\\"type\\\": \\\"interval\\\"\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_up,cluster)\\\",\n        \\\"hide\\\": 0,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"Cluster\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"cluster\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_up,cluster)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_instance_info,role)\\\",\n        \\\"hide\\\": 0,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"Role\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"role\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_instance_info,role)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\",role=~\\\\\\\"$role\\\\\\\"},instance)\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"instance\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"instance\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\",role=~\\\\\\\"$role\\\\\\\"},instance)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\",role=\\\\\\\"master\\\\\\\"},instance)\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"master\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"master\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\",role=\\\\\\\"master\\\\\\\"},instance)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_up{cluster=~\\\\\\\"$cluster\\\\\\\"}, hostip)\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"host\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"host\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_up{cluster=~\\\\\\\"$cluster\\\\\\\"}, hostip)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      }\n    ]\n  },\n  \\\"time\\\": {\n    \\\"from\\\": \\\"now-5m\\\",\n    \\\"to\\\": \\\"now\\\"\n  },\n  \\\"timepicker\\\": {\n    \\\"refresh_intervals\\\": [\n      \\\"5s\\\",\n      \\\"10s\\\",\n      \\\"30s\\\",\n      \\\"1m\\\",\n      \\\"5m\\\",\n      \\\"15m\\\",\n      \\\"30m\\\",\n      \\\"1h\\\",\n      \\\"2h\\\",\n      \\\"1d\\\"\n    ]\n  },\n  \\\"timezone\\\": \\\"\\\",\n  \\\"title\\\": \\\"Redis_Cluster_V1.35\\\",\n  \\\"uid\\\": \\\"5FfBHG3Zz\\\",\n  \\\"variables\\\": {\n    \\\"list\\\": []\n  },\n  \\\"version\\\": 4\n}<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>\u2462\uff1a\u65e7\u7248\u672c<a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\\\" data-pjax=\\\"#js-repo-pjax-container\\\">redis_exporter<\/a>\u00a0[<a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\/releases\/tag\/v0.34.1\\\">v0.34.1<\/a>]\u652f\u6301\u591a\u5b9e\u4f8b\u4e0d\u540c\u5bc6\u7801\uff0c\u96c6\u7fa4\u4fe1\u606f\uff1a<\/p>\n<div>\n<div><\/div>\n<pre>\u96c6\u7fa41\uff1a\u5bc6\u7801 cc\nM:\n192.168.163.132:15389\n192.168.163.133:15389\n192.168.163.134:15389\nS:\n192.168.163.132:15489\n192.168.163.133:15489\n192.168.163.134:15489\n\u96c6\u7fa42\uff1a\u5bc6\u7801abc\nM:\n192.168.163.132:6379\n192.168.163.133:6379\n192.168.163.134:6379\nS:\n192.168.163.132:6381\n192.168.163.133:6381\n192.168.163.134:6381<\/pre>\n<div><\/div>\n<\/div>\n<p>prometheus.yml\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_d75b53a5-a5b1-4511-b6c8-0abc727e2e92\\\">\n<pre>global:\n  scrape_interval:     15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.\n  evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.\nalerting:\n  alertmanagers:\n  - static_configs:\n    - targets:\n      # - alertmanager:9093\nrule_files:\n  # - \\\"first_rules.yml\\\"\n  # - \\\"second_rules.yml\\\"\nscrape_configs:\n  - job_name: \\'prometheus\\'\n    static_configs:\n    - targets: [\\'192.168.163.132:9099\\']\n  - job_name: \\'node_exporter\\'\n    scrape_interval: 1s\n    file_sd_configs:\n      - files:\n        - targets\/node\/nodes-instances.json\n        refresh_interval: 10s\n    relabel_configs:\n    - action: replace\n      source_labels: [\\'__address__\\']\n      regex: (.*):(.*)\n      replacement: $1\n      target_label: hostip\n    - action: labeldrop\n      regex: __meta_filepath\n  - job_name: \\'redis_exporter\\'\n    scrape_interval: 1s\n    static_configs:\n    - targets: [\\'192.168.163.132:9128\\']<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p><a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\\\" data-pjax=\\\"#js-repo-pjax-container\\\">redis_exporter<\/a>\u76f4\u63a5\u7528\u547d\u4ee4\u884c\u542f\u52a8\uff1a\u5bf9\u5e94\u7684\u53c2\u6570\u6709-redis.addr\u3001-redis.alias\u3001-redis.password\uff1a<\/p>\n<div>\n<pre># .\/redis_exporter -redis-only-metrics -redis.addr 192.168.163.132:15389,192.168.163.133:15389,192.168.163.134:15389,192.168.163.132:15489,192.168.163.133:15489,192.168.163.134:15489,192.168.163.132:6379,192.168.163.133:6379,192.168.163.134:6379,192.168.163.132:6381,192.168.163.133:6381,192.168.163.134:6381 -redis.alias test,test,test,test,test,test,test123,test123,test123,test123,test123,test123 -redis.password cc,cc,cc,cc,cc,cc,abc,abc,abc,abc,abc,abc -web.listen-address :9128\nINFO[0000] Redis Metrics Exporter v0.34.1    build date: 2019-05-09-15:42:21    sha1: 1c168d07eff09e64efb18600a35664d6666926e6    Go: go1.12.5\nINFO[0000] Providing metrics at :9128\/metrics\nINFO[0000] Connecting to redis hosts: []string{\\\"192.168.163.132:15389\\\", \\\"192.168.163.133:15389\\\", \\\"192.168.163.134:15389\\\", \\\"192.168.163.132:15489\\\", \\\"192.168.163.133:15489\\\", \\\"192.168.163.134:15489\\\", \\\"192.168.163.132:6379\\\", \\\"192.168.163.133:6379\\\", \\\"192.168.163.134:6379\\\", \\\"192.168.163.132:6381\\\", \\\"192.168.163.133:6381\\\", \\\"192.168.163.134:6381\\\"}\nINFO[0000] Using alias: []string{\\\"test\\\", \\\"test\\\", \\\"test\\\", \\\"test\\\", \\\"test\\\", \\\"test\\\", \\\"test123\\\", \\\"test123\\\", \\\"test123\\\", \\\"test123\\\", \\\"test123\\\", \\\"test123\\\"}<\/pre>\n<\/div>\n<p>\u6ce8\u610f\uff1a\u53c2\u6570\u3001\u5bc6\u7801\u548c\u5b9e\u4f8b\u7684\u4ed6\u4eec\u662f\u4e00\u4e00\u5bf9\u5e94\u7684\u3002\u6700\u540e\u914d\u7f6eGrafana\uff0c\u6548\u679c\uff1a<br \/>\n<img src=\\\"https:\/\/img2020.cnblogs.com\/blog\/163084\/202004\/163084-20200418223807226-733633803.png\\\" alt=\\\"\\\" width=\\\"830\\\" height=\\\"410\\\" \/><br \/>\nJSON Model\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_1c9b27ec-a2ff-4270-9f85-1b6f8e987eed\\\">\n<pre>{\n  \\\"annotations\\\": {\n    \\\"list\\\": [\n      {\n        \\\"builtIn\\\": 1,\n        \\\"datasource\\\": \\\"-- Grafana --\\\",\n        \\\"enable\\\": true,\n        \\\"hide\\\": true,\n        \\\"iconColor\\\": \\\"rgba(0, 211, 255, 1)\\\",\n        \\\"name\\\": \\\"Annotations &amp; Alerts\\\",\n        \\\"type\\\": \\\"dashboard\\\"\n      }\n    ]\n  },\n  \\\"editable\\\": true,\n  \\\"gnetId\\\": null,\n  \\\"graphTooltip\\\": 0,\n  \\\"id\\\": 14,\n  \\\"iteration\\\": 1587221739977,\n  \\\"links\\\": [],\n  \\\"panels\\\": [\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u4e2a\u6570\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 0,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 8,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(count(redis_up{alias=~\\\\\\\"$cluster\\\\\\\"}&gt;0) by (alias))\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 5,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 4,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_instance_info{alias=~\\\\\\\"$cluster\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u8282\u70b9\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u6d3b\u8dc3\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 4,\n        \\\"x\\\": 10,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 6,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_up{alias=~\\\\\\\"$cluster\\\\\\\"}&gt;0)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u6d3b\u8dc3\u8282\u70b9\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorPrefix\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u4e3b\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 14,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 10,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_instance_info{alias=~\\\\\\\"$cluster\\\\\\\", role=\\\\\\\"master\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u4e3b\u8282\u70b9\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u4ece\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 19,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 12,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_instance_info{alias=~\\\\\\\"$cluster\\\\\\\", role=\\\\\\\"slave\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u4ece\u8282\u70b9\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redus  Cluster OPS\u6307\u6807\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 3\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 16,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"ceil(sum(rate(redis_commands_processed_total{alias=~\\\\\\\"$cluster\\\\\\\",addr=~\\\\\\\"$master\\\\\\\"}[$interval])) by (alias))\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{alias}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis Cluster OPS\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u5927\u5c0f\u503c\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 3\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 18,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"redis_memory_used_bytes{addr=~\\\\\\\"$instance\\\\\\\"} \\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{addr}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u5927\u5c0f\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"bytes\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis Server  CPU\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 11\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 14,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"100* (rate(redis_used_cpu_sys{addr=~\\\\\\\"$instance\\\\\\\"}[$interval]) + rate(redis_used_cpu_user{addr=~\\\\\\\"$instance\\\\\\\"}[$interval]))\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{addr}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis CPU\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 11\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 20,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"(redis_memory_used_bytes{addr=~\\\\\\\"$instance\\\\\\\"} \/ redis_config_maxmemory{addr=~\\\\\\\"$instance\\\\\\\"}) * 100\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{addr}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edfCPU\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 19\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 24,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"topk(3,clamp_max((avg by (hostname,mode) ((clamp_max(rate(node_cpu_seconds_total{hostname=~\\\\\\\"$host\\\\\\\",mode!=\\\\\\\"idle\\\\\\\"}[$interval]),1)) or (clamp_max(irate(node_cpu_seconds_total{hostname=~\\\\\\\"$host\\\\\\\",mode!=\\\\\\\"idle\\\\\\\"}[5m]),1)) ))*100,100))\\\",\n          \\\"hide\\\": true,\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{mode}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        },\n        {\n          \\\"expr\\\": \\\"1 - avg by (hostip)(rate(node_cpu_seconds_total{hostip=~\\\\\\\"$host\\\\\\\", mode=\\\\\\\"idle\\\\\\\"}[$interval]))\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostip}}\\\",\n          \\\"refId\\\": \\\"B\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edfCPU\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percentunit\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edf\u7269\u7406\u5185\u5b58\u5229\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 19\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 30,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"((node_memory_MemTotal_bytes{hostip=~\\\\\\\"$host\\\\\\\"} - (node_memory_MemAvailable_bytes{hostip=~\\\\\\\"$host\\\\\\\"} or (node_memory_MemFree_bytes{hostip=~\\\\\\\"$host\\\\\\\"} + node_memory_Buffers_bytes{hostip=~\\\\\\\"$host\\\\\\\"} + node_memory_Cached_bytes{hostip=~\\\\\\\"$host\\\\\\\"})))*100 \/ node_memory_MemTotal_bytes{hostip=~\\\\\\\"$host\\\\\\\"})\\\",\n          \\\"hide\\\": false,\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostip}}\\\",\n          \\\"refId\\\": \\\"B\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edf\u7269\u7406\u5185\u5b58\u5229\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": true,\n      \\\"cacheTimeout\\\": null,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edf\u78c1\u76d8\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 27\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 32,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": false,\n      \\\"linewidth\\\": 1,\n      \\\"links\\\": [],\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pluginVersion\\\": \\\"6.7.2\\\",\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"topk(10,max((1 - node_filesystem_avail_bytes{hostip=~\\\\\\\"$host\\\\\\\", fstype!~\\\\\\\"rootfs|selinuxfs|autofs|rpc_pipefs|tmpfs\\\\\\\"} \/ node_filesystem_size_bytes{hostip=~\\\\\\\"$host\\\\\\\", fstype!~\\\\\\\"rootfs|selinuxfs|autofs|rpc_pipefs|tmpfs\\\\\\\"})*100) by (hostip)  &gt; 0)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostip}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edf\u78c1\u76d8\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": false,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"series\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": [\n          \\\"current\\\"\n        ]\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u4ee5\u53ca\u96c6\u7fa4\u7684 KEYS \u603b\u6570\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 27\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 22,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"sum(redis_db_keys{addr=~\\\\\\\"$master\\\\\\\"}) by (addr,db)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{addr}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        },\n        {\n          \\\"expr\\\": \\\"sum(redis_db_keys{addr=~\\\\\\\"$master\\\\\\\"}) by (alias)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{alias}}_total\\\",\n          \\\"refId\\\": \\\"B\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"KEYS \u603b\u6570\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u6d3b\u8dc3\u8fde\u63a5\u6570\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 35\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 26,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"redis_connected_clients{addr=~\\\\\\\"$instance\\\\\\\"}\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{addr}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u6d3b\u8dc3\u8fde\u63a5\u6570\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u5185\u5b58\u788e\u7247\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 35\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 28,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"redis_mem_fragmentation_ratio{addr=~\\\\\\\"$instance\\\\\\\"}\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{addr}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u5185\u5b58\u788e\u7247\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9 \u7684\u8d1f\u8f7d\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 43\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 34,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"node_load1{hostip=~\\\\\\\"$host\\\\\\\"}\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{hostip}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u8d1f\u8f7d\uff08Load\uff09\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    }\n  ],\n  \\\"refresh\\\": \\\"5s\\\",\n  \\\"schemaVersion\\\": 22,\n  \\\"style\\\": \\\"dark\\\",\n  \\\"tags\\\": [],\n  \\\"templating\\\": {\n    \\\"list\\\": [\n      {\n        \\\"auto\\\": true,\n        \\\"auto_count\\\": 100,\n        \\\"auto_min\\\": \\\"1s\\\",\n        \\\"current\\\": {\n          \\\"selected\\\": true,\n          \\\"text\\\": \\\"5s\\\",\n          \\\"value\\\": \\\"5s\\\"\n        },\n        \\\"hide\\\": 0,\n        \\\"label\\\": \\\"interval\\\",\n        \\\"name\\\": \\\"interval\\\",\n        \\\"options\\\": [\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"auto\\\",\n            \\\"value\\\": \\\"$__auto_interval_interval\\\"\n          },\n          {\n            \\\"selected\\\": true,\n            \\\"text\\\": \\\"5s\\\",\n            \\\"value\\\": \\\"5s\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"30s\\\",\n            \\\"value\\\": \\\"30s\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1m\\\",\n            \\\"value\\\": \\\"1m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"10m\\\",\n            \\\"value\\\": \\\"10m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"30m\\\",\n            \\\"value\\\": \\\"30m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1h\\\",\n            \\\"value\\\": \\\"1h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"6h\\\",\n            \\\"value\\\": \\\"6h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"12h\\\",\n            \\\"value\\\": \\\"12h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1d\\\",\n            \\\"value\\\": \\\"1d\\\"\n          }\n        ],\n        \\\"query\\\": \\\"5s,30s,1m,10m,30m,1h,6h,12h,1d\\\",\n        \\\"refresh\\\": 2,\n        \\\"skipUrlSync\\\": false,\n        \\\"type\\\": \\\"interval\\\"\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_up,alias)\\\",\n        \\\"hide\\\": 0,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"Cluster\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"cluster\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_up,alias)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_instance_info{alias=~\\\\\\\"$cluster\\\\\\\"},role)\\\",\n        \\\"hide\\\": 0,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"Role\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"role\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_instance_info{alias=~\\\\\\\"$cluster\\\\\\\"},role)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_instance_info{alias=~\\\\\\\"$cluster\\\\\\\",role=~\\\\\\\"$role\\\\\\\"},addr)\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"instance\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"instance\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_instance_info{alias=~\\\\\\\"$cluster\\\\\\\",role=~\\\\\\\"$role\\\\\\\"},addr)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_instance_info{alias=~\\\\\\\"$cluster\\\\\\\",role=\\\\\\\"master\\\\\\\"},addr)\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"master\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"master\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_instance_info{alias=~\\\\\\\"$cluster\\\\\\\",role=\\\\\\\"master\\\\\\\"},addr)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_up{alias=~\\\\\\\"$cluster\\\\\\\"}, addr)\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"host\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"host\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_up{alias=~\\\\\\\"$cluster\\\\\\\"}, addr)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"(.*):.*\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      }\n    ]\n  },\n  \\\"time\\\": {\n    \\\"from\\\": \\\"now-5m\\\",\n    \\\"to\\\": \\\"now\\\"\n  },\n  \\\"timepicker\\\": {\n    \\\"refresh_intervals\\\": [\n      \\\"5s\\\",\n      \\\"10s\\\",\n      \\\"30s\\\",\n      \\\"1m\\\",\n      \\\"5m\\\",\n      \\\"15m\\\",\n      \\\"30m\\\",\n      \\\"1h\\\",\n      \\\"2h\\\",\n      \\\"1d\\\"\n    ]\n  },\n  \\\"timezone\\\": \\\"\\\",\n  \\\"title\\\": \\\"Redis_Cluster_V0.34\\\",\n  \\\"uid\\\": \\\"5FfBHG3Zz1\\\",\n  \\\"variables\\\": {\n    \\\"list\\\": []\n  },\n  \\\"version\\\": 1\n}<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>3\uff09\u5bfc\u5165<a href=\\\"https:\/\/grafana.com\/grafana\/dashboards\/763\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">dashboard<\/a>\uff08763\uff09\u5230Grafana\uff0c\u5c55\u793a\u7684\u76d1\u63a7\u56fe\uff1a<br \/>\n<img src=\\\"https:\/\/img2020.cnblogs.com\/blog\/163084\/202004\/163084-20200419000931566-140711010.png\\\" alt=\\\"\\\" width=\\\"825\\\" height=\\\"395\\\" \/><br \/>\n\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u76d1\u63a7\u9762\u677f\u4e0a\u770b\u5230\u7684\u662fexporter\u7684IP\u548c\u7aef\u53e3\uff0c\u770b\u4e0d\u5230Redis\u5b9e\u4f8b\u7684\u7aef\u53e3\uff0c\u5982\u679c\u662f\u4e00\u53f0\u673a\u5668\u90e8\u7f72\u4e00\u53f0Redis\u5b9e\u4f8b\uff0c\u5219\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u4e3b\u673a\u540d\u3002\u6216\u5219\u4fee\u6539\u76f8\u5e94\u7684labels\u6765\u81ea\u5b9a\u4e49\u9700\u6c42\u3002\u9664\u4e86\u4fee\u6539labels\u4e4b\u5916\uff0c\u8fd8\u53ef\u4ee5\u81ea\u5b9a\u4e49\u6570\u636e\u6e90\uff0c\u5982\u4f7f\u7528MySQL\u4f5c\u4e3a\u65b0\u6570\u636e\u6e90\u3002<br \/>\n5\uff09MySQL\u505a\u4e3a\u6570\u636e\u6e90\u5b9a\u5236\u6a21\u677f<br \/>\n\u6dfb\u52a0\u6570\u636e\u6e90\uff1a<br \/>\n<img src=\\\"https:\/\/img2020.cnblogs.com\/blog\/163084\/202004\/163084-20200417231208844-527555052.png\\\" alt=\\\"\\\" width=\\\"712\\\" height=\\\"480\\\" \/><br \/>\n\u8868\u7ed3\u6784\uff1a<\/p>\n<div>\n<div><\/div>\n<pre>CREATE TABLE `cluster_info` (\n  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT \\'\u4e3b\u952e\\',\n  `cluster_type` varchar(64) DEFAULT NULL COMMENT \\'\u96c6\u7fa4\u7c7b\u578b\\',\n  `cluster_name` varchar(64) DEFAULT NULL COMMENT \\'\u96c6\u7fa4\u540d\\',\n  `hostname` varchar(64) DEFAULT NULL COMMENT \\'\u4e3b\u673a\u540d\\',\n  `host_ip` varchar(64) DEFAULT NULL COMMENT \\'IP\\',\n  `port` int(11) DEFAULT NULL COMMENT \\'\u670d\u52a1\u7aef\u53e3\\',\n  `role` varchar(64) DEFAULT NULL COMMENT \\'\u670d\u52a1\u89d2\u8272\\',\n  `comments` varchar(500) DEFAULT NULL COMMENT \\'\u96c6\u7fa4\u63cf\u8ff0\\',\n  `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT \\'\u521b\u5efa\u65f6\u95f4\\',\n  `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT \\'\u66f4\u65b0\u65f6\u95f4\\',\n  PRIMARY KEY (`id`),\n  KEY `idx_create_time` (`create_time`),\n  KEY `idx_update_time` (`update_time`)\n) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT=\\'\u96c6\u7fa4\u4fe1\u606f\\'<\/pre>\n<div><\/div>\n<\/div>\n<p>\u8868\u8bb0\u5f55\uff1a<\/p>\n<div>\n<div><\/div>\n<pre>mysql&gt; select * from cluster_info;\n+----+---------------+--------------+----------+-----------------+------+--------+--------------+---------------------+---------------------+\n| id | cluster_type  | cluster_name | hostname | host_ip         | port | role   | comments     | create_time         | update_time         |\n+----+---------------+--------------+----------+-----------------+------+--------+--------------+---------------------+---------------------+\n|  1 | Redis_Cluster | testX        | test2    | 192.168.163.132 | 6380 | master | \u6d4b\u8bd5\u96c6\u7fa4     | 2020-04-08 19:22:56 | 2020-04-09 11:19:13 |\n|  2 | Redis_Cluster | testX        | test3    | 192.168.163.133 | 6380 | master | \u6d4b\u8bd5\u96c6\u7fa4     | 2020-04-08 19:24:29 | 2020-04-09 11:19:16 |\n|  3 | Redis_Cluster | testX        | test4    | 192.168.163.134 | 6380 | master | \u6d4b\u8bd5\u96c6\u7fa4     | 2020-04-08 19:24:33 | 2020-04-09 11:19:16 |\n+----+---------------+--------------+----------+-----------------+------+--------+--------------+---------------------+---------------------+<\/pre>\n<\/div>\n<p>5.1 \u4f7f\u7528\u7f16\u5199\u5bfc\u51fa\u5668\u7684\u6700\u4f73\u5b9e\u8df5\uff1a<br \/>\nprometheus.yml\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_3a295923-628f-4f01-9af8-739ff6febeeb\\\">\n<pre>global:\n  scrape_interval:     10s # Set the scrape interval to every 15 seconds. Default is every 1 minute.\n  evaluation_interval: 10s # Evaluate rules every 15 seconds. The default is every 1 minute.\nalerting:\n  alertmanagers:\n  - static_configs:\n    - targets:\n      # - alertmanager:9093\nrule_files:\n  # - \\\"first_rules.yml\\\"\n  # - \\\"second_rules.yml\\\"\nscrape_configs:\n  - job_name: \\'prometheus\\'\n    static_configs:\n    - targets: [\\'192.168.163.132:9099\\']\n  - job_name: \\'node_exporter\\'\n    scrape_interval: 1s\n    file_sd_configs:\n      - files:\n        - targets\/node\/node*.yml\n        refresh_interval: 10s\n    relabel_configs:\n    - action: replace\n      source_labels: [\\'__address__\\']\n      regex: (.*):(.*)\n      replacement: $1\n      target_label: hostname\n    - action: labeldrop\n      regex: __meta_filepath\n  - job_name: \\'redis_exporter\\'\n    scrape_interval: 1s\n    file_sd_configs:\n      - files:\n        - targets\/redis\/Xredis*.yml\n    relabel_configs:\n    - action: replace\n      source_labels: [\\'__address__\\']\n      regex: (.*):(.*)\n      replacement: $1\n      target_label: hostip\n    - action: labeldrop\n      regex: __meta_filepath<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>targets\/node\/node*.yml<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_abd03358-ac09-4966-ae2c-122853c6e061\\\">\n<pre>root@test2:\/etc\/prometheus\/targets\/node# ls -lh node*.yml\n-rw-r--r-- 1 prometheus prometheus 103 4\u6708  19 01:24 node_test2_exporter.yml\n-rw-r--r-- 1 prometheus prometheus 103 4\u6708  18 16:18 node_test3_exporter.yml\n-rw-r--r-- 1 prometheus prometheus 103 4\u6708  18 16:18 node_test4_exporter.yml\nroot@test2:\/etc\/prometheus\/targets\/node# cat node_test2_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.132:9199\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"instance\\\":\\\"test2\\\"}\n  }\n]\nroot@test2:\/etc\/prometheus\/targets\/node# cat node_test3_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.133:9199\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"instance\\\":\\\"test3\\\"}\n  }\n]\nroot@test2:\/etc\/prometheus\/targets\/node# cat node_test4_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.134:9199\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"instance\\\":\\\"test4\\\"}\n  }\n]<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>targets\/redis\/Xredis*.yml<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_0640991f-7a3c-49ca-bfa6-38400bc26424\\\">\n<pre>root@test2:\/etc\/prometheus\/targets\/redis# ls -lh Xredis*.yml\n-rw-r--r-- 1 root root 118 4\u6708  19 00:34 Xredis_test2_6380_exporter.yml\n-rw-r--r-- 1 root root 118 4\u6708  19 00:36 Xredis_test3_6380_exporter.yml\n-rw-r--r-- 1 root root 118 4\u6708  19 00:35 Xredis_test4_6380_exporter.yml\nroot@test2:\/etc\/prometheus\/targets\/redis# cat Xredis_test2_6380_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.132:9123\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"testX\\\",\\\"alias\\\":\\\"test2\\\"}\n  }\n]\nroot@test2:\/etc\/prometheus\/targets\/redis# cat Xredis_test3_6380_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.133:9123\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"testX\\\",\\\"alias\\\":\\\"test3\\\"}\n  }\n]\nroot@test2:\/etc\/prometheus\/targets\/redis# cat Xredis_test4_6380_exporter.yml\n[\n  {\n    \\\"targets\\\": [\\\"192.168.163.134:9123\\\"],\n    \\\"labels\\\": {\\\"env\\\":\\\"test\\\",\\\"cluster\\\":\\\"testX\\\",\\\"alias\\\":\\\"test4\\\"}\n  }\n]<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>\u914d\u7f6e\u5b8c\u6210\u4e4b\u540e\uff0c\u53ef\u4ee5\u76f4\u63a5\u5230\u5404\u4e2a\u76d1\u63a7\u4e3b\u673a\u4e0a\u542f\u52a8<a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\\\" data-pjax=\\\"#js-repo-pjax-container\\\">redis_exporter<\/a>\uff1a<\/p>\n<div>\n<div><\/div>\n<pre>test2:\n.\/redis_exporter  -redis-only-metrics -redis.addr 192.168.163.132:6380 -redis.password cba  -web.listen-address=:9123\ntest3:\n.\/redis_exporter  -redis-only-metrics -redis.addr 192.168.163.133:6380 -redis.password cba  -web.listen-address=:9123\ntest4:\n.\/redis_exporter  -redis-only-metrics -redis.addr 192.168.163.134:6380 -redis.password cba  -web.listen-address=:9123<\/pre>\n<div><\/div>\n<\/div>\n<p>\u6700\u540e\u914d\u7f6eGrafana\uff0c\u6548\u679c\uff1a<br \/>\n<img src=\\\"https:\/\/img2020.cnblogs.com\/blog\/163084\/202004\/163084-20200419013757420-1239998565.png\\\" alt=\\\"\\\" width=\\\"870\\\" height=\\\"388\\\" \/><br \/>\nJSON Model\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_985b8767-e52b-4a73-88d6-ffbf06a15744\\\">\n<pre>{\n  \\\"annotations\\\": {\n    \\\"list\\\": [\n      {\n        \\\"builtIn\\\": 1,\n        \\\"datasource\\\": \\\"-- Grafana --\\\",\n        \\\"enable\\\": true,\n        \\\"hide\\\": true,\n        \\\"iconColor\\\": \\\"rgba(0, 211, 255, 1)\\\",\n        \\\"name\\\": \\\"Annotations &amp; Alerts\\\",\n        \\\"type\\\": \\\"dashboard\\\"\n      }\n    ]\n  },\n  \\\"editable\\\": true,\n  \\\"gnetId\\\": null,\n  \\\"graphTooltip\\\": 0,\n  \\\"id\\\": 13,\n  \\\"iteration\\\": 1587231669738,\n  \\\"links\\\": [],\n  \\\"panels\\\": [\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u4e2a\u6570\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 0,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 8,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(count(redis_up{cluster=~\\\\\\\"$cluster\\\\\\\"}) by (cluster))\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 5,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 4,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_up{cluster=~\\\\\\\"$cluster\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u8282\u70b9\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u6d3b\u8dc3\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 4,\n        \\\"x\\\": 10,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 6,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_up{cluster=~\\\\\\\"$cluster\\\\\\\"}&gt;0)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u6d3b\u8dc3\u8282\u70b9\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorPrefix\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u4e3b\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 14,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 10,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\", role=\\\\\\\"master\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u4e3b\u8282\u70b9\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u4ece\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 19,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 12,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\", role=\\\\\\\"slave\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u4ece\u8282\u70b9\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redus  Cluster OPS\u6307\u6807\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 3\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 16,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"ceil(sum(rate(redis_commands_processed_total{cluster=~\\\\\\\"$cluster\\\\\\\",alias=~\\\\\\\"$master\\\\\\\"}[$interval])) by (cluster))\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{cluster}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis Cluster OPS\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u5927\u5c0f\u503c\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 3\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 18,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"redis_memory_used_bytes{alias=~\\\\\\\"$host\\\\\\\"} \\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{alias}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u5927\u5c0f\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"bytes\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis Server  CPU\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 11\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 14,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"100* (rate(redis_cpu_sys_seconds_total{alias=~\\\\\\\"$host\\\\\\\"}[$interval]) + rate(redis_cpu_user_seconds_total{alias=~\\\\\\\"$host\\\\\\\"}[$interval]))\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{alias}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis CPU\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 11\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 20,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"(redis_memory_used_bytes{alias=~\\\\\\\"$host\\\\\\\"} \/ redis_config_maxmemory{alias=~\\\\\\\"$host\\\\\\\"}) * 100\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{alias}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edfCPU\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 19\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 24,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"1 - avg by (instance)(rate(node_cpu_seconds_total{instance=~\\\\\\\"$host\\\\\\\", mode=\\\\\\\"idle\\\\\\\"}[$interval]))\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"B\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edfCPU\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percentunit\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edf\u7269\u7406\u5185\u5b58\u5229\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 19\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 30,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"((node_memory_MemTotal_bytes{instance=~\\\\\\\"$host\\\\\\\"} - (node_memory_MemAvailable_bytes{instance=~\\\\\\\"$host\\\\\\\"} or (node_memory_MemFree_bytes{instance=~\\\\\\\"$host\\\\\\\"} + node_memory_Buffers_bytes{instance=~\\\\\\\"$host\\\\\\\"} + node_memory_Cached_bytes{instance=~\\\\\\\"$host\\\\\\\"})))*100 \/ node_memory_MemTotal_bytes{instance=~\\\\\\\"$host\\\\\\\"})\\\",\n          \\\"hide\\\": false,\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"B\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edf\u7269\u7406\u5185\u5b58\u5229\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": true,\n      \\\"cacheTimeout\\\": null,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edf\u78c1\u76d8\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 27\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 32,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": false,\n      \\\"linewidth\\\": 1,\n      \\\"links\\\": [],\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pluginVersion\\\": \\\"6.7.2\\\",\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"topk(10,max((1 - node_filesystem_avail_bytes{instance=~\\\\\\\"$host\\\\\\\", fstype!~\\\\\\\"rootfs|selinuxfs|autofs|rpc_pipefs|tmpfs\\\\\\\"} \/ node_filesystem_size_bytes{instance=~\\\\\\\"$host\\\\\\\", fstype!~\\\\\\\"rootfs|selinuxfs|autofs|rpc_pipefs|tmpfs\\\\\\\"})*100) by (instance)  &gt; 0)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edf\u78c1\u76d8\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": false,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"series\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": [\n          \\\"current\\\"\n        ]\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u4ee5\u53ca\u96c6\u7fa4\u7684 KEYS \u603b\u6570\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 27\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 22,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"sum(redis_db_keys{alias=~\\\\\\\"$master\\\\\\\"}) by (alias,db)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{alias}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        },\n        {\n          \\\"expr\\\": \\\"sum(redis_db_keys{alias=~\\\\\\\"$master\\\\\\\"}) by (cluster)\\\",\n          \\\"hide\\\": false,\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{cluster}}_total\\\",\n          \\\"refId\\\": \\\"B\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"KEYS \u603b\u6570\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u7684\u6d3b\u8dc3\u8fde\u63a5\u6570\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 35\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 26,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"sum(redis_connected_clients{alias=~\\\\\\\"$master\\\\\\\"}) by (cluster)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{cluster}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u6d3b\u8dc3\u8fde\u63a5\u6570\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u5185\u5b58\u788e\u7247\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 35\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 28,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"redis_mem_fragmentation_ratio{alias=~\\\\\\\"$host\\\\\\\"}\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{alias}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u5185\u5b58\u788e\u7247\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9 \u7684\u8d1f\u8f7d\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 43\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 34,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"node_load1{instance=~\\\\\\\"$host\\\\\\\"}\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u8d1f\u8f7d\uff08Load\uff09\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    }\n  ],\n  \\\"refresh\\\": \\\"5s\\\",\n  \\\"schemaVersion\\\": 22,\n  \\\"style\\\": \\\"dark\\\",\n  \\\"tags\\\": [],\n  \\\"templating\\\": {\n    \\\"list\\\": [\n      {\n        \\\"auto\\\": true,\n        \\\"auto_count\\\": 100,\n        \\\"auto_min\\\": \\\"1s\\\",\n        \\\"current\\\": {\n          \\\"selected\\\": false,\n          \\\"text\\\": \\\"5s\\\",\n          \\\"value\\\": \\\"5s\\\"\n        },\n        \\\"hide\\\": 0,\n        \\\"label\\\": \\\"interval\\\",\n        \\\"name\\\": \\\"interval\\\",\n        \\\"options\\\": [\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"auto\\\",\n            \\\"value\\\": \\\"$__auto_interval_interval\\\"\n          },\n          {\n            \\\"selected\\\": true,\n            \\\"text\\\": \\\"5s\\\",\n            \\\"value\\\": \\\"5s\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"30s\\\",\n            \\\"value\\\": \\\"30s\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1m\\\",\n            \\\"value\\\": \\\"1m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"10m\\\",\n            \\\"value\\\": \\\"10m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"30m\\\",\n            \\\"value\\\": \\\"30m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1h\\\",\n            \\\"value\\\": \\\"1h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"6h\\\",\n            \\\"value\\\": \\\"6h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"12h\\\",\n            \\\"value\\\": \\\"12h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1d\\\",\n            \\\"value\\\": \\\"1d\\\"\n          }\n        ],\n        \\\"query\\\": \\\"5s,30s,1m,10m,30m,1h,6h,12h,1d\\\",\n        \\\"refresh\\\": 2,\n        \\\"skipUrlSync\\\": false,\n        \\\"type\\\": \\\"interval\\\"\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"MySQL\\\",\n        \\\"definition\\\": \\\"select cluster_name from cluster_info where cluster_type = \\\\\\\"Redis_Cluster\\\\\\\"\\\",\n        \\\"hide\\\": 0,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"Cluster\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"cluster\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"select cluster_name from cluster_info where cluster_type = \\\\\\\"Redis_Cluster\\\\\\\"\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"MySQL\\\",\n        \\\"definition\\\": \\\"select role from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster)\\\",\n        \\\"hide\\\": 0,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"Role\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"role\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"select role from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"MySQL\\\",\n        \\\"definition\\\": \\\"select hostname from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster)\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"host\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"host\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"select hostname from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"MySQL\\\",\n        \\\"definition\\\": \\\"select hostname from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster) and role=\\\\\\\"master\\\\\\\"\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"master\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"master\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"select hostname from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster) and role=\\\\\\\"master\\\\\\\"\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"MySQL\\\",\n        \\\"definition\\\": \\\"select hostname from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster) and role=\\\\\\\"slave\\\\\\\"\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"slave\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"slave\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"select hostname from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster) and role=\\\\\\\"slave\\\\\\\"\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"Prometheus\\\",\n        \\\"definition\\\": \\\"label_values(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\",role=~\\\\\\\"$role\\\\\\\"},instance)\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"instance\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"instance\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"label_values(redis_instance_info{cluster=~\\\\\\\"$cluster\\\\\\\",role=~\\\\\\\"$role\\\\\\\"},instance)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      }\n    ]\n  },\n  \\\"time\\\": {\n    \\\"from\\\": \\\"now-5m\\\",\n    \\\"to\\\": \\\"now\\\"\n  },\n  \\\"timepicker\\\": {\n    \\\"refresh_intervals\\\": [\n      \\\"5s\\\",\n      \\\"10s\\\",\n      \\\"30s\\\",\n      \\\"1m\\\",\n      \\\"5m\\\",\n      \\\"15m\\\",\n      \\\"30m\\\",\n      \\\"1h\\\",\n      \\\"2h\\\",\n      \\\"1d\\\"\n    ]\n  },\n  \\\"timezone\\\": \\\"\\\",\n  \\\"title\\\": \\\"Redis_Cluster_V1.35\\\",\n  \\\"uid\\\": \\\"5FfBHG3Zz\\\",\n  \\\"variables\\\": {\n    \\\"list\\\": []\n  },\n  \\\"version\\\": 9\n}<\/pre>\n<div><a title=\\\"\u590d\u5236\u4ee3\u7801\\\"><img src=\\\"https:\/\/common.cnblogs.com\/images\/copycode.gif\\\" alt=\\\"\u590d\u5236\u4ee3\u7801\\\" \/><\/a><\/div>\n<\/div>\n<\/div>\n<p>5.2 \u4f7f\u7528\u8001\u7248\u672c\u7684exporter\uff1a<br \/>\nprometheus.yml<\/p>\n<div><img id=\\\"code_img_opened_05282027-d3ca-4151-aaa6-d2f23a398ae0\\\" src=\\\"https:\/\/images.cnblogs.com\/OutliningIndicators\/ExpandedBlockStart.gif\\\" alt=\\\"\\\" \/><\/p>\n<div id=\\\"cnblogs_code_open_05282027-d3ca-4151-aaa6-d2f23a398ae0\\\">\n<div><a title=\\\"\u590d\u5236\u4ee3\u7801\\\"><img src=\\\"https:\/\/common.cnblogs.com\/images\/copycode.gif\\\" alt=\\\"\u590d\u5236\u4ee3\u7801\\\" \/><\/a><\/div>\n<pre>global:\n  scrape_interval:     15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.\n  evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.\nalerting:\n  alertmanagers:\n  - static_configs:\n    - targets:\n      # - alertmanager:9093\nrule_files:\n  # - \\\"first_rules.yml\\\"\n  # - \\\"second_rules.yml\\\"\nscrape_configs:\n  - job_name: \\'prometheus\\'\n    static_configs:\n    - targets: [\\'192.168.163.132:9099\\']\n  - job_name: \\'node_exporter\\'\n    scrape_interval: 1s\n    file_sd_configs:\n      - files:\n        - targets\/node\/node*.yml\n        refresh_interval: 10s\n    relabel_configs:\n    - action: replace\n      source_labels: [\\'__address__\\']\n      regex: (.*):(.*)\n      replacement: $1\n      target_label: hostname\n    - action: labeldrop\n      regex: __meta_filepath\n  - job_name: \\'redis_exporter\\'\n    scrape_interval: 1s\n    static_configs:\n    - targets: [\\'192.168.163.132:9128\\']<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>\u914d\u7f6e\u5b8c\u6210\u4e4b\u540e\uff0c\u53ef\u4ee5\u76f4\u63a5\u5230\u76d1\u63a7\u4e3b\u673a\u4e0a\u542f\u52a8<a href=\\\"https:\/\/github.com\/oliver006\/redis_exporter\\\" data-pjax=\\\"#js-repo-pjax-container\\\">redis_exporter<\/a>\uff1a<\/p>\n<div>\n<pre>.\/redis_exporter -redis-only-metrics -redis.addr 192.168.163.132:6380,192.168.163.133:6380,192.168.163.134:6380 -redis.alias test2,test3,test4 -redis.password cba,cba,cba -web.listen-address :9128<\/pre>\n<\/div>\n<p>\u6700\u540e\u914d\u7f6eGrafana\uff0c\u6548\u679c\uff1a<br \/>\n<img src=\\\"https:\/\/img2020.cnblogs.com\/blog\/163084\/202004\/163084-20200419023159779-2106595841.png\\\" alt=\\\"\\\" width=\\\"855\\\" height=\\\"418\\\" \/><br \/>\nJSON Model\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_2820c0bd-a7a1-4211-9a47-576f72551a9f\\\">\n<pre>{\n  \\\"annotations\\\": {\n    \\\"list\\\": [\n      {\n        \\\"builtIn\\\": 1,\n        \\\"datasource\\\": \\\"-- Grafana --\\\",\n        \\\"enable\\\": true,\n        \\\"hide\\\": true,\n        \\\"iconColor\\\": \\\"rgba(0, 211, 255, 1)\\\",\n        \\\"name\\\": \\\"Annotations &amp; Alerts\\\",\n        \\\"type\\\": \\\"dashboard\\\"\n      }\n    ]\n  },\n  \\\"editable\\\": true,\n  \\\"gnetId\\\": null,\n  \\\"graphTooltip\\\": 0,\n  \\\"id\\\": 13,\n  \\\"iteration\\\": 1587234344797,\n  \\\"links\\\": [],\n  \\\"panels\\\": [\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": \\\"MySQL\\\",\n      \\\"description\\\": \\\"\u96c6\u7fa4\u4e2a\u6570\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 0,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 8,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"format\\\": \\\"table\\\",\n          \\\"group\\\": [],\n          \\\"metricColumn\\\": \\\"none\\\",\n          \\\"rawQuery\\\": true,\n          \\\"rawSql\\\": \\\"select count(distinct cluster_name) from cluster_info where cluster_type = \\'Redis_Cluster\\'\\\",\n          \\\"refId\\\": \\\"A\\\",\n          \\\"select\\\": [\n            [\n              {\n                \\\"params\\\": [\n                  \\\"id\\\"\n                ],\n                \\\"type\\\": \\\"column\\\"\n              }\n            ]\n          ],\n          \\\"table\\\": \\\"cluster_info\\\",\n          \\\"timeColumn\\\": \\\"create_time\\\",\n          \\\"timeColumnType\\\": \\\"timestamp\\\",\n          \\\"where\\\": [\n            {\n              \\\"name\\\": \\\"$__timeFilter\\\",\n              \\\"params\\\": [],\n              \\\"type\\\": \\\"macro\\\"\n            }\n          ]\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 5,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 4,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_up{alias=~\\\\\\\"$all_host\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u8282\u70b9\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u6d3b\u8dc3\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 4,\n        \\\"x\\\": 10,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 6,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_up{alias=~\\\\\\\"$all_host\\\\\\\"}&gt;0)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u96c6\u7fa4\u6d3b\u8dc3\u8282\u70b9\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorPrefix\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u4e3b\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 14,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 10,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_instance_info{alias=~\\\\\\\"$master\\\\\\\", role=\\\\\\\"master\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u4e3b\u8282\u70b9\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"cacheTimeout\\\": null,\n      \\\"colorBackground\\\": false,\n      \\\"colorValue\\\": true,\n      \\\"colors\\\": [\n        \\\"#299c46\\\",\n        \\\"rgba(237, 129, 40, 0.89)\\\",\n        \\\"#d44a3a\\\"\n      ],\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u4ece\u8282\u70b9\u6570\u91cf\\\",\n      \\\"format\\\": \\\"none\\\",\n      \\\"gauge\\\": {\n        \\\"maxValue\\\": 100,\n        \\\"minValue\\\": 0,\n        \\\"show\\\": false,\n        \\\"thresholdLabels\\\": false,\n        \\\"thresholdMarkers\\\": true\n      },\n      \\\"gridPos\\\": {\n        \\\"h\\\": 3,\n        \\\"w\\\": 5,\n        \\\"x\\\": 19,\n        \\\"y\\\": 0\n      },\n      \\\"id\\\": 12,\n      \\\"interval\\\": null,\n      \\\"links\\\": [],\n      \\\"mappingType\\\": 1,\n      \\\"mappingTypes\\\": [\n        {\n          \\\"name\\\": \\\"value to text\\\",\n          \\\"value\\\": 1\n        },\n        {\n          \\\"name\\\": \\\"range to text\\\",\n          \\\"value\\\": 2\n        }\n      ],\n      \\\"maxDataPoints\\\": 100,\n      \\\"nullPointMode\\\": \\\"connected\\\",\n      \\\"nullText\\\": null,\n      \\\"postfix\\\": \\\"\\\",\n      \\\"postfixFontSize\\\": \\\"50%\\\",\n      \\\"prefix\\\": \\\"\\\",\n      \\\"prefixFontSize\\\": \\\"50%\\\",\n      \\\"rangeMaps\\\": [\n        {\n          \\\"from\\\": \\\"null\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"to\\\": \\\"null\\\"\n        }\n      ],\n      \\\"sparkline\\\": {\n        \\\"fillColor\\\": \\\"rgba(31, 118, 189, 0.18)\\\",\n        \\\"full\\\": false,\n        \\\"lineColor\\\": \\\"rgb(31, 120, 193)\\\",\n        \\\"show\\\": false,\n        \\\"ymax\\\": null,\n        \\\"ymin\\\": null\n      },\n      \\\"tableColumn\\\": \\\"\\\",\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"count(redis_instance_info{alias=~\\\\\\\"$slave\\\\\\\", role=\\\\\\\"slave\\\\\\\"})\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": \\\"\\\",\n      \\\"timeFrom\\\": null,\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u4ece\u8282\u70b9\u4e2a\u6570\\\",\n      \\\"type\\\": \\\"singlestat\\\",\n      \\\"valueFontSize\\\": \\\"100%\\\",\n      \\\"valueMaps\\\": [\n        {\n          \\\"op\\\": \\\"=\\\",\n          \\\"text\\\": \\\"N\/A\\\",\n          \\\"value\\\": \\\"null\\\"\n        }\n      ],\n      \\\"valueName\\\": \\\"current\\\"\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redus  Cluster OPS\u6307\u6807\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 3\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 16,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"ceil(sum(rate(redis_commands_processed_total{alias=~\\\\\\\"$master\\\\\\\"}[$interval])))\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis Cluster OPS\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u5927\u5c0f\u503c\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 3\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 18,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"redis_memory_used_bytes{alias=~\\\\\\\"$host\\\\\\\"} \\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{alias}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u5927\u5c0f\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"bytes\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis Server  CPU\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 11\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 14,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"100* (rate(redis_used_cpu_sys{alias=~\\\\\\\"$host\\\\\\\"}[$interval]) + rate(redis_used_cpu_user{alias=~\\\\\\\"$host\\\\\\\"}[$interval]))\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{alias}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis CPU\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 11\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 20,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"(redis_memory_used_bytes{alias=~\\\\\\\"$host\\\\\\\"} \/ redis_config_maxmemory{alias=~\\\\\\\"$host\\\\\\\"}) * 100\\\",\n          \\\"interval\\\": \\\"5s\\\",\n          \\\"legendFormat\\\": \\\"{{alias}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"Redis \u5185\u5b58\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edfCPU\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 19\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 24,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"1 - avg by (instance)(rate(node_cpu_seconds_total{instance=~\\\\\\\"$host\\\\\\\", mode=\\\\\\\"idle\\\\\\\"}[$interval]))\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"B\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edfCPU\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percentunit\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edf\u7269\u7406\u5185\u5b58\u5229\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 19\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 30,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"((node_memory_MemTotal_bytes{instance=~\\\\\\\"$host\\\\\\\"} - (node_memory_MemAvailable_bytes{instance=~\\\\\\\"$host\\\\\\\"} or (node_memory_MemFree_bytes{instance=~\\\\\\\"$host\\\\\\\"} + node_memory_Buffers_bytes{instance=~\\\\\\\"$host\\\\\\\"} + node_memory_Cached_bytes{instance=~\\\\\\\"$host\\\\\\\"})))*100 \/ node_memory_MemTotal_bytes{instance=~\\\\\\\"$host\\\\\\\"})\\\",\n          \\\"hide\\\": false,\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"B\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edf\u7269\u7406\u5185\u5b58\u5229\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": true,\n      \\\"cacheTimeout\\\": null,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u7cfb\u7edf\u78c1\u76d8\u4f7f\u7528\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 27\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 32,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": false,\n      \\\"linewidth\\\": 1,\n      \\\"links\\\": [],\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pluginVersion\\\": \\\"6.7.2\\\",\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"topk(10,max((1 - node_filesystem_avail_bytes{instance=~\\\\\\\"$host\\\\\\\", fstype!~\\\\\\\"rootfs|selinuxfs|autofs|rpc_pipefs|tmpfs\\\\\\\"} \/ node_filesystem_size_bytes{instance=~\\\\\\\"$host\\\\\\\", fstype!~\\\\\\\"rootfs|selinuxfs|autofs|rpc_pipefs|tmpfs\\\\\\\"})*100) by (instance)  &gt; 0)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u7cfb\u7edf\u78c1\u76d8\u4f7f\u7528\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": false,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"series\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": [\n          \\\"current\\\"\n        ]\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"percent\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u4ee5\u53ca\u96c6\u7fa4\u7684 KEYS \u603b\u6570\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 27\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 22,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"sum(redis_db_keys{alias=~\\\\\\\"$master\\\\\\\"}) by (alias,db)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{alias}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"KEYS \u603b\u6570\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u96c6\u7fa4\u7684\u6d3b\u8dc3\u8fde\u63a5\u6570\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 35\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 26,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"sum(redis_connected_clients{alias=~\\\\\\\"$host\\\\\\\"}) by (cluster)\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{cluster}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u6d3b\u8dc3\u8fde\u63a5\u6570\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9\u5185\u5b58\u788e\u7247\u7387\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 12,\n        \\\"y\\\": 35\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 28,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"redis_mem_fragmentation_ratio{alias=~\\\\\\\"$host\\\\\\\"}\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{alias}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u5185\u5b58\u788e\u7247\u7387\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    },\n    {\n      \\\"aliasColors\\\": {},\n      \\\"bars\\\": false,\n      \\\"dashLength\\\": 10,\n      \\\"dashes\\\": false,\n      \\\"datasource\\\": null,\n      \\\"description\\\": \\\"\u5404\u4e2a\u8282\u70b9 \u7684\u8d1f\u8f7d\\\",\n      \\\"fill\\\": 1,\n      \\\"fillGradient\\\": 0,\n      \\\"gridPos\\\": {\n        \\\"h\\\": 8,\n        \\\"w\\\": 12,\n        \\\"x\\\": 0,\n        \\\"y\\\": 43\n      },\n      \\\"hiddenSeries\\\": false,\n      \\\"id\\\": 34,\n      \\\"legend\\\": {\n        \\\"avg\\\": false,\n        \\\"current\\\": false,\n        \\\"max\\\": false,\n        \\\"min\\\": false,\n        \\\"show\\\": true,\n        \\\"total\\\": false,\n        \\\"values\\\": false\n      },\n      \\\"lines\\\": true,\n      \\\"linewidth\\\": 1,\n      \\\"nullPointMode\\\": \\\"null\\\",\n      \\\"options\\\": {\n        \\\"dataLinks\\\": []\n      },\n      \\\"percentage\\\": false,\n      \\\"pointradius\\\": 2,\n      \\\"points\\\": false,\n      \\\"renderer\\\": \\\"flot\\\",\n      \\\"seriesOverrides\\\": [],\n      \\\"spaceLength\\\": 10,\n      \\\"stack\\\": false,\n      \\\"steppedLine\\\": false,\n      \\\"targets\\\": [\n        {\n          \\\"expr\\\": \\\"node_load1{instance=~\\\\\\\"$host\\\\\\\"}\\\",\n          \\\"interval\\\": \\\"\\\",\n          \\\"legendFormat\\\": \\\"{{instance}}\\\",\n          \\\"refId\\\": \\\"A\\\"\n        }\n      ],\n      \\\"thresholds\\\": [],\n      \\\"timeFrom\\\": null,\n      \\\"timeRegions\\\": [],\n      \\\"timeShift\\\": null,\n      \\\"title\\\": \\\"\u8d1f\u8f7d\uff08Load\uff09\\\",\n      \\\"tooltip\\\": {\n        \\\"shared\\\": true,\n        \\\"sort\\\": 0,\n        \\\"value_type\\\": \\\"individual\\\"\n      },\n      \\\"type\\\": \\\"graph\\\",\n      \\\"xaxis\\\": {\n        \\\"buckets\\\": null,\n        \\\"mode\\\": \\\"time\\\",\n        \\\"name\\\": null,\n        \\\"show\\\": true,\n        \\\"values\\\": []\n      },\n      \\\"yaxes\\\": [\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        },\n        {\n          \\\"format\\\": \\\"short\\\",\n          \\\"label\\\": null,\n          \\\"logBase\\\": 1,\n          \\\"max\\\": null,\n          \\\"min\\\": null,\n          \\\"show\\\": true\n        }\n      ],\n      \\\"yaxis\\\": {\n        \\\"align\\\": false,\n        \\\"alignLevel\\\": null\n      }\n    }\n  ],\n  \\\"refresh\\\": \\\"5s\\\",\n  \\\"schemaVersion\\\": 22,\n  \\\"style\\\": \\\"dark\\\",\n  \\\"tags\\\": [],\n  \\\"templating\\\": {\n    \\\"list\\\": [\n      {\n        \\\"auto\\\": true,\n        \\\"auto_count\\\": 100,\n        \\\"auto_min\\\": \\\"1s\\\",\n        \\\"current\\\": {\n          \\\"selected\\\": false,\n          \\\"text\\\": \\\"5s\\\",\n          \\\"value\\\": \\\"5s\\\"\n        },\n        \\\"hide\\\": 0,\n        \\\"label\\\": \\\"interval\\\",\n        \\\"name\\\": \\\"interval\\\",\n        \\\"options\\\": [\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"auto\\\",\n            \\\"value\\\": \\\"$__auto_interval_interval\\\"\n          },\n          {\n            \\\"selected\\\": true,\n            \\\"text\\\": \\\"5s\\\",\n            \\\"value\\\": \\\"5s\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"30s\\\",\n            \\\"value\\\": \\\"30s\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1m\\\",\n            \\\"value\\\": \\\"1m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"10m\\\",\n            \\\"value\\\": \\\"10m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"30m\\\",\n            \\\"value\\\": \\\"30m\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1h\\\",\n            \\\"value\\\": \\\"1h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"6h\\\",\n            \\\"value\\\": \\\"6h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"12h\\\",\n            \\\"value\\\": \\\"12h\\\"\n          },\n          {\n            \\\"selected\\\": false,\n            \\\"text\\\": \\\"1d\\\",\n            \\\"value\\\": \\\"1d\\\"\n          }\n        ],\n        \\\"query\\\": \\\"5s,30s,1m,10m,30m,1h,6h,12h,1d\\\",\n        \\\"refresh\\\": 2,\n        \\\"skipUrlSync\\\": false,\n        \\\"type\\\": \\\"interval\\\"\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"MySQL\\\",\n        \\\"definition\\\": \\\"select cluster_name from cluster_info where cluster_type = \\\\\\\"Redis_Cluster\\\\\\\"\\\",\n        \\\"hide\\\": 0,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"Cluster\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"cluster\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"select cluster_name from cluster_info where cluster_type = \\\\\\\"Redis_Cluster\\\\\\\"\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"MySQL\\\",\n        \\\"definition\\\": \\\"select role from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster)\\\",\n        \\\"hide\\\": 0,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"Role\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"role\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"select role from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"MySQL\\\",\n        \\\"definition\\\": \\\"select hostname from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster)  and  role in ($role)\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"host\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"host\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"select hostname from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster)  and  role in ($role)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"MySQL\\\",\n        \\\"definition\\\": \\\"select hostname from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster) and role=\\\\\\\"master\\\\\\\"\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"master\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"master\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"select hostname from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster) and role=\\\\\\\"master\\\\\\\"\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"MySQL\\\",\n        \\\"definition\\\": \\\"select hostname from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster) and role=\\\\\\\"slave\\\\\\\"\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"slave\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"slave\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"select hostname from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster) and role=\\\\\\\"slave\\\\\\\"\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      },\n      {\n        \\\"allValue\\\": null,\n        \\\"current\\\": {\n          \\\"text\\\": \\\"All\\\",\n          \\\"value\\\": [\n            \\\"$__all\\\"\n          ]\n        },\n        \\\"datasource\\\": \\\"MySQL\\\",\n        \\\"definition\\\": \\\"select hostname from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster)\\\",\n        \\\"hide\\\": 2,\n        \\\"includeAll\\\": true,\n        \\\"index\\\": -1,\n        \\\"label\\\": \\\"all_host\\\",\n        \\\"multi\\\": true,\n        \\\"name\\\": \\\"all_host\\\",\n        \\\"options\\\": [],\n        \\\"query\\\": \\\"select hostname from cluster_info where cluster_type  = \\\\\\\"Redis_Cluster\\\\\\\"  and cluster_name in ($cluster)\\\",\n        \\\"refresh\\\": 1,\n        \\\"regex\\\": \\\"\\\",\n        \\\"skipUrlSync\\\": false,\n        \\\"sort\\\": 0,\n        \\\"tagValuesQuery\\\": \\\"\\\",\n        \\\"tags\\\": [],\n        \\\"tagsQuery\\\": \\\"\\\",\n        \\\"type\\\": \\\"query\\\",\n        \\\"useTags\\\": false\n      }\n    ]\n  },\n  \\\"time\\\": {\n    \\\"from\\\": \\\"now-5m\\\",\n    \\\"to\\\": \\\"now\\\"\n  },\n  \\\"timepicker\\\": {\n    \\\"refresh_intervals\\\": [\n      \\\"5s\\\",\n      \\\"10s\\\",\n      \\\"30s\\\",\n      \\\"1m\\\",\n      \\\"5m\\\",\n      \\\"15m\\\",\n      \\\"30m\\\",\n      \\\"1h\\\",\n      \\\"2h\\\",\n      \\\"1d\\\"\n    ]\n  },\n  \\\"timezone\\\": \\\"\\\",\n  \\\"title\\\": \\\"Redis_Cluster_V1.35\\\",\n  \\\"uid\\\": \\\"5FfBHG3Zz\\\",\n  \\\"variables\\\": {\n    \\\"list\\\": []\n  },\n  \\\"version\\\": 14\n}<\/pre>\n<div><\/div>\n<\/div>\n<\/div>\n<p>\u4ece\u4e0a\u9762\u7684\u56fe\u4e2d\u770b\u5230\uff0c\u5176\u4e2dOPS\u7684Legend\u5c55\u793a\u7684\u662f\u8868\u8fbe\u5f0f\uff0c\u6309\u7167\u8001\u7248\u672c\u7684\u7684redis_exporter\uff0c\u4e0d\u80fd\u81ea\u5b9a\u4e49label\uff0c\u867d\u7136\u76d1\u63a7\u4e0d\u540c\u5bc6\u7801\u591a\u5b9e\u4f8b\u6bd4\u8f83\u65b9\u4fbf\uff0c\u4f46\u4f5c\u56fe\u7684\u65f6\u5019\u4e0d\u597d\u770b\u3002\u76ee\u524d\u60f3\u5230\u4e8c\u79cd\u65b9\u6cd5\uff1a<br \/>\n1. \u4f7f\u7528\u63a8\u8350\u7684\u4e00\u4e2a\u5b9e\u4f8b\u4e00\u4e2aexporter\u3002<br \/>\n2. \u5728\u8001\u7248\u672credis_exporter\u57fa\u7840\u4e0a\uff0c\u5bf9\u6307\u6807\u8fdb\u884c\u91cd\u65b0\u5b9a\u4e49\u548c\u6253label\uff0c\u6b64\u65f6\u9700\u8981\u81ea\u5df1\u7f16\u5199\u4e00\u4e2aexporter\u6765\u5bf9\u6307\u6807\u8fdb\u884c\u91cd\u5199\u3002<br \/>\n\u5982\uff1a\u8001\u7248\u672c\u7684redis_exporter\u90e8\u7f72\u5728137\u8fd9\u53f0\u673a\u5668\u4e0a\uff0c\u5e76\u4e14\u7aef\u53e3\u4e3a9128\uff1a\u4f7f\u7528python\u7684<a href=\\\"https:\/\/github.com\/prometheus\/client_python\/blob\/master\/README.md\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">prometheus_client<\/a>\u6a21\u5757\u7f16\u5199\u4e00\u4e2a\u670d\u52a1\uff085000\uff09\u6765\u6293\u53d6\u6570\u636e\u8fdb\u884clabel\u4fee\u6539\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_043b4d33-d2fe-453f-bf21-d2125f93b28d\\\">\n<pre>#!\/bin\/env python\n# -*- encoding: utf-8 -*-\nimport requests\nimport re\nimport json\nimport MySQLdb\nimport prometheus_client\nfrom prometheus_client import Gauge,Counter\nfrom flask import Response, Flask\napp = Flask(__name__)\ndef redis_cluster_metadata():\n    conn = MySQLdb.connect(host=\\\"192.168.163.133\\\", port=3306, user=\\\"dba\\\", passwd=\\\"dba\\\", db=\\'test\\', charset=\\'utf8\\')\n    query = \\'\\'\\'\nSELECT\n    concat( host_ip, \\':\\', PORT ) ip,\n    cluster_name\nFROM\n    cluster_info\nWHERE\n    cluster_type = \\'Redis_Cluster\\'\n    \\'\\'\\'\n    cursor = conn.cursor()\n    cursor.execute(query)\n    conn.commit()\n    result = cursor.fetchall()\n    cursor.close()\n    return result\ndef gauge_init(pair):\n    result = {}\n    for k, v in pair.items():\n        name = v\n        documentation = v\n        label = (\\\"alias\\\", \\\"addr\\\", \\\"cluster\\\")\n        gauge = Gauge(name, documentation, label)\n        result[v] = gauge\n    return result\ndef redis_cluster_metric(pair):\n    url = \\\"http:\/\/192.168.163.137:9128\/metrics\\\"\n    pat = re.compile(r\\'addr=\\\"(.*)\\\",alias=\\\"(.*)\\\"\\')\n    request_data = requests.get(url, timeout=3)\n    metrics_info = request_data.text\n    metrics_dict = {}\n    for metrics in metrics_info.split(\\'\\\\n\\'):\n        for metric in pair:\n            if metrics.find(metric) == 0:\n                value = metrics.split(\\' \\')[1]\n                pat_info = pat.search(metrics)\n                ip = pat_info.group(1)\n                alias = pat_info.group(2)\n                metrics_dict.setdefault(ip, {})\n                metrics_dict[ip][\\'alias\\'] = alias\n                metrics_dict[ip][metrics_pair[metric]] = value\n    return metrics_dict\n@app.route(\\\"\/metrics\\\")\ndef prometheus_for_redis():\n    redis_cluster_info = redis_cluster_metadata()\n    metadata_dict = {}\n    for redis_cluster_item in redis_cluster_info:\n        ip,clustername = redis_cluster_item\n        metadata_dict[ip] = clustername\n    metrics_dict = redis_cluster_metric(metrics_pair)\n    for k,v in metrics_dict.items():\n        for _k,_v in metadata_dict.items():\n            if k == _k:\n                metrics_dict[k][\\'cluster\\'] = _v\n    print metadata_dict\n    print metrics_dict\n    result = \\'\\'\n    for metric_name, gauge in gauge_dict.items():\n        for k, v in metrics_dict.items():\n            if k in metadata_dict.keys():\n                gauge.labels(alias=v[\\'alias\\'], addr=k, cluster=v[\\'cluster\\']).set(v[metric_name])\n        result = result + prometheus_client.generate_latest(gauge).decode()\n    return Response(result, mimetype=\\\"text\/plain\\\")\nif __name__ == \\\"__main__\\\":\n    metrics_pair = {\\'redis_commands_processed_total\\': \\'cluster_redis_commands_processed_total\\',\\'redis_cluster_size\\':\\'cluster_redis_cluster_size\\'}\n    gauge_dict = gauge_init(metrics_pair)\n    app.run(host=\\\"0.0.0.0\\\")<\/pre>\n<\/div>\n<\/div>\n<p>\u5927\u81f4\u7684\u601d\u60f3\u662f\uff1a\u5bf9\u539f\u59cb\u7684redis_exporter\u7684\u6307\u6807\u8fdb\u884c\u8fc7\u6ee4\uff0c\u62ff\u51fa\u9700\u8981\u7684\u6307\u6807\u8fdb\u884clabel\u6307\u5b9a\uff0c\u6700\u540e\u4f5c\u4e3a\u4e00\u4e2a\u5bfc\u51fa\u5668\u670d\u52a1\u542f\u52a8\uff085000\uff09\uff0c\u5e76\u914d\u7f6e\u5230prometheus.yml\u91cc\uff1a<\/p>\n<div>\n<div id=\\\"cnblogs_code_open_e10085fb-2e6a-4d6e-95bb-7fe6a25e1db8\\\">\n<pre>global:\n  scrape_interval:     5s # Set the scrape interval to every 15 seconds. Default is every 1 minute.\n  evaluation_interval: 5s # Evaluate rules every 15 seconds. The default is every 1 minute.\nalerting:\n  alertmanagers:\n  - static_configs:\n    - targets:\n      # - alertmanager:9093\nrule_files:\n  # - \\\"first_rules.yml\\\"\n  # - \\\"second_rules.yml\\\"\nscrape_configs:\n  - job_name: \\'prometheus\\'\n    static_configs:\n    - targets: [\\'192.168.163.137:9099\\']\n  - job_name: \\'node_exporter\\'\n    scrape_interval: 1s\n    file_sd_configs:\n      - files:\n        - targets\/node\/node*.yml\n        refresh_interval: 10s\n    relabel_configs:\n    - action: replace\n      source_labels: [\\'__address__\\']\n      regex: (.*):(.*)\n      replacement: $1\n      target_label: hostname\n    - action: labeldrop\n      regex: __meta_filepath\n  - job_name: \\'redis_exporter\\'\n    scrape_interval: 1s\n    static_configs:\n    - targets: [\\'192.168.163.137:9128\\']\n  - job_name: \\'redisx_exporter\\'\n    metrics_path: \/redisx_cluster\/metrics\n    scrape_interval: 1s\n    static_configs:\n    - targets: [\\'192.168.163.137:5000\\']<\/pre>\n<div><a title=\\\"\u590d\u5236\u4ee3\u7801\\\"><img src=\\\"https:\/\/common.cnblogs.com\/images\/copycode.gif\\\" alt=\\\"\u590d\u5236\u4ee3\u7801\\\" \/><\/a><\/div>\n<\/div>\n<\/div>\n<div><img id=\\\"code_img_opened_2c35dddd-2f8d-4fc3-a43d-20ec31df3ff3\\\" src=\\\"https:\/\/images.cnblogs.com\/OutliningIndicators\/ExpandedBlockStart.gif\\\" alt=\\\"\\\" \/><\/p>\n<div id=\\\"cnblogs_code_open_2c35dddd-2f8d-4fc3-a43d-20ec31df3ff3\\\">\n<pre>\/Users\/jinyizhou [18:51:25] ~$ curl http:\/\/0.0.0.0:5000\/metrics\n# HELP cluster_redis_commands_processed_total cluster_redis_commands_processed_total\n# TYPE cluster_redis_commands_processed_total gauge\ncluster_redis_commands_processed_total{addr=\\\"192.168.163.137:6380\\\",alias=\\\"test2\\\",cluster=\\\"testX\\\"} 1796512.0\ncluster_redis_commands_processed_total{addr=\\\"192.168.163.133:6380\\\",alias=\\\"test3\\\",cluster=\\\"testX\\\"} 1592838.0\ncluster_redis_commands_processed_total{addr=\\\"192.168.163.134:6380\\\",alias=\\\"test4\\\",cluster=\\\"testX\\\"} 1592053.0<\/pre>\n<\/div>\n<\/div>\n<p>\u6700\u540eOPS\u7684Legend\u663e\u793a\u4e3a\uff1a<br \/>\n<img src=\\\"https:\/\/img2020.cnblogs.com\/blog\/163084\/202004\/163084-20200423201741861-888290651.png\\\" alt=\\\"\\\" width=\\\"501\\\" height=\\\"229\\\" \/><\/p>\n<h3>\u5c0f\u7ed3\uff1a<\/h3>\n<p>\u4e0a\u9762\u7684\u7ed9\u51fa\u7684\u8fd9\u4e9b\u53c2\u8003\u6307\u6807\u4ee5\u53ca\u76d1\u63a7\u9879\u53ef\u4ee5\u6309\u7167\u9700\u8981\u81ea\u884c\u8fdb\u884c\u8c03\u6574\uff0c\u5982\u679c\u9700\u8981\u505a\u7c7b\u4f3credis_exporter\u7684\u5bfc\u51fa\u5668\uff0c\u53ef\u4ee5\u8fde\u63a5Redis\u5404\u4e2a\u8282\u70b9\u8fdb\u884c\u91c7\u6837\u3002\u5177\u4f53\u7684\u4e00\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u53c2\u8003<a href=\\\"https:\/\/github.com\/prometheus\/client_python\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">client_python<\/a>\u3002\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf4\u660e \u90e8\u7f72Prometheus+Grafana\u00a0\u6765\u76d1\u63a7Redis \u90e8\u7f72 \u4e86\u89e3\u4e86Prometheus\u662f\u901a\u8fc7\u62c9\u53d6\u7684 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"http:\/\/www.weijing.co\/?p=1874\"> <span class=\"screen-reader-text\">Prometheus\u76d1\u63a7 Redis &amp; Redis Cluster \u8bf4\u660e<\/span> \u67e5\u770b\u5168\u6587 &raquo;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[138,122],"tags":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"mailpoet_newsletter_max":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false,"shop_catalog":false,"shop_single":false,"shop_thumbnail":false},"uagb_author_info":{"display_name":"weijing","author_link":"http:\/\/www.weijing.co\/?author=4"},"uagb_comment_info":1,"uagb_excerpt":"\u8bf4\u660e \u90e8\u7f72Prometheus+Grafana\u00a0\u6765\u76d1\u63a7Redis \u90e8\u7f72 \u4e86\u89e3\u4e86Prometheus\u662f\u901a\u8fc7\u62c9\u53d6\u7684&hellip;","_links":{"self":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts\/1874"}],"collection":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1874"}],"version-history":[{"count":0,"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts\/1874\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1874"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}