{
  "annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations & Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},
  "author":"Ruohang Feng (rh@vonng.com)",
  "description":"Redis Overview Dashboard",
  "editable":true,
  "fiscalYearStartMonth":0,
  "graphTooltip":0,
  "id":null,
  "license":"https://pigsty.io/docs/about/license/",
  "links":[{"asDropdown":false,"icon":"external link","includeVars":true,"keepTime":true,"tags":["REDIS"],"title":"Redis","type":"dashboards"},{"asDropdown":true,"icon":"external link","includeVars":true,"keepTime":true,"tags":["REDIS"],"title":"Redis","type":"dashboards"}],
  "panels":[
    {"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":162,"panels":[],"title":"Overview","type":"row"},
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"links":[{"title":"Node Overview","url":"/d/node-overview?${__url_time_range}"}],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"#3e668f","value":0}]}},"overrides":[]},
      "gridPos":{"h":3,"w":9,"x":0,"y":1},
      "id":158,
      "options":{"colorMode":"background","graphMode":"none","justifyMode":"center","orientation":"auto","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{},"textMode":"name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"exemplar":false,"expr":"1","format":"table","instant":true,"interval":"","legendFormat":"","queryType":"measurements","refId":"A"}],
      "transformations":[{"id":"organize","options":{"excludeByName":{"Time":true},"indexByName":{},"renameByName":{"Time":"","Value":"${job}"}}}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{
        "defaults":{"color":{"mode":"thresholds"},"mappings":[],"max":2.5,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"#3e668f","value":0}]}},
        "overrides":[
          { "matcher":{"id":"byRegexp","options":"/Mem|Disk|Data/"},"properties":[{"id":"unit","value":"decbytes"},{"id":"decimals","value":1}]                                      },{ "matcher":{"id":"byName","options":"Cluster"}          ,"properties":[{"id":"links","value":[{"title":"Redis Cluster","url":"/d/redis-cluster?${__url_time_range}"}]}]   },
          { "matcher":{"id":"byName","options":"Instance"}         ,"properties":[{"id":"links","value":[{"title":"Redis Instance","url":"/d/redis-instance?${__url_time_range}"}]}] },{ "matcher":{"id":"byName","options":"Node"}             ,"properties":[{"id":"links","value":[]}]                                                                         },
          { "matcher":{"id":"byName","options":"DB"}               ,"properties":[{"id":"links","value":[]}]                                                                         }
        ]
      },
      "gridPos":{"h":3,"w":15,"x":9,"y":1},
      "id":140,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"center","orientation":"vertical","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":14},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"exemplar":false,"expr":"count(count by (cls) (redis_up{job=\"$job\"}))"                                                                      ,"hide":false,"instant":true ,"interval":"","legendFormat":"Cluster" ,"queryType":"measurements","refId":"A" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"exemplar":false,"expr":"count(count by (ip) (label_replace(redis_up{job=\"$job\"}, \"ip\", \"$1\", \"instance\", \"(.*)\\\\:\\\\d+\")))"     ,"hide":false,"instant":true ,"interval":"","legendFormat":"Node"    ,"queryType":"measurements","refId":"L" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"exemplar":false,"expr":"count(redis_up{job=\"$job\"})"                                                                                       ,"hide":false,"instant":true ,"interval":"","legendFormat":"Instance","queryType":"measurements","refId":"I" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"exemplar":false,"expr":"count(redis_instance_info{job=\"$job\", role=\"master\"})"                                                           ,"hide":false,"instant":true ,"interval":"","legendFormat":"Primary" ,"queryType":"measurements","refId":"G" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"exemplar":false,"expr":"count(redis_instance_info{job=\"$job\", role=\"slave\"})"                                                            ,"hide":false,"instant":true ,"interval":"","legendFormat":"Replica" ,"queryType":"measurements","refId":"H" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"exemplar":false,"expr":"count(node_load1{job=\"$job\"})"                                                                                     ,             "instant":true ,"interval":"","legendFormat":"Node"    ,"queryType":"measurements","refId":"X" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"exemplar":false,"expr":"count((count by (db) (redis_db_keys{})))"                                                                            ,"hide":false,"instant":true ,"interval":"","legendFormat":"DB"      ,"queryType":"measurements","refId":"C" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"exemplar":false,"expr":"sum(node:cls:cpu_count{job=\"$job\"})"                                                                               ,"hide":false,"instant":true ,"interval":"","legendFormat":"Core"    ,"queryType":"measurements","refId":"E" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"exemplar":false,"expr":"sum(max by (ip) (label_replace(redis_total_system_memory_bytes, \"ip\", \"$1\", \"instance\", \"(.*)\\\\:\\\\d+\")))","hide":false,"instant":true ,"interval":"","legendFormat":"Mem"     ,"queryType":"measurements","refId":"J" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"exemplar":false,"expr":"sum(redis_memory_max_bytes{job=\"$job\"})"                                                                           ,"hide":false,"instant":false,"interval":"","legendFormat":"Mem Max" ,"queryType":"measurements","refId":"F" }
      ],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{
        "defaults":{
          "color":{"mode":"thresholds"},
          "decimals":2,
          "links":[{"title":"PGSQL Cluster ${__field.labels.cls}","url":"/d/redis-cluster?var-cls=${__field.labels.cls}&${__url_time_range}"}],
          "mappings":[{"options":{"-1":{"color":"gray","index":1,"text":"N/A"}},"type":"value"},{"options":{"match":"null+nan","result":{"color":"gray","index":0,"text":"No Data"}},"type":"special"}],
          "thresholds":{"mode":"absolute","steps":[{"color":"#3e668f","value":0},{"color":"#346f36cc","value":0.1},{"color":"#fcdb72","value":0.3},{"color":"#f79f64","value":0.5},{"color":"red","value":0.7},{"color":"#b783af","value":0.9},{"color":"text","value":1}]},
          "unit":"percentunit"
        },
        "overrides":[]
      },
      "gridPos":{"h":14,"w":9,"x":0,"y":4},
      "id":150,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{},"textMode":"value_and_name","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"exemplar":false,"expr":"redis:cls:cpu_usage{job=\"$job\"}","interval":"","legendFormat":"{{ cls }}","refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{
        "defaults":{"color":{"mode":"thresholds"},"custom":{"align":"center","cellOptions":{"type":"auto"},"footer":{"reducers":[]},"inspect":false},"mappings":[],"max":1.2,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"#e3e3e3e0","value":0}]}},
        "overrides":[
          {"matcher":{"id":"byName","options":"Instance"},"properties":[{"id":"links","value":[{"title":"Redis Instance ${__data.fields.Instance}","url":"/d/redis-instance?var-id=${__data.fields.Instance}&${__url_time_range}"}]},{"id":"custom.minWidth","value":180}]},
          {"matcher":{"id":"byName","options":"Address"},"properties":[{"id":"custom.width","value":160},{"id":"links","value":[{"title":"Redis Instance : ${__data.fields.Address} (${__data.fields.Instance})","url":"/d/redis-instance?var-id=${__data.fields.Address}&${__url_time_range}"}]}]},
          {
            "matcher":{"id":"byName","options":"Mode"},
            "properties":[
              { "id":"custom.width"      ,"value":80                                                                                                                                                                                                                                                                                                       },
              { "id":"mappings"          ,"value":[{"options":{"cluster":{"color":"#3e668f","index":1,"text":"Cluster"},"sentinel":{"color":"#f79f64","index":2,"text":"Sentinel"},"standalone":{"color":"#346f36cc","index":0,"text":"Normal"}},"type":"value"},{"options":{"match":"null","result":{"color":"transparent","index":3}},"type":"special"}] },
              { "id":"custom.cellOptions","value":{"mode":"gradient","type":"color-background"}                                                                                                                                                                                                                                                            },
              { "id":"links"             ,"value":[]                                                                                                                                                                                                                                                                                                       }
            ]
          },{
            "matcher":{"id":"byName","options":"CPU"},
            "properties":[
              { "id":"custom.cellOptions","value":{"mode":"lcd","type":"gauge"}                                                                                                                                                                                                                        },
              { "id":"color"             ,"value":{"mode":"thresholds"}                                                                                                                                                                                                                                },
              { "id":"unit"              ,"value":"percentunit"                                                                                                                                                                                                                                        },
              { "id":"custom.width"      ,"value":150                                                                                                                                                                                                                                                  },
              { "id":"thresholds"        ,"value":{"mode":"absolute","steps":[{"color":"#3e668f","value":0},{"color":"#346f36cc","value":0.1},{"color":"#fcdb72","value":0.3},{"color":"#f79f64","value":0.5},{"color":"red","value":0.7},{"color":"#b783af","value":0.9},{"color":"text","value":1}]} },
              { "id":"decimals"          ,"value":1                                                                                                                                                                                                                                                    }
            ]
          },{
            "matcher":{"id":"byName","options":"MEM"},
            "properties":[
              { "id":"custom.width"      ,"value":120                                                                                                                                                                                                                                                  },
              { "id":"unit"              ,"value":"percentunit"                                                                                                                                                                                                                                        },
              { "id":"custom.cellOptions","value":{"mode":"lcd","type":"gauge"}                                                                                                                                                                                                                        },
              { "id":"thresholds"        ,"value":{"mode":"absolute","steps":[{"color":"#3e668f","value":0},{"color":"#346f36cc","value":0.1},{"color":"#f79f64","value":0.3},{"color":"#f79f64","value":0.5},{"color":"red","value":0.7},{"color":"#b783af","value":0.9},{"color":"text","value":1}]} },
              { "id":"decimals"          ,"value":1                                                                                                                                                                                                                                                    }
            ]
          },{
            "matcher":{"id":"byName","options":"Role"},
            "properties":[
              { "id":"custom.width"      ,"value":80                                                                                                                                                                                                                                                                                                                                     },
              { "id":"custom.cellOptions","value":{"mode":"gradient","type":"color-background"}                                                                                                                                                                                                                                                                                          },
              { "id":"mappings"          ,"value":[{"options":{"master":{"color":"#3e668f","index":0,"text":"primary"},"slave":{"color":"#346f36cc","index":1,"text":"replica"}},"type":"value"},{"options":{"match":"null+nan","result":{"color":"transparent","index":2}},"type":"special"},{"options":{"match":"empty","result":{"color":"transparent","index":3}},"type":"special"}] }
            ]
          },
          {"matcher":{"id":"byName","options":"Version"},"properties":[{"id":"custom.width","value":70}]},
          {
            "matcher":{"id":"byName","options":"QPS"},
            "properties":[{"id":"custom.width","value":60},{"id":"custom.cellOptions","value":{"type":"color-text"}},{"id":"thresholds","value":{"mode":"absolute","steps":[{"color":"#3e668f","value":0},{"color":"#346f36cc","value":10},{"color":"#EAB839","value":30000},{"color":"red","value":100000},{"color":"#b783af","value":200000},{"color":"text","value":400000}]}},{"id":"unit","value":"locale"},{"id":"decimals"}]
          },
          {"matcher":{"id":"byName","options":"IP"},"properties":[{"id":"custom.width","value":110},{"id":"links","value":[{"title":"Node Instance : ${__data.fields.IP}","url":"/d/node-instance?var-ip=${__data.fields.IP}&${__url_time_range}"}]}]},
          {
            "matcher":{"id":"byName","options":"Spec"},
            "properties":[
              { "id":"unit"              ,"value":"bytes"                                                                                                                                                                            },
              { "id":"custom.width"      ,"value":80                                                                                                                                                                                 },
              { "id":"thresholds"        ,"value":{"mode":"absolute","steps":[{"color":"#929592","value":0},{"color":"#3e668f","value":1024000000},{"color":"#346f36cc","value":4096000000},{"color":"#f79f64","value":8192000000}]} },
              { "id":"custom.cellOptions","value":{"type":"color-background"}                                                                                                                                                        },
              { "id":"mappings"          ,"value":[{"options":{"match":"null+nan","result":{"color":"transparent","index":0,"text":"N/A"}},"type":"special"}]                                                                        }
            ]
          },
          {"matcher":{"id":"byName","options":"Cluster"},"properties":[{"id":"custom.minWidth","value":150},{"id":"links","value":[{"title":"Redis Cluster : ${__data.fields.Cluster}","url":"/d/redis-cluster?var-cls=${__data.fields.Cluster}&${__url_time_range}"}]}]},
          {"matcher":{"id":"byName","options":"Alive"},"properties":[{"id":"mappings","value":[{"options":{"0":{"color":"#cc4637d9","index":0,"text":"Down"},"1":{"color":"#346f36cc","index":1,"text":"Up"}},"type":"value"}]},{"id":"custom.cellOptions","value":{"type":"color-background"}},{"id":"custom.width","value":60}]}
        ]
      },
      "gridPos":{"h":14,"w":15,"x":9,"y":4},
      "id":161,
      "options":{"cellHeight":"sm","showHeader":true,"sortBy":[{"desc":false,"displayName":"Instance"}]},
      "pluginVersion":"12.3.0",
      "targets":[
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"redis_up{job=\"$job\"}"              ,"format":"table",             "instant":true,"interval":"","legendFormat":"","refId":"A" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"redis:ins:cpu_usage{job=\"$job\"}"   ,"format":"table","hide":false,"instant":true,"interval":"","legendFormat":"","refId":"B" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"redis:ins:mem_usage{job=\"$job\"}"   ,"format":"table","hide":false,"instant":true,"interval":"","legendFormat":"","refId":"C" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"redis:ins:qps{job=\"$job\"}"         ,"format":"table","hide":false,"instant":true,"interval":"","legendFormat":"","refId":"D" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"redis_memory_max_bytes{job=\"$job\"}","format":"table","hide":false,"instant":true,"interval":"","legendFormat":"","refId":"E" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"redis_instance_info{job=\"$job\"}"   ,"format":"table","hide":false,"instant":true,"interval":"","legendFormat":"","refId":"F" }
      ],
      "transformations":[
        {"id":"seriesToColumns","options":{"byField":"ins"}},
        {
          "id":"organize",
          "options":{
            "excludeByName":{
              "Time":true,
              "Time 1":true,
              "Time 2":true,
              "Time 3":true,
              "Time 4":true,
              "Time 5":true,
              "Time 6":true,
              "Value #A":false,
              "Value #B":false,
              "Value #F":true,
              "__name__":true,
              "__name__ 1":true,
              "__name__ 2":true,
              "__name__ 3":true,
              "__name__ 4":true,
              "__name__ 5":true,
              "__name__ 6":true,
              "cls":false,
              "cls 1":false,
              "cls 2":true,
              "cls 3":true,
              "cls 4":true,
              "cls 5":true,
              "cls 6":true,
              "ins":false,
              "instance":false,
              "instance 1":false,
              "instance 2":true,
              "instance 3":true,
              "instance 4":true,
              "instance 5":true,
              "instance 6":true,
              "ip 1":false,
              "ip 2":true,
              "ip 3":true,
              "ip 4":true,
              "ip 5":true,
              "ip 6":true,
              "job":true,
              "job 1":true,
              "job 2":true,
              "job 3":true,
              "job 4":true,
              "job 5":true,
              "job 6":true,
              "maxmemory_policy":true,
              "os":true,
              "process_id":true,
              "redis_build_id":true,
              "redis_mode":false,
              "run_id":true,
              "tcp_port":true
            },
            "indexByName":{
              "Time 1":20,
              "Time 2":23,
              "Time 3":27,
              "Time 4":31,
              "Time 5":39,
              "Time 6":45,
              "Value #A":0,
              "Value #B":7,
              "Value #C":8,
              "Value #D":10,
              "Value #E":9,
              "Value #F":51,
              "__name__ 1":21,
              "__name__ 2":24,
              "__name__ 3":28,
              "__name__ 4":32,
              "__name__ 5":40,
              "__name__ 6":46,
              "cls 1":3,
              "cls 2":12,
              "cls 3":19,
              "cls 4":33,
              "cls 5":41,
              "cls 6":47,
              "ins":4,
              "instance 1":5,
              "instance 2":25,
              "instance 3":29,
              "instance 4":34,
              "instance 5":42,
              "instance 6":48,
              "ip 1":6,
              "ip 2":36,
              "ip 3":37,
              "ip 4":38,
              "ip 5":43,
              "ip 6":49,
              "job 1":22,
              "job 2":26,
              "job 3":30,
              "job 4":35,
              "job 5":44,
              "job 6":50,
              "maxmemory_policy":13,
              "os":14,
              "process_id":15,
              "redis_build_id":16,
              "redis_mode":1,
              "redis_version":11,
              "role":2,
              "run_id":17,
              "tcp_port":18
            },
            "renameByName":{"Value #A":"Alive","Value #B":"CPU","Value #C":"MEM","Value #D":"QPS","Value #E":"Spec","cls 1":"Cluster","ins":"Instance","instance":"","instance 1":"Address","instance 3":"","ip":"IP","ip 1":"IP","job 1":"","redis_mode":"Mode","redis_version":"Version","role":"Role"}
          }
        }
      ],
      "type":"table"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{
        "defaults":{"color":{"mode":"thresholds"},"decimals":0,"links":[],"mappings":[],"max":1,"min":0,"noValue":"OK","thresholds":{"mode":"absolute","steps":[{"color":"#3e668f","value":0},{"color":"#fcdb72","value":1},{"color":"#f79f64","value":4},{"color":"#b783af","value":8},{"color":"text","value":16}]},"unit":"none"},
        "overrides":[{"matcher":{"id":"byFrameRefID","options":"A"},"properties":[{"id":"links","value":[{"targetBlank":true,"title":"Pigsty Alertmanager","url":"/alertmgr/"}]}]},{"matcher":{"id":"byFrameRefID","options":"B"},"properties":[{"id":"links","value":[{"title":"Pigsty AlertManager","url":"/alertmgr/"}]}]}]
      },
      "gridPos":{"h":6,"w":4,"x":0,"y":18},
      "id":159,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["last"],"fields":"","values":false},"showPercentChange":false,"text":{},"textMode":"auto","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"count(ALERTS{alertstate=\"firing\", job=\"$job\"}) or on() vector(0)",             "interval":"","legendFormat":"Firing Alert" ,"range":true,"refId":"A" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"count(ALERTS{alertstate=\"pending\", job=\"$job\"})"                 ,"hide":false,"interval":"","legendFormat":"Pending Alert","range":true,"refId":"B" }
      ],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{
        "defaults":{
          "color":{"mode":"thresholds"},
          "decimals":0,
          "links":[{"targetBlank":true,"title":"AlertInfo ${__field.labels.alertname}","url":"/alertmgr/#/alerts?filter=%7Balertname%3D%22${__field.labels.alertname}%22%7D"}],
          "mappings":[],
          "max":1,
          "min":0,
          "noValue":"OK",
          "thresholds":{"mode":"absolute","steps":[{"color":"#3e668f","value":0},{"color":"#fcdb72","value":1},{"color":"#f79f64","value":2},{"color":"#b783af","value":4}]},
          "unit":"none"
        },
        "overrides":[]
      },
      "gridPos":{"h":6,"w":5,"x":4,"y":18},
      "id":160,
      "options":{"colorMode":"background","graphMode":"area","justifyMode":"auto","orientation":"horizontal","percentChangeColorMode":"standard","reduceOptions":{"calcs":["last"],"fields":"","values":false},"showPercentChange":false,"text":{"titleSize":12},"textMode":"auto","wideLayout":true},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"count(ALERTS{alertstate=\"firing\", job=\"$job\"}) by (alertname, severity)","interval":"","legendFormat":"{{ alertname }}","range":true,"refId":"A"}],
      "type":"stat"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "description":"",
      "fieldConfig":{
        "defaults":{
          "color":{"mode":"palette-classic"},
          "custom":{
            "axisBorderShow":false,
            "axisCenteredZero":false,
            "axisColorMode":"text",
            "axisLabel":"",
            "axisPlacement":"hidden",
            "axisSoftMax":1.2,
            "axisSoftMin":0,
            "barAlignment":0,
            "barWidthFactor":0.6,
            "drawStyle":"line",
            "fillOpacity":70,
            "gradientMode":"none",
            "hideFrom":{"graph":false,"legend":false,"tooltip":false,"viz":false},
            "insertNulls":false,
            "lineInterpolation":"stepBefore",
            "lineWidth":0,
            "pointSize":1,
            "scaleDistribution":{"type":"linear"},
            "showPoints":"never",
            "showValues":false,
            "spanNulls":false,
            "stacking":{"group":"A","mode":"normal"},
            "thresholdsStyle":{"mode":"off"}
          },
          "decimals":0,
          "links":[
            { "targetBlank":true,"title":"AlertInfo ${__field.labels.alertname} on Cluster ${__field.labels.cls}","url":"/alertmgr/#/alerts?filter=%7Bcls%3D%22${__field.labels.cls}%22%2C%20alertname%3D%22${__field.labels.alertname}%22%7D"       },
            { "targetBlank":true,"title":"Silence ${__field.labels.alertname} on Cluster ${__field.labels.cls}"  ,"url":"/alertmgr/#/silences/new?filter=%7Bcls%3D%22${__field.labels.cls}%22%2C%20alertname%3D%22${__field.labels.alertname}%22%7D" },
            {                    "title":"Redis Cluster for ${__field.labels.cls} : Alerts"                      ,"url":"/d/redis-cluster?var-cls=${__field.labels.cls}&${__url_time_range}"                                                         }
          ],
          "mappings":[],
          "min":0,
          "noValue":"No Alert",
          "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc","value":0}]},
          "unit":"none"
        },
        "overrides":[{"matcher":{"id":"byFrameRefID","options":"A"},"properties":[{"id":"custom.fillOpacity","value":66}]},{"matcher":{"id":"byType","options":"time"},"properties":[{"id":"custom.axisPlacement","value":"auto"}]}]
      },
      "gridPos":{"h":6,"w":15,"x":9,"y":18},
      "id":146,
      "options":{"legend":{"calcs":["last"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"hideZeros":false,"mode":"multi","sort":"none"}},
      "pluginVersion":"12.3.0",
      "targets":[
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"exemplar":false,"expr":"sum without (ins,instance,datname) (ALERTS{alertstate=\"firing\", job=\"$job\"})",            "interval":"","legendFormat":"[{{ severity }}] {{alertname}} @ {{ cls }}","refId":"A" },
        { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"exemplar":false,"expr":"0"                                                                               ,"hide":true,"interval":"","legendFormat":"Alert"                                     ,"refId":"C" }
      ],
      "title":"Firing Alerts",
      "type":"timeseries"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{
        "defaults":{
          "color":{"mode":"palette-classic"},
          "custom":{
            "axisBorderShow":false,
            "axisCenteredZero":false,
            "axisColorMode":"text",
            "axisLabel":"",
            "axisPlacement":"auto",
            "barAlignment":0,
            "barWidthFactor":0.6,
            "drawStyle":"line",
            "fillOpacity":0,
            "gradientMode":"none",
            "hideFrom":{"legend":false,"tooltip":false,"viz":false},
            "insertNulls":false,
            "lineInterpolation":"linear",
            "lineWidth":1,
            "pointSize":5,
            "scaleDistribution":{"type":"linear"},
            "showPoints":"auto",
            "showValues":false,
            "spanNulls":false,
            "stacking":{"group":"A","mode":"none"},
            "thresholdsStyle":{"mode":"area"}
          },
          "links":[{"title":"Redis Cluster ${__field.labels.cls}","url":"/d/redis-cluster?var-cls=${__field.labels.cls}&${__url_time_range}"}],
          "mappings":[{"options":{"-1":{"color":"gray","index":1,"text":"N/A"}},"type":"value"},{"options":{"match":"null+nan","result":{"color":"gray","index":0,"text":"No Data"}},"type":"special"}],
          "thresholds":{"mode":"absolute","steps":[{"color":"#3e668f","value":0},{"color":"green","value":0.1},{"color":"yellow","value":0.3},{"color":"orange","value":0.5},{"color":"red","value":0.7},{"color":"purple","value":0.9},{"color":"text","value":1}]},
          "unit":"percentunit"
        },
        "overrides":[]
      },
      "gridPos":{"h":6,"w":9,"x":0,"y":24},
      "id":156,
      "options":{"legend":{"calcs":["last"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"hideZeros":false,"mode":"single","sort":"none"}},
      "pluginVersion":"12.3.0",
      "targets":[{"exemplar":false,"expr":"redis:cls:cpu_usage{job=\"$job\"} != -1","interval":"","legendFormat":"{{ cls }}","refId":"A"}],
      "type":"timeseries"
    },
    {
      "datasource":{"type":"prometheus","uid":"ds-prometheus"},
      "fieldConfig":{
        "defaults":{
          "color":{"mode":"palette-classic"},
          "custom":{
            "axisBorderShow":false,
            "axisCenteredZero":false,
            "axisColorMode":"text",
            "axisLabel":"",
            "axisPlacement":"auto",
            "barAlignment":0,
            "barWidthFactor":0.6,
            "drawStyle":"line",
            "fillOpacity":0,
            "gradientMode":"none",
            "hideFrom":{"legend":false,"tooltip":false,"viz":false},
            "insertNulls":false,
            "lineInterpolation":"linear",
            "lineWidth":1,
            "pointSize":5,
            "scaleDistribution":{"type":"linear"},
            "showPoints":"auto",
            "showValues":false,
            "spanNulls":false,
            "stacking":{"group":"A","mode":"none"},
            "thresholdsStyle":{"mode":"area"}
          },
          "links":[{"title":"Redis Instance ${__field.labels.ins}","url":"/d/redis-instance?var-ins=${__field.labels.ins}&${__url_time_range}"}],
          "mappings":[{"options":{"-1":{"color":"gray","index":1,"text":"N/A"}},"type":"value"},{"options":{"match":"null+nan","result":{"color":"gray","index":0,"text":"No Data"}},"type":"special"}],
          "thresholds":{"mode":"absolute","steps":[{"color":"#3e668f","value":0},{"color":"green","value":0.1},{"color":"yellow","value":0.3},{"color":"orange","value":0.5},{"color":"red","value":0.7},{"color":"purple","value":0.9},{"color":"text","value":1}]},
          "unit":"percentunit"
        },
        "overrides":[]
      },
      "gridPos":{"h":6,"w":15,"x":9,"y":24},
      "id":154,
      "options":{"legend":{"calcs":["last"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"hideZeros":false,"mode":"single","sort":"none"}},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"avg_over_time(redis:ins:cpu_usage{job=\"$job\"}[3m])","interval":"","legendFormat":"{{ ins }}","range":true,"refId":"A"}],
      "type":"timeseries"
    },
    {
      "collapsed":true,
      "gridPos":{"h":1,"w":24,"x":0,"y":30},
      "id":25,
      "panels":[
        {
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "insertNulls":false,
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "decimals":3,
              "links":[],
              "mappings":[],
              "max":1,
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"percentunit"
            },
            "overrides":[{"matcher":{"id":"byName","options":"max"},"properties":[{"id":"color","value":{"fixedColor":"#BF1B00","mode":"fixed"}}]}]
          },
          "gridPos":{"h":7,"w":12,"x":0,"y":31},
          "id":43,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"exemplar":false,"expr":"redis:cls:cpu_usage","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{ cls }}","metric":"","refId":"A","step":240,"target":""}],
          "title":"CPU Usage",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "insertNulls":false,
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "links":[],
              "mappings":[],
              "min":0,
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"percentunit"
            },
            "overrides":[{"matcher":{"id":"byName","options":"max"},"properties":[{"id":"color","value":{"fixedColor":"#BF1B00","mode":"fixed"}}]}]
          },
          "gridPos":{"h":7,"w":12,"x":12,"y":31},
          "id":53,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"exemplar":false,"expr":"redis:cls:cpu_usage_child","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{ cls }}","metric":"","refId":"A","step":240,"target":""}],
          "title":"CPU Usage (Child)",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":true,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":2,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "insertNulls":false,
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "links":[],
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"bytes"
            },
            "overrides":[{"matcher":{"id":"byName","options":"In"},"properties":[{"id":"color","value":{"fixedColor":"#cc4637d9","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"Out"},"properties":[{"id":"color","value":{"fixedColor":"#3e668f","mode":"fixed"}}]}]
          },
          "gridPos":{"h":7,"w":12,"x":0,"y":59},
          "id":10,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"redis:cls:tx{}"  ,"format":"time_series","interval":"","intervalFactor":2,"legendFormat":"\u25b2{{ cls }}","range":true,"refId":"B","step":240 },
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","expr":"- redis:cls:rx{}","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"\u25bc{{ cls }}","range":true,"refId":"A","step":240 }
          ],
          "title":"Network I/O",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "insertNulls":false,
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "links":[],
              "mappings":[],
              "min":0,
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"percentunit"
            },
            "overrides":[{"matcher":{"id":"byName","options":"max"},"properties":[{"id":"color","value":{"fixedColor":"#BF1B00","mode":"fixed"}}]}]
          },
          "gridPos":{"h":7,"w":12,"x":12,"y":59},
          "id":7,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"redis:cls:mem_usage","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{ cls }}","metric":"","refId":"A","step":240,"target":""}],
          "title":"Memory Usage",
          "type":"timeseries"
        }
      ],
      "title":"OS",
      "type":"row"
    },
    {
      "collapsed":true,
      "gridPos":{"h":1,"w":24,"x":0,"y":31},
      "id":121,
      "panels":[
        {
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":0,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":true,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "decimals":0,
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"none"
            },
            "overrides":[
              { "matcher":{"id":"byName","options":"TPS"}     ,"properties":[{"id":"color","value":{"fixedColor":"#A352CC","mode":"fixed"}},{"id":"custom.lineWidth","value":2}]                                                                 },
              { "matcher":{"id":"byName","options":"\u00b5"}  ,"properties":[{"id":"color","value":{"fixedColor":"#3274D9","mode":"fixed"}},{"id":"custom.lineWidth","value":1},{"id":"custom.lineStyle","value":{"dash":[3,10],"fill":"dash"}}] },
              { "matcher":{"id":"byName","options":"+\u03c3"} ,"properties":[{"id":"custom.fillBelowTo","value":"-\u03c3"},{"id":"custom.lineWidth","value":0}]                                                                                  },
              { "matcher":{"id":"byName","options":"-\u03c3"} ,"properties":[{"id":"custom.lineWidth","value":0}]                                                                                                                                },
              { "matcher":{"id":"byName","options":"+3\u03c3"},"properties":[{"id":"color","value":{"fixedColor":"rgba(250, 210, 128, 0.3)","mode":"fixed"}},{"id":"custom.fillBelowTo","value":"-3\u03c3"},{"id":"custom.lineWidth","value":0}] },
              { "matcher":{"id":"byName","options":"-3\u03c3"},"properties":[{"id":"custom.lineWidth","value":0}]                                                                                                                                }
            ]
          },
          "gridPos":{"h":7,"w":12,"x":0,"y":119},
          "id":137,
          "options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[
            { "exemplar":false,"expr":"redis:env:qps"                             ,"interval":"","legendFormat":"QPS"     ,"refId":"A" },{ "exemplar":false,"expr":"redis:env:qps_mu"                          ,"interval":"","legendFormat":"\u00b5"  ,"refId":"B" },{ "exemplar":false,"expr":"redis:env:qps_mu + redis:env:qps_sigma"    ,"interval":"","legendFormat":"+\u03c3" ,"refId":"C" },
            { "exemplar":false,"expr":"redis:env:qps_mu - redis:env:qps_sigma"    ,"interval":"","legendFormat":"-\u03c3" ,"refId":"D" },{ "exemplar":false,"expr":"redis:env:qps_mu + 3 * redis:env:qps_sigma","interval":"","legendFormat":"+3\u03c3","refId":"E" },{ "exemplar":false,"expr":"redis:env:qps_mu - 3 * redis:env:qps_sigma","interval":"","legendFormat":"-3\u03c3","refId":"F" }
          ],
          "title":"QPS",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":0,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":true,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"s"
            },
            "overrides":[
              { "matcher":{"id":"byName","options":"TPS"}     ,"properties":[{"id":"color","value":{"fixedColor":"#A352CC","mode":"fixed"}},{"id":"custom.lineWidth","value":2}]                                                                 },
              { "matcher":{"id":"byName","options":"\u00b5"}  ,"properties":[{"id":"color","value":{"fixedColor":"#3274D9","mode":"fixed"}},{"id":"custom.lineWidth","value":1},{"id":"custom.lineStyle","value":{"dash":[3,10],"fill":"dash"}}] },
              { "matcher":{"id":"byName","options":"+\u03c3"} ,"properties":[{"id":"custom.fillBelowTo","value":"-\u03c3"},{"id":"custom.lineWidth","value":0}]                                                                                  },
              { "matcher":{"id":"byName","options":"-\u03c3"} ,"properties":[{"id":"custom.lineWidth","value":0}]                                                                                                                                },
              { "matcher":{"id":"byName","options":"+3\u03c3"},"properties":[{"id":"color","value":{"fixedColor":"rgba(250, 210, 128, 0.3)","mode":"fixed"}},{"id":"custom.fillBelowTo","value":"-3\u03c3"},{"id":"custom.lineWidth","value":0}] },
              { "matcher":{"id":"byName","options":"-3\u03c3"},"properties":[{"id":"custom.lineWidth","value":0}]                                                                                                                                }
            ]
          },
          "gridPos":{"h":7,"w":12,"x":12,"y":119},
          "id":138,
          "options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[
            { "exemplar":false,"expr":"redis:env:rt"                            ,"interval":"","legendFormat":"QPS"     ,"refId":"A" },{ "exemplar":false,"expr":"redis:env:rt_mu"                         ,"interval":"","legendFormat":"\u00b5"  ,"refId":"B" },{ "exemplar":false,"expr":"redis:env:rt_mu + redis:env:rt_sigma"    ,"interval":"","legendFormat":"+\u03c3" ,"refId":"C" },
            { "exemplar":false,"expr":"redis:env:rt_mu - redis:env:rt_sigma"    ,"interval":"","legendFormat":"-\u03c3" ,"refId":"D" },{ "exemplar":false,"expr":"redis:env:rt_mu + 3 * redis:env:rt_sigma","interval":"","legendFormat":"+3\u03c3","refId":"E" },{ "exemplar":false,"expr":"redis:env:rt_mu - 3 * redis:env:rt_sigma","interval":"","legendFormat":"-3\u03c3","refId":"F" }
          ],
          "title":"Overall Response Time",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"short"
            },
            "overrides":[]
          },
          "gridPos":{"h":7,"w":12,"x":0,"y":126},
          "id":123,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"redis:cls:qps","interval":"","legendFormat":"{{ cls }}","refId":"A"}],
          "title":"Cluster QPS",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":100,
                "gradientMode":"opacity",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":0,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"normal"},
                "thresholdsStyle":{"mode":"off"}
              },
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"short"
            },
            "overrides":[]
          },
          "gridPos":{"h":7,"w":12,"x":12,"y":126},
          "id":135,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"redis:cls:qps","interval":"","legendFormat":"{{ cls }}","refId":"A"}],
          "title":"Cluster QPS (Stacked)",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"s"
            },
            "overrides":[]
          },
          "gridPos":{"h":7,"w":12,"x":0,"y":133},
          "id":124,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"exemplar":false,"expr":"redis:cls:rt","interval":"","legendFormat":"{{ cls }}","refId":"A"}],
          "title":"Cluster RT",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":94,
                "gradientMode":"opacity",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":0,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"normal"},
                "thresholdsStyle":{"mode":"off"}
              },
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"s"
            },
            "overrides":[]
          },
          "gridPos":{"h":7,"w":12,"x":12,"y":133},
          "id":134,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"sum by (cls) (redis:cls:cmd_time)","interval":"","legendFormat":"{{ cls }}","refId":"A"}],
          "title":"Cluster Time (Stacked)",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":50,
                "gradientMode":"opacity",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"short"
            },
            "overrides":[]
          },
          "gridPos":{"h":7,"w":12,"x":0,"y":140},
          "id":132,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"exemplar":false,"expr":"redis:env:cmd_qps","interval":"","legendFormat":"{{ cmd }}","refId":"A"}],
          "title":"Command QPS",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":50,
                "gradientMode":"opacity",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":0,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"normal"},
                "thresholdsStyle":{"mode":"off"}
              },
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"short"
            },
            "overrides":[]
          },
          "gridPos":{"h":7,"w":12,"x":12,"y":140},
          "id":125,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"exemplar":false,"expr":"redis:env:cmd_qps","interval":"","legendFormat":"{{ cmd }}","refId":"A"}],
          "title":"Command QPS (Stacked)",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":50,
                "gradientMode":"opacity",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"s"
            },
            "overrides":[]
          },
          "gridPos":{"h":7,"w":12,"x":0,"y":147},
          "id":133,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"exemplar":false,"expr":"redis:env:cmd_rt","interval":"","legendFormat":"{{ cmd }}","refId":"A"}],
          "title":"Command RT",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":50,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":0,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"normal"},
                "thresholdsStyle":{"mode":"off"}
              },
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"s"
            },
            "overrides":[]
          },
          "gridPos":{"h":7,"w":12,"x":12,"y":147},
          "id":126,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"exemplar":false,"expr":"redis:env:cmd_time","interval":"","legendFormat":"{{ cmd }}","refId":"A"}],
          "title":"Command Time (Stacked)",
          "type":"timeseries"
        }
      ],
      "title":"Activity",
      "type":"row"
    },
    {
      "collapsed":true,
      "gridPos":{"h":1,"w":24,"x":0,"y":32},
      "id":47,
      "panels":[
        {
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":50,
                "gradientMode":"opacity",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "decimals":0,
              "links":[],
              "mappings":[],
              "min":0,
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"none"
            },
            "overrides":[]
          },
          "gridPos":{"h":7,"w":12,"x":0,"y":155},
          "id":50,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"redis:cls:clients","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{ cls }}","refId":"A","step":240,"target":""}],
          "title":"Clients",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"auto",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "links":[],
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]}
            },
            "overrides":[]
          },
          "gridPos":{"h":7,"w":12,"x":12,"y":155},
          "id":75,
          "options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"sum by (cls) (redis_connected_slaves{})","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{ cls }}","metric":"","refId":"B","step":240}],
          "title":"Connected Replicas",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":50,
                "gradientMode":"opacity",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"stepAfter",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "links":[],
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"none"
            },
            "overrides":[]
          },
          "gridPos":{"h":8,"w":12,"x":0,"y":162},
          "id":51,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"redis:cls:conn_rate","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{ cls }}","refId":"A","step":240,"target":""}],
          "title":"Received Conn Rate",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"auto",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "links":[],
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]}
            },
            "overrides":[]
          },
          "gridPos":{"h":8,"w":12,"x":12,"y":162},
          "id":90,
          "options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"topk(100, sum by (cls)(increase(redis_connections_received_total{}[1d])))","format":"time_series","instant":true,"interval":"","intervalFactor":2,"legendFormat":"{{instance}}","refId":"A","step":240,"target":""}],
          "title":"Incoming Connection 1 Day",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":50,
                "gradientMode":"opacity",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "decimals":0,
              "links":[],
              "mappings":[],
              "min":0,
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"none"
            },
            "overrides":[]
          },
          "gridPos":{"h":6,"w":12,"x":0,"y":170},
          "id":88,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"redis:cls:conn_reject","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{ cls }}","refId":"A","step":240,"target":""}],
          "title":"Reject Connection Rate",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":50,
                "gradientMode":"opacity",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "decimals":0,
              "links":[],
              "mappings":[],
              "min":0,
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"none"
            },
            "overrides":[]
          },
          "gridPos":{"h":6,"w":12,"x":12,"y":170},
          "id":54,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"redis:cls:blocked_clients","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{ cls }}","metric":"","refId":"B","step":240}],
          "title":"Blocked Client Rate",
          "type":"timeseries"
        }
      ],
      "title":"Session",
      "type":"row"
    },
    {
      "collapsed":true,
      "gridPos":{"h":1,"w":24,"x":0,"y":33},
      "id":29,
      "panels":[
        {
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "links":[],
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"short"
            },
            "overrides":[
              { "matcher":{"id":"byName","options":"evicts"}                                                                        ,"properties":[{"id":"color","value":{"fixedColor":"#890F02","mode":"fixed"}}] },{ "matcher":{"id":"byName","options":"memcached_items_evicted_total{instance=\"172.17.0.1:9150\",job=\"Prometheus\"}"},"properties":[{"id":"color","value":{"fixedColor":"#890F02","mode":"fixed"}}] },
              { "matcher":{"id":"byName","options":"reclaims"}                                                                      ,"properties":[{"id":"color","value":{"fixedColor":"#3F6833","mode":"fixed"}}] }
            ]
          },
          "gridPos":{"h":7,"w":12,"x":0,"y":177},
          "id":8,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"redis:cls:key_expire{}","format":"time_series","hide":false,"interval":"","intervalFactor":2,"legendFormat":"{{ cls }}","metric":"","refId":"A","step":240,"target":""}],
          "title":"Key Expired",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":60,
                "gradientMode":"opacity",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"normal"},
                "thresholdsStyle":{"mode":"off"}
              },
              "links":[],
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"none"
            },
            "overrides":[]
          },
          "gridPos":{"h":7,"w":12,"x":12,"y":177},
          "id":5,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"sum (redis_db_keys{}) by (db)","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{ db }} ","refId":"A","step":240,"target":""}],
          "title":"Keys (per DB)",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "links":[],
              "mappings":[],
              "min":0,
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"short"
            },
            "overrides":[
              { "matcher":{"id":"byName","options":"evicts"}                                                                        ,"properties":[{"id":"color","value":{"fixedColor":"#890F02","mode":"fixed"}}] },{ "matcher":{"id":"byName","options":"memcached_items_evicted_total{instance=\"172.17.0.1:9150\",job=\"Prometheus\"}"},"properties":[{"id":"color","value":{"fixedColor":"#890F02","mode":"fixed"}}] },
              { "matcher":{"id":"byName","options":"reclaims"}                                                                      ,"properties":[{"id":"color","value":{"fixedColor":"#3F6833","mode":"fixed"}}] }
            ]
          },
          "gridPos":{"h":7,"w":12,"x":0,"y":184},
          "id":87,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"redis:cls:key_evict{}","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{ cls }}","refId":"B","step":240}],
          "title":"Key Evicted",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":60,
                "gradientMode":"opacity",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "links":[],
              "mappings":[],
              "min":0,
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"none"
            },
            "overrides":[]
          },
          "gridPos":{"h":7,"w":12,"x":12,"y":184},
          "id":86,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"sum by (cls) (redis_db_keys{})","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{ cls }} ","refId":"A","step":240,"target":""}],
          "title":"Keys (per Cluster)",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "links":[],
              "mappings":[],
              "min":0,
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"s"
            },
            "overrides":[
              { "matcher":{"id":"byName","options":"evicts"}                                                                        ,"properties":[{"id":"color","value":{"fixedColor":"#890F02","mode":"fixed"}}] },{ "matcher":{"id":"byName","options":"memcached_items_evicted_total{instance=\"172.17.0.1:9150\",job=\"Prometheus\"}"},"properties":[{"id":"color","value":{"fixedColor":"#890F02","mode":"fixed"}}] },
              { "matcher":{"id":"byName","options":"reclaims"}                                                                      ,"properties":[{"id":"color","value":{"fixedColor":"#3F6833","mode":"fixed"}}] }
            ]
          },
          "gridPos":{"h":7,"w":12,"x":0,"y":191},
          "id":58,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"avg by (cls) (redis_db_avg_ttl_seconds{})","format":"time_series","hide":false,"interval":"","intervalFactor":2,"legendFormat":"{{ cls }}","metric":"","refId":"A","step":240,"target":""}],
          "title":"Average TTL",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "decimals":2,
              "links":[],
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"percentunit"
            },
            "overrides":[]
          },
          "gridPos":{"h":7,"w":12,"x":12,"y":191},
          "id":69,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"redis:cls:key_hit_rate{}","format":"time_series","hide":false,"interval":"","intervalFactor":2,"legendFormat":"{{ cls }}","metric":"","refId":"A","step":240,"target":""}],
          "title":"Key Hit Rate",
          "type":"timeseries"
        }
      ],
      "title":"Database",
      "type":"row"
    },
    {
      "collapsed":true,
      "gridPos":{"h":1,"w":24,"x":0,"y":34},
      "id":45,
      "panels":[
        {
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "insertNulls":false,
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"off"}
              },
              "decimals":1,
              "links":[],
              "mappings":[],
              "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc"},{"color":"red","value":80}]},
              "unit":"bytes"
            },
            "overrides":[]
          },
          "gridPos":{"h":9,"w":12,"x":0,"y":64},
          "id":57,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"sum by (cls) (redis:ins:lsn_rate{})","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{ cls }}","metric":"A","refId":"A","step":240,"target":""}],
          "title":"LSN Rate",
          "type":"timeseries"
        },{
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "fieldConfig":{
            "defaults":{
              "color":{"mode":"palette-classic"},
              "custom":{
                "axisCenteredZero":false,
                "axisColorMode":"text",
                "axisLabel":"",
                "axisPlacement":"auto",
                "barAlignment":0,
                "drawStyle":"line",
                "fillOpacity":0,
                "gradientMode":"none",
                "hideFrom":{"legend":false,"tooltip":false,"viz":false},
                "insertNulls":false,
                "lineInterpolation":"linear",
                "lineWidth":1,
                "pointSize":5,
                "scaleDistribution":{"type":"linear"},
                "showPoints":"never",
                "spanNulls":false,
                "stacking":{"group":"A","mode":"none"},
                "thresholdsStyle":{"mode":"line+area"}
              },
              "links":[],
              "mappings":[],
              "min":0,
              "thresholds":{"mode":"absolute","steps":[{"color":"transparent"},{"color":"red","value":500}]},
              "unit":"s"
            },
            "overrides":[]
          },
          "gridPos":{"h":9,"w":12,"x":12,"y":64},
          "id":56,
          "options":{"legend":{"calcs":["lastNotNull"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},
          "pluginVersion":"8.2.5",
          "targets":[{"expr":"redis:cls:fork_time","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{ cls }}","metric":"A","refId":"A","step":240,"target":""}],
          "title":"Latest Fork Time",
          "type":"timeseries"
        }
      ],
      "title":"Persist",
      "type":"row"
    },
    {
      "collapsed":true,
      "gridPos":{"h":1,"w":24,"x":0,"y":35},
      "id":163,
      "panels":[
        {
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "description":"Masters: The number of masters this sentinel is watching\n\nTILT: Sentinel is in TILT mode? Which will do nothing.\n\nRunScripts: Number of scripts in execution right now\n\nFailureFlag: Failures simulations",
          "fieldConfig":{
            "defaults":{"color":{"mode":"thresholds"},"custom":{"align":"center","cellOptions":{"type":"auto"},"inspect":false},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green"}]}},
            "overrides":[
              { "matcher":{"id":"byName","options":"Cluster"} ,"properties":[{"id":"links","value":[{"title":"Redis Sentinel Cluster : ${__data.fields.Cluster}","url":"/d/redis-cluster?var-cls=${__data.fields.Cluster}&${__url_time_range}"}]},{"id":"custom.minWidth","value":120}]     },
              { "matcher":{"id":"byName","options":"Instance"},"properties":[{"id":"links","value":[{"title":"Redis Sentinel Instance : ${__data.fields.Instance}","url":"/d/redis-instance?var-ins=${__data.fields.Instance}&${__url_time_range}"}]},{"id":"custom.minWidth","value":180}] },
              { "matcher":{"id":"byName","options":"IP"}      ,"properties":[{"id":"links","value":[{"title":"Redis Node : ${__data.fields.IP}","url":"/d/node-instance?var-id=${__data.fields.IP}&${__url_time_range}"}]},{"id":"custom.minWidth","value":110}]                            },
              { "matcher":{"id":"byName","options":"Address"} ,"properties":[{"id":"links","value":[{"title":"Redis Sentinel Instance : ${__data.fields.Instance}","url":"/d/redis-instance?var-id=${__data.fields.Instance}&${__url_time_range}"}]}]                                       },
              { "matcher":{"id":"byType","options":"number"}  ,"properties":[{"id":"custom.width","value":90}]                                                                                                                                                                              },
              { "matcher":{"id":"byName","options":"TILT"}    ,"properties":[{"id":"mappings","value":[{"options":{"0":{"color":"#346f36cc","index":0,"text":"OK"}},"type":"value"}]},{"id":"custom.cellOptions","value":{"type":"color-text"}}]                                            }
            ]
          },
          "gridPos":{"h":8,"w":13,"x":0,"y":86},
          "id":164,
          "options":{"cellHeight":"sm","footer":{"countRows":false,"fields":"","reducer":["sum"],"show":false},"showHeader":true},
          "pluginVersion":"10.1.1",
          "targets":[
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"redis_sentinel_masters"                              ,"format":"table",             "instant":true,"legendFormat":"__auto","range":false,"refId":"A" },
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ins) (redis_sentinel_tilt)"                  ,"format":"table","hide":false,"instant":true,"legendFormat":"__auto","range":false,"refId":"B" },
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ins) (redis_sentinel_running_scripts)"       ,"format":"table","hide":false,"instant":true,"legendFormat":"__auto","range":false,"refId":"C" },
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"max by (ins) (redis_sentinel_simulate_failure_flags)","format":"table","hide":false,"instant":true,"legendFormat":"__auto","range":false,"refId":"D" }
          ],
          "title":"Sentinels",
          "transformations":[
            {"id":"joinByField","options":{"byField":"ins","mode":"outer"}},
            {
              "id":"organize",
              "options":{
                "excludeByName":{"Time 1":true,"Time 2":true,"Time 3":true,"Time 4":true,"__name__":true,"job":true},
                "indexByName":{"Time 1":8,"Time 2":9,"Time 3":10,"Time 4":11,"Value #A":4,"Value #B":5,"Value #C":6,"Value #D":7,"__name__":12,"cls":0,"ins":1,"instance":3,"ip":2,"job":13},
                "renameByName":{"Value #A":"Masters","Value #B":"TILT","Value #C":"RunScripts","Value #D":"FailureFlag","cls":"Cluster","ins":"Instance","instance":"Address","ip":"IP"}
              }
            }
          ],
          "type":"table"
        },
        {
          "datasource":{"type":"prometheus","uid":"ds-prometheus"},
          "description":"Cluster Leader that being monitored by sentinels",
          "fieldConfig":{
            "defaults":{"color":{"mode":"thresholds"},"custom":{"align":"center","cellOptions":{"type":"auto"},"inspect":false},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green"}]}},
            "overrides":[
              {"matcher":{"id":"byName","options":"Cluster"},"properties":[{"id":"links","value":[{"title":"Redis Sentinel Cluster : ${__data.fields.Cluster}","url":"/d/redis-cluster?var-cls=${__data.fields.Cluster}&${__url_time_range}"}]},{"id":"custom.minWidth","value":120}]},
              {"matcher":{"id":"byName","options":"Instance"},"properties":[{"id":"links","value":[{"title":"Redis Sentinel Instance : ${__data.fields.Instance}","url":"/d/redis-instance?var-ins=${__data.fields.Instance}&${__url_time_range}"}]},{"id":"custom.minWidth","value":180}]},
              {"matcher":{"id":"byName","options":"IP"},"properties":[{"id":"links","value":[{"title":"Redis Node : ${__data.fields.IP}","url":"/d/node-instance?var-id=${__data.fields.IP}&${__url_time_range}"}]},{"id":"custom.minWidth","value":110}]},
              {"matcher":{"id":"byName","options":"Leader Address"},"properties":[{"id":"links","value":[{"title":"Redis Leader Instance : ${__data.fields[\"Leader Address\"]}","url":"/d/redis-instance?var-id=${__data.fields[\"Leader Address\"]}&${__url_time_range}"}]}]},{"matcher":{"id":"byType","options":"number"},"properties":[{"id":"custom.width","value":90}]},
              {"matcher":{"id":"byName","options":"QuorumOK"},"properties":[{"id":"mappings","value":[{"options":{"0":{"color":"#cc4637d9","index":0,"text":"DOWN"},"1":{"color":"#346f36cc","index":1,"text":"OK"}},"type":"value"}]},{"id":"custom.cellOptions","value":{"type":"color-text"}}]},
              {
                "matcher":{"id":"byName","options":"Status"},
                "properties":[
                  { "id":"mappings"          ,"value":[{"options":{"odown":{"color":"#b783af","index":2,"text":"Objective Down"},"ok":{"color":"#346f36cc","index":0,"text":"OK"},"sdown":{"color":"#cc4637d9","index":1,"text":"Subjective Down"}},"type":"value"}] },
                  { "id":"thresholds"        ,"value":{"mode":"absolute","steps":[{"color":"#cc4637d9"}]}                                                                                                                                                            },
                  { "id":"custom.cellOptions","value":{"type":"color-text"}                                                                                                                                                                                          },
                  { "id":"custom.width"      ,"value":120                                                                                                                                                                                                            }
                ]
              }
            ]
          },
          "gridPos":{"h":8,"w":11,"x":13,"y":86},
          "id":165,
          "options":{"cellHeight":"sm","footer":{"countRows":false,"fields":"","reducer":["sum"],"show":false},"showHeader":true},
          "pluginVersion":"10.1.1",
          "targets":[
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"min by (master_name, master_address,master_status) (redis_sentinel_master_status)","format":"table",             "instant":true,"legendFormat":"__auto","range":false,"refId":"A" },
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"min by (master_name) (redis_sentinel_master_slaves)"                              ,"format":"table","hide":false,"instant":true,"legendFormat":"__auto","range":false,"refId":"B" },
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"min by (master_name) (redis_sentinel_master_ok_slaves)"                           ,"format":"table","hide":false,"instant":true,"legendFormat":"__auto","range":false,"refId":"C" },
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"min by (master_name) (redis_sentinel_master_sentinels)"                           ,"format":"table","hide":false,"instant":true,"legendFormat":"__auto","range":false,"refId":"D" },
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"min by (master_name) (redis_sentinel_master_ok_sentinels)"                        ,"format":"table","hide":false,"instant":true,"legendFormat":"__auto","range":false,"refId":"E" },
            { "datasource":{"type":"prometheus","uid":"ds-prometheus"},"editorMode":"code","exemplar":false,"expr":"min by (master_name) (redis_sentinel_master_ckquorum_status)"                     ,"format":"table","hide":false,"instant":true,"legendFormat":"__auto","range":false,"refId":"F" }
          ],
          "title":"Masters",
          "transformations":[
            {"id":"joinByField","options":{"byField":"master_name","mode":"outer"}},
            {
              "id":"organize",
              "options":{
                "excludeByName":{"Time":true,"Time 1":true,"Time 2":true,"Time 3":true,"Time 4":true,"Value #A":true,"__name__":true,"job":true},
                "indexByName":{"Time":4,"Value #A":0,"master_address":1,"master_name":2,"master_status":3},
                "renameByName":{"Time 3":"","Time 4":"","Value #A":"Masters","Value #B":"Replicas","Value #C":"ReplicaOK","Value #D":"Sentinels","Value #E":"SentinelOK","Value #F":"QuorumOK","cls":"Cluster","ins":"Instance","instance":"Address","ip":"IP","master_address":"Leader Address","master_name":"Cluster","master_status":"Status"}
              }
            }
          ],
          "type":"table"
        }
      ],
      "title":"Sentinel",
      "type":"row"
    },
    {"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":36},"id":166,"panels":[],"title":"Logs","type":"row"},
    {
      "datasource":{"type":"victoriametrics-logs-datasource","uid":"ds-vlogs"},
      "description":"Redis Log Events",
      "fieldConfig":{
        "defaults":{
          "color":{"fixedColor":"#346f36cc","mode":"palette-classic"},
          "custom":{
            "axisBorderShow":false,
            "axisCenteredZero":false,
            "axisColorMode":"text",
            "axisLabel":"",
            "axisPlacement":"auto",
            "barAlignment":0,
            "barWidthFactor":0.6,
            "drawStyle":"bars",
            "fillOpacity":100,
            "gradientMode":"none",
            "hideFrom":{"graph":false,"legend":false,"tooltip":false,"viz":false},
            "insertNulls":false,
            "lineInterpolation":"linear",
            "lineWidth":1,
            "pointSize":5,
            "scaleDistribution":{"type":"linear"},
            "showPoints":"never",
            "showValues":false,
            "spanNulls":true,
            "stacking":{"group":"A","mode":"normal"},
            "thresholdsStyle":{"mode":"off"}
          },
          "decimals":0,
          "mappings":[],
          "thresholds":{"mode":"absolute","steps":[{"color":"#346f36cc","value":0}]},
          "unit":"none"
        },
        "overrides":[]
      },
      "gridPos":{"h":6,"w":24,"x":0,"y":37},
      "id":168,
      "interval":"1s",
      "options":{"legend":{"calcs":["sum"],"displayMode":"table","placement":"right","showLegend":true},"tooltip":{"hideZeros":false,"mode":"single","sort":"none"}},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"victoriametrics-logs-datasource","uid":"ds-vlogs"},"editorMode":"code","expr":"job:redis | stats by (cls) count() as count","legendFormat":"{{ cls }}","queryType":"statsRange","refId":"A"}],
      "title":"Redis Logs",
      "type":"timeseries"
    },
    {
      "datasource":{"type":"victoriametrics-logs-datasource","uid":"ds-vlogs"},
      "description":"",
      "gridPos":{"h":15,"w":24,"x":0,"y":43},
      "id":167,
      "options":{"dedupStrategy":"none","enableInfiniteScrolling":false,"enableLogDetails":true,"prettifyLogMessage":false,"showCommonLabels":false,"showControls":false,"showLabels":true,"showTime":true,"sortOrder":"Descending","wrapLogMessage":false},
      "pluginVersion":"12.3.0",
      "targets":[{"datasource":{"type":"victoriametrics-logs-datasource","uid":"ds-vlogs"},"editorMode":"code","expr":"job:redis","instant":false,"legendFormat":"{{ ins }}","queryType":"instant","range":true,"refId":"A"}],
      "type":"logs"
    }
  ],
  "preload":false,
  "refresh":"",
  "schemaVersion":42,
  "tags":["Pigsty","REDIS","Overview","HOME"],
  "templating":{"list":[{"current":{},"datasource":{"type":"prometheus","uid":"ds-prometheus"},"definition":"label_values(redis_up, job)","description":"Environment identifier (redis by default)","hide":2,"includeAll":false,"label":"Environment","name":"job","options":[],"query":{"query":"label_values(redis_up, job)","refId":"StandardVariableQuery"},"refresh":1,"regex":"","type":"query"}]},
  "time":{"from":"now-1h","to":"now"},
  "timepicker":{"refresh_intervals":["10s","30s","1m","5m","15m","30m","1h","2h","1d"]},
  "timezone":"browser",
  "title":"Redis Overview",
  "uid":"redis-overview",
  "version":1,
  "weekStart":""
}