Grafana dashboard: Redis
Description: Predefined dashboards to observe any Redis database using Redis Data Source. Requires Grafana 7.1+.

# Redis Datasource Dashboards

This dashboard lets you observe any Redis database using the [Redis Data Source for Grafana](https://grafana.com/grafana/plugins/redis-datasource/).

The Redis Data Source for Grafana is a plug-in that lets you connect to any Redis database, on-premises or in the cloud. You get out-of-the-box predefined dashboards, and you can build customized dashboards to monitor Redis and application data.

## Deployments

These dashboards work with any Redis database on any platform.

If you’re looking for Prometheus-based metrics for [Redis Enterprise](https://docs.redis.com/latest/rs/) or [Redis Cloud](https://docs.redis.com/latest/rc/), see the following dashboards:
* [Redis Enterprise Cluster Dashboard](https://grafana.com/grafana/dashboards/18405-cluster-status-dashboard/)
* [Redis Cloud Subscription Dashboard](https://grafana.com/grafana/dashboards/18406-subscription-status-dashboard/)

## Available metrics

This dashboard exposes the following metrics:

* Operations per second
* Connected clients
* Number of Keys, Expired and Evicted Keys
* Network (Inbound, Outbound)
* Memory (Used Memory, Used Memory Peak and LUA, Memory Limit and Total System memory)
* Uptime and Version
* Eviction Policy
* Client connections
* Command statistics
* Slow queries log
* Redis cluster

## Requirements

Requires Grafana 7.1+ with a new backend plug-in platform to the support the Redis Data Source for Grafana.

## Documentation

Please take a look at the [documentation](https://redisgrafana.github.io/redis-datasource/overview/) to learn more about this plug-in and its features.


{
  "__inputs": [
    {
      "name": "DS_REDIS",
      "label": "Redis",
      "description": "Redis Data Source",
      "type": "datasource",
      "pluginId": "redis-datasource",
      "pluginName": "Redis"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "bargauge",
      "name": "Bar gauge",
      "version": ""
    },
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.1.4"
    },
    {
      "type": "datasource",
      "id": "redis-datasource",
      "name": "Redis",
      "version": "1.2.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "Predefined dashboards to observe any Redis database using Redis Data Source. Requires Grafana 7.1+.",
  "editable": true,
  "gnetId": 12776,
  "graphTooltip": 0,
  "id": null,
  "links": [
    {
      "icon": "external link",
      "tags": [],
      "targetBlank": true,
      "title": "Redis.io",
      "type": "link",
      "url": "https://redis.io/"
    }
  ],
  "panels": [
    {
      "collapsed": false,
      "datasource": "${DS_REDIS}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 56,
      "panels": [],
      "repeat": "redis",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "title": "Main",
      "type": "row"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "decimals": 0,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              },
              {
                "color": "dark-yellow",
                "value": 22000
              },
              {
                "color": "dark-red",
                "value": 25000
              }
            ]
          },
          "unit": "ops"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 3,
        "x": 0,
        "y": 1
      },
      "id": 24,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "/.*/",
          "values": true
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.4",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "targets": [
        {
          "command": "info",
          "query": "",
          "refId": "A",
          "section": "stats",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Ops/sec",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "instantaneous_ops_per_sec"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "decimals": 1,
          "mappings": [],
          "max": 11000,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              },
              {
                "color": "dark-yellow",
                "value": 8000
              },
              {
                "color": "dark-red",
                "value": 10000
              }
            ]
          },
          "unit": "KBs"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 3,
        "y": 1
      },
      "id": 25,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "/.*/",
          "values": true
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true
      },
      "pluginVersion": "7.1.4",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "targets": [
        {
          "command": "info",
          "query": "",
          "refId": "A",
          "section": "stats",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Network",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "instantaneous_input_kbps",
                "instantaneous_output_kbps"
              ]
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "instantaneous_input_kbps": "Input",
              "instantaneous_output_kbps": "Output"
            }
          }
        }
      ],
      "type": "gauge"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "mappings": [],
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              }
            ]
          },
          "unit": "decbytes"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Used Memory"
            },
            "properties": [
              {
                "id": "decimals",
                "value": 2
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Used Memory, Peak"
            },
            "properties": [
              {
                "id": "decimals",
                "value": 2
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Used Memory, LUA"
            },
            "properties": [
              {
                "id": "decimals",
                "value": 2
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Memory Limit"
            },
            "properties": [
              {
                "id": "decimals",
                "value": 2
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Total System Memory"
            },
            "properties": [
              {
                "id": "decimals",
                "value": 2
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 6,
        "w": 10,
        "x": 11,
        "y": 1
      },
      "id": 8,
      "options": {
        "displayMode": "lcd",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "/.*/",
          "values": true
        },
        "showUnfilled": true
      },
      "pluginVersion": "7.1.4",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "targets": [
        {
          "command": "info",
          "query": "",
          "refId": "A",
          "section": "memory",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Memory",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "used_memory",
                "used_memory_peak",
                "total_system_memory",
                "maxmemory",
                "used_memory_lua"
              ]
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {
              "maxmemory": 3,
              "total_system_memory": 4,
              "used_memory": 0,
              "used_memory_lua": 2,
              "used_memory_peak": 1
            },
            "renameByName": {
              "maxmemory": "Memory Limit",
              "total_system_memory": "Total System Memory",
              "used_memory": "Used Memory",
              "used_memory_lua": "Used Memory, LUA",
              "used_memory_peak": "Used Memory, Peak"
            }
          }
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "decimals": 0,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              }
            ]
          },
          "unit": "s"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 3,
        "x": 21,
        "y": 1
      },
      "id": 19,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "/.*/",
          "values": true
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.4",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "targets": [
        {
          "command": "info",
          "query": "",
          "refId": "A",
          "section": "server",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Uptime",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "uptime_in_seconds"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "decimals": 0,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-blue",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 3,
        "x": 0,
        "y": 4
      },
      "id": 22,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "/.*/",
          "values": true
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.4",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "targets": [
        {
          "command": "info",
          "query": "",
          "refId": "A",
          "section": "clients",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Connected Clients",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "connected_clients"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 3,
        "x": 21,
        "y": 4
      },
      "id": 6,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "/.*/",
          "values": true
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.4",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "targets": [
        {
          "command": "info",
          "query": "",
          "refId": "A",
          "section": "server",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Version",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "redis_version"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-blue",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 3,
        "x": 0,
        "y": 7
      },
      "id": 2,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "/.*/",
          "values": true
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.4",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "targets": [
        {
          "query": "dbsize",
          "refId": "A",
          "type": "cli"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Number of Keys",
      "type": "stat"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "decimals": 0,
          "mappings": [],
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 8,
        "x": 3,
        "y": 7
      },
      "id": 36,
      "options": {
        "displayMode": "lcd",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "/.*/",
          "values": true
        },
        "showUnfilled": true
      },
      "pluginVersion": "7.1.4",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "targets": [
        {
          "command": "info",
          "query": "",
          "refId": "A",
          "section": "stats",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Keys",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "expired_keys",
                "evicted_keys"
              ]
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "evicted_keys": "Evicted",
              "expired_keys": "Expired"
            }
          }
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "decimals": 0,
          "mappings": [],
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 10,
        "x": 11,
        "y": 7
      },
      "id": 38,
      "options": {
        "displayMode": "lcd",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "/.*/",
          "values": true
        },
        "showUnfilled": true
      },
      "pluginVersion": "7.1.4",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "targets": [
        {
          "command": "info",
          "query": "",
          "refId": "A",
          "section": "stats",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Keyspace",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "keyspace_hits",
                "keyspace_misses"
              ]
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "keyspace_hits": "Hits",
              "keyspace_misses": "Misses"
            }
          }
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 3,
        "x": 21,
        "y": 7
      },
      "id": 34,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "/.*/",
          "values": true
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.4",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "targets": [
        {
          "command": "info",
          "query": "",
          "refId": "A",
          "section": "memory",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Eviction Policy",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "maxmemory_policy"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "collapsed": false,
      "datasource": "${DS_REDIS}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 10
      },
      "id": 32,
      "panels": [],
      "repeat": "redis",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "title": "Other",
      "type": "row"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "displayMode": "color-text"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Total duration"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 99
              },
              {
                "id": "unit",
                "value": "s"
              },
              {
                "id": "decimals",
                "value": 1
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Client"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 127
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Idle time"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 95
              },
              {
                "id": "unit",
                "value": "s"
              },
              {
                "id": "decimals",
                "value": 0
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 15,
        "w": 6,
        "x": 0,
        "y": 11
      },
      "id": 4,
      "options": {
        "showHeader": true,
        "sortBy": [
          {
            "desc": true,
            "displayName": "Idle time"
          }
        ]
      },
      "pluginVersion": "7.1.4",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "targets": [
        {
          "command": "clientList",
          "query": "",
          "refId": "A",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Client connections",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "addr",
                "age",
                "idle",
                "cmd"
              ]
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "addr": "Client",
              "age": "Total duration",
              "cmd": "Last command",
              "id": "Id",
              "idle": "Idle time"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "displayMode": "color-text"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Calls"
            },
            "properties": [
              {
                "id": "unit",
                "value": "short"
              },
              {
                "id": "decimals",
                "value": 1
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Number of calls"
            },
            "properties": [
              {
                "id": "unit",
                "value": "short"
              },
              {
                "id": "custom.width",
                "value": 127
              },
              {
                "id": "decimals",
                "value": 1
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Total Duration"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 127
              },
              {
                "id": "decimals",
                "value": 1
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Duration per call"
            },
            "properties": [
              {
                "id": "decimals",
                "value": 1
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Command"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 115
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 15,
        "w": 7,
        "x": 6,
        "y": 11
      },
      "id": 41,
      "options": {
        "showHeader": true,
        "sortBy": [
          {
            "desc": true,
            "displayName": "Total Duration"
          }
        ]
      },
      "pluginVersion": "7.1.4",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "targets": [
        {
          "command": "info",
          "query": "",
          "refId": "A",
          "section": "commandstats",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Command statistics",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "Calls": "Number of calls",
              "Command": "",
              "Usec": "Total Duration",
              "Usec_per_call": "Duration per call"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "displayMode": "color-text"
          },
          "mappings": [
            {
              "from": "",
              "id": 0,
              "operator": "",
              "text": "",
              "to": "",
              "type": 1
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Unique progressive identifier"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 205
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Timestamp"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 145
              },
              {
                "id": "unit",
                "value": "dateTimeFromNow"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Duration"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 92
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Command"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 1185
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 15,
        "w": 11,
        "x": 13,
        "y": 11
      },
      "id": 11,
      "options": {
        "showHeader": true,
        "sortBy": []
      },
      "pluginVersion": "7.1.4",
      "scopedVars": {
        "redis": {
          "selected": true,
          "text": "Redis",
          "value": "Redis"
        }
      },
      "targets": [
        {
          "command": "slowlogGet",
          "query": "",
          "refId": "A",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Slow queries log",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Id": true,
              "Timestamp": false
            },
            "indexByName": {
              "Command": 4,
              "Duration": 3,
              "Id": 0,
              "Timestamp": 1,
              "Timestamp * 1000": 2
            },
            "renameByName": {
              "Duration": "",
              "Id": "Id",
              "Timestamp * 1000": "Timestamp"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "collapsed": false,
      "datasource": "${DS_REDIS}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 26
      },
      "id": 58,
      "panels": [],
      "title": "Redis Cluster",
      "type": "row"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 3,
        "x": 0,
        "y": 27
      },
      "id": 60,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "/.*/",
          "values": true
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.4",
      "targets": [
        {
          "command": "clusterInfo",
          "query": "",
          "refId": "A",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "State",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "cluster_state"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 3,
        "x": 3,
        "y": 27
      },
      "id": 64,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "/.*/",
          "values": true
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.4",
      "targets": [
        {
          "command": "info",
          "query": "",
          "refId": "A",
          "section": "replication",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Role",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "role"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 18,
        "x": 6,
        "y": 27
      },
      "id": 61,
      "options": {
        "displayMode": "lcd",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "/.*/",
          "values": true
        },
        "showUnfilled": true
      },
      "pluginVersion": "7.1.4",
      "targets": [
        {
          "command": "clusterInfo",
          "query": "",
          "refId": "A",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "cluster_known_nodes",
                "cluster_size"
              ]
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "cluster_known_nodes": "Total number of known nodes",
              "cluster_size": "Number of master nodes serving at least one hash slot"
            }
          }
        }
      ],
      "type": "bargauge"
    },
    {
      "datasource": "${DS_REDIS}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Ping was sent"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dateTimeFromNow"
              },
              {
                "id": "custom.width",
                "value": 200
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Pong was received"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dateTimeFromNow"
              },
              {
                "id": "custom.width",
                "value": 186
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "State"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Flags"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 185
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Replica's Master"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 321
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Address"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 243
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 9,
        "w": 24,
        "x": 0,
        "y": 30
      },
      "id": 62,
      "options": {
        "showHeader": true,
        "sortBy": [
          {
            "desc": false,
            "displayName": "Flags"
          }
        ]
      },
      "pluginVersion": "7.1.4",
      "targets": [
        {
          "command": "clusterNodes",
          "query": "",
          "refId": "A",
          "type": "command"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Nodes",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Epoch": true
            },
            "indexByName": {},
            "renameByName": {
              "Address": "",
              "Id": "",
              "Master": "Replica's Master",
              "Ping": "Ping was sent",
              "Pong": "Pong was received",
              "Slot": "Hash slot number or range"
            }
          }
        }
      ],
      "type": "table"
    }
  ],
  "refresh": "5s",
  "schemaVersion": 26,
  "style": "dark",
  "tags": [
    "redis"
  ],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ]
  },
  "timezone": "",
  "title": "Redis",
  "uid": "RpSjVqWMz",
  "version": 3
}