Skip to content

Instantly share code, notes, and snippets.

@skypesky
Last active May 9, 2025 07:02
Show Gist options
  • Save skypesky/6c2e6890dbe996d833b6c411818a6cfd to your computer and use it in GitHub Desktop.
Save skypesky/6c2e6890dbe996d833b6c411818a6cfd to your computer and use it in GitHub Desktop.
Redis grafana json
{
"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"
}
]
},
"description": "redis_exporter for redis",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 10,
"links": [],
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-green"
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "increase(redis_commands_processed_total{instance=\"$instance\"}[3m])/180",
"format": "table",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Ops/sec[3m]",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "binBps"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 3,
"y": 0
},
"id": 6,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto",
"text": {}
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "rate(redis_net_input_bytes_total{instance=\"$instance\"}[5m])",
"interval": "",
"legendFormat": "Input",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "rate(redis_net_output_bytes_total{instance=\"$instance\"}[5m])",
"hide": false,
"interval": "",
"legendFormat": "Output",
"refId": "B"
}
],
"title": "Network",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100000000,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 9,
"x": 11,
"y": 0
},
"id": 9,
"options": {
"displayMode": "lcd",
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
"namePlacement": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"sizing": "auto",
"text": {},
"valueMode": "color"
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_memory_used_bytes{instance=\"$instance\"}",
"interval": "",
"legendFormat": "Used Memory ",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_memory_used_peak_bytes{instance=\"$instance\"}",
"hide": false,
"interval": "",
"legendFormat": "Used Memory Peak",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_memory_used_lua_bytes{instance=\"$instance\"}",
"hide": false,
"interval": "",
"legendFormat": "Used Memory Lua",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_memory_used_dataset_bytes{instance=\"$instance\"}",
"hide": false,
"interval": "",
"legendFormat": "Used Memory Dataset",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_memory_used_overhead_bytes{instance=\"$instance\"}",
"hide": false,
"interval": "",
"legendFormat": "Used Memory Overhead",
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_memory_used_rss_bytes{instance=\"$instance\"}",
"hide": false,
"interval": "",
"legendFormat": "Used Memory Rss",
"refId": "F"
}
],
"title": "Memory",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue"
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 20,
"y": 0
},
"id": 11,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_uptime_in_seconds{instance=\"$instance\"}",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "UpTime",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 22,
"y": 0
},
"id": 16,
"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": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_instance_info{instance=\"$instance\"}",
"interval": "",
"legendFormat": "{{role}}",
"refId": "A"
}
],
"title": "Role",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 3
},
"id": 3,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_connected_clients{instance=\"$instance\"}",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "connected clients",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 20,
"y": 3
},
"id": 12,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {},
"textMode": "name",
"wideLayout": true
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_instance_info{instance=\"$instance\"}",
"interval": "",
"legendFormat": "{{redis_version}}",
"refId": "A"
}
],
"title": "Redis Version",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"0": {
"index": 0,
"text": "Stopped"
},
"1": {
"index": 1,
"text": "Running"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 22,
"y": 3
},
"id": 15,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {},
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_up{instance=\"$instance\"}",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "State",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 6
},
"id": 4,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "sum(redis_db_keys{instance=\"$instance\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of keys",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 8,
"x": 3,
"y": 6
},
"id": 7,
"options": {
"displayMode": "lcd",
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
"namePlacement": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"sizing": "auto",
"text": {},
"valueMode": "color"
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(redis_expired_keys_total{instance=\"$instance\"}[3m])",
"interval": "",
"legendFormat": "expired keys",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(redis_evicted_keys_total{instance=\"$instance\"}[3m])",
"hide": false,
"interval": "",
"legendFormat": "evicted keys",
"range": true,
"refId": "B"
}
],
"title": "keys",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 9,
"x": 11,
"y": 6
},
"id": 10,
"options": {
"displayMode": "lcd",
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
"namePlacement": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"sizing": "auto",
"text": {},
"valueMode": "color"
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_keyspace_hits_total{instance=\"$instance\"}",
"interval": "",
"legendFormat": "Hits",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_keyspace_misses_total{instance=\"$instance\"}",
"hide": false,
"interval": "",
"legendFormat": "Misses",
"refId": "B"
}
],
"title": "keys",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 20,
"y": 6
},
"id": 14,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {},
"textMode": "name",
"wideLayout": true
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_instance_info{instance=\"$instance\"}",
"interval": "",
"legendFormat": "{{maxmemory_policy}}",
"refId": "A"
}
],
"title": "Maxmemory Policy",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"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": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 0,
"y": 9
},
"id": 36,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "100 * (rate(redis_cpu_sys_children_seconds_total{instance=\"$instance\"}[5m]) + rate(redis_cpu_sys_seconds_total{instance=\"$instance\"}[5m]))",
"interval": "",
"legendFormat": "System",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "100 * (rate(redis_cpu_user_children_seconds_total{instance=\"$instance\"}[5m]) + rate(redis_cpu_user_seconds_total{instance=\"$instance\"}[5m]))",
"interval": "",
"legendFormat": "User",
"refId": "B"
}
],
"title": "CPU Utilization",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"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": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "iops"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 6,
"y": 9
},
"id": 18,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "topk(5, irate(redis_commands_total{instance=\"$instance\"} [5m]))",
"interval": "",
"legendFormat": "{{cmd}}",
"refId": "A"
}
],
"title": "IOPS",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"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": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "Bps"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 12,
"y": 9
},
"id": 38,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(redis_net_input_bytes_total{instance=\"$instance\"}[5m])",
"interval": "",
"legendFormat": "Inbound",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "rate(redis_net_output_bytes_total{instance=\"$instance\"}[5m])",
"interval": "",
"legendFormat": "Outbound",
"refId": "B"
}
],
"title": "Network Throughput",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"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": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 18,
"y": 9
},
"id": 40,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(redis_connections_received_total{instance=\"$instance\"}[5m]) ",
"interval": "",
"legendFormat": "Inbound",
"range": true,
"refId": "A"
}
],
"title": "Conns/sec",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"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": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 0,
"y": 16
},
"id": 28,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_db_keys{instance=\"$instance\"}",
"interval": "",
"legendFormat": "{{db}}",
"refId": "A"
}
],
"title": "Keys / DB",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"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": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 6,
"y": 16
},
"id": 30,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_db_avg_ttl_seconds{instance='$instance'}",
"interval": "",
"legendFormat": "{{db}}",
"refId": "A"
}
],
"title": "Average TTL",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"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": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 12,
"y": 16
},
"id": 32,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "rate(redis_expired_keys_total{instance=\"$instance\"}[5m])",
"interval": "",
"legendFormat": "Expired",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"expr": "rate(redis_evicted_keys_total{instance=\"$instance\"}[5m])",
"interval": "",
"legendFormat": "Evicted",
"refId": "B"
}
],
"title": "Expired / Evicted keys",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"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": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 18,
"y": 16
},
"id": 34,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "100 * rate(redis_keyspace_hits_total{instance=\"$instance\"}[5m]) / (rate(redis_keyspace_misses_total{instance=\"$instance\"}[5m]) + rate(redis_keyspace_hits_total{instance=\"$instance\"}[5m])) ",
"interval": "",
"legendFormat": "Hit",
"refId": "A"
}
],
"title": "Hit Rate",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"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": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 0,
"y": 23
},
"id": 20,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"editorMode": "code",
"exemplar": true,
"expr": "redis_connected_clients{instance=\"$instance\"}",
"interval": "",
"legendFormat": "Clients",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_config_maxclients{instance=\"$instance\"}",
"interval": "",
"legendFormat": "Max Clients",
"refId": "B"
}
],
"title": "Connections usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"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": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 6,
"y": 23
},
"id": 26,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "redis_blocked_clients{instance=\"$instance\"}",
"interval": "",
"legendFormat": "Blocked",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "rate(redis_rejected_connections_total{instance=\"$instance\"}[5m])",
"interval": "",
"legendFormat": "Rejected",
"refId": "B"
}
],
"title": "Blocked and Rejected clients",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"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": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 12,
"y": 23
},
"id": 22,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"expr": "sum(rate(redis_commands_duration_seconds_total{instance=\"$instance\"}[5m])) / sum(rate(redis_commands_processed_total{instance=\"$instance\"}[5m]))",
"interval": "",
"legendFormat": "Response Time",
"refId": "A"
}
],
"title": "Response time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"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": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 18,
"y": 23
},
"id": 24,
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "11.6.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"exemplar": true,
"expr": "rate(redis_slowlog_length{instance=\"$instance\"}[5m])",
"interval": "",
"legendFormat": "Response Time",
"refId": "A"
}
],
"title": "Slowlog increment",
"type": "timeseries"
}
],
"preload": false,
"refresh": "1m",
"schemaVersion": 41,
"tags": [],
"templating": {
"list": [
{
"current": {
"text": "pro-serverless-01",
"value": "pro-serverless-01"
},
"definition": "label_values(redis_up,hostname)",
"description": "",
"label": "hostname",
"name": "hostname",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(redis_up,hostname)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"type": "query"
},
{
"current": {
"text": "redis",
"value": "redis"
},
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"definition": "label_values(redis_up, job)",
"includeAll": false,
"label": "Cluster",
"name": "cluster",
"options": [],
"query": {
"query": "label_values(redis_up, job)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"type": "query"
},
{
"current": {
"text": "baaazme7t4ln66ajp45xb2wnrm7xhd7iiynfs3fdnie.slp.abtnet.io",
"value": "baaazme7t4ln66ajp45xb2wnrm7xhd7iiynfs3fdnie.slp.abtnet.io"
},
"datasource": {
"type": "prometheus",
"uid": "bejkhltenvfnka"
},
"definition": "label_values(redis_up{job=\"$cluster\", hostname=\"$hostname\"},instance)",
"includeAll": false,
"label": "Instance",
"name": "instance",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(redis_up{job=\"$cluster\", hostname=\"$hostname\"},instance)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"type": "query"
}
]
},
"time": {
"from": "now-15m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Redis",
"uid": "R7HGKm27k",
"version": 10
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment