2023-02-10 11:13:37 +01:00
{
"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 Dashboard for Prometheus Redis Exporter 1.x, it works with helm stable/redis-ha exporter.\r\n\r\nIf you missing redis memory utilization, please modify \"maxmemory\" value in values.yaml" ,
"editable" : true ,
"fiscalYearStartMonth" : 0 ,
"gnetId" : 11835 ,
"graphTooltip" : 0 ,
"id" : 12 ,
"links" : [ ] ,
"liveNow" : false ,
"panels" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"fixedColor" : "rgb(31, 120, 193)" ,
"mode" : "fixed"
} ,
"decimals" : 0 ,
"mappings" : [
{
"options" : {
"match" : "null" ,
"result" : {
"text" : "N/A"
}
} ,
"type" : "special"
}
] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "s"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 2 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 9 ,
"links" : [ ] ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "none" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"textMode" : "auto"
} ,
"pluginVersion" : "9.4.0-102000pre" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "max(max_over_time(redis_uptime_in_seconds{instance=~\"$host\"}[$__interval]))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"metric" : "" ,
"range" : true ,
"refId" : "A" ,
"step" : 1800
}
] ,
"title" : "Uptime" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"fixedColor" : "rgb(31, 120, 193)" ,
"mode" : "fixed"
} ,
"decimals" : 0 ,
"mappings" : [
{
"options" : {
"match" : "null" ,
"result" : {
"text" : "N/A"
}
} ,
"type" : "special"
}
] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 2 ,
"x" : 2 ,
"y" : 0
} ,
"hideTimeOverride" : true ,
"id" : 12 ,
"links" : [ ] ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "none" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"textMode" : "auto"
} ,
"pluginVersion" : "9.4.0-102000pre" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum(redis_connected_clients{instance=~\"$host\"})" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"metric" : "" ,
"range" : true ,
"refId" : "A" ,
"step" : 2
}
] ,
"timeFrom" : "1m" ,
"title" : "Clients" ,
"type" : "stat"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"decimals" : 0 ,
"mappings" : [
{
"options" : {
"match" : "null" ,
"result" : {
"text" : "N/A"
}
} ,
"type" : "special"
}
] ,
"max" : 100 ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "rgba(50, 172, 45, 0.97)" ,
"value" : null
} ,
{
"color" : "rgba(237, 129, 40, 0.89)" ,
"value" : 80
} ,
{
"color" : "rgba(245, 54, 54, 0.9)" ,
"value" : 95
}
]
} ,
"unit" : "percent"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 4 ,
"x" : 4 ,
"y" : 0
} ,
"hideTimeOverride" : true ,
"id" : 11 ,
"links" : [ ] ,
"maxDataPoints" : 100 ,
"options" : {
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showThresholdLabels" : false ,
"showThresholdMarkers" : true
} ,
"pluginVersion" : "9.4.0-102000pre" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "avg(100 * (redis_memory_used_bytes{instance=~\"$host\"} / redis_memory_max_bytes{instance=~\"$host\"} ))" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"metric" : "" ,
"range" : true ,
"refId" : "A" ,
"step" : 2
}
] ,
"timeFrom" : "1m" ,
"title" : "Memory Usage" ,
"type" : "gauge"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 2 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 8 ,
"x" : 8 ,
"y" : 0
} ,
"id" : 2 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : false
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.4.0-96993pre" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(redis_commands_processed_total{instance=~\"$host\"}[1m]))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"metric" : "A" ,
"range" : true ,
"refId" : "A" ,
"step" : 240 ,
"target" : ""
}
] ,
"title" : "Commands Executed / sec" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 2 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"min" : 0 ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 8 ,
"x" : 16 ,
"y" : 0
} ,
"id" : 1 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : false
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.4.0-96993pre" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum(irate(redis_keyspace_hits_total{instance=~\"$host\"}[5m]))" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "hits" ,
"metric" : "" ,
"range" : true ,
"refId" : "A" ,
"step" : 240 ,
"target" : ""
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum(irate(redis_keyspace_misses_total{instance=~\"$host\"}[5m]))" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "misses" ,
"metric" : "" ,
"range" : true ,
"refId" : "B" ,
"step" : 240 ,
"target" : ""
}
] ,
"title" : "Hits / Misses per Sec" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 2 ,
"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" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "bytes"
} ,
"overrides" : [
{
"matcher" : {
"id" : "byName" ,
"options" : "max"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "#BF1B00" ,
"mode" : "fixed"
}
}
]
}
]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
"y" : 7
} ,
"id" : 7 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.4.0-96993pre" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum(redis_memory_used_bytes{instance=~\"$host\"} )" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "used" ,
"metric" : "" ,
"range" : true ,
"refId" : "A" ,
"step" : 240 ,
"target" : ""
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum(redis_memory_max_bytes{instance=~\"$host\"})" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 2 ,
"legendFormat" : "max" ,
"range" : true ,
"refId" : "B" ,
"step" : 240
}
] ,
"title" : "Total Memory Usage" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 2 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "bytes"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
"y" : 7
} ,
"id" : 10 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.4.0-96993pre" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(redis_net_input_bytes_total{instance=~\"$host\"}[5m]))" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "input" ,
"range" : true ,
"refId" : "A" ,
"step" : 240
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(redis_net_output_bytes_total{instance=~\"$host\"}[5m]))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "output" ,
"range" : true ,
"refId" : "B" ,
"step" : 240
}
] ,
"title" : "Network I/O" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 70 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 2 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "normal"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "none"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
"y" : 14
} ,
"id" : 5 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [
"lastNotNull"
] ,
"displayMode" : "table" ,
"placement" : "right" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.4.0-96993pre" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum(redis_db_keys{instance=~\"$host\"}) by (db)" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{ db }} " ,
"range" : true ,
"refId" : "A" ,
"step" : 240 ,
"target" : ""
}
] ,
"title" : "Total Items per DB" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 70 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 2 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "normal"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
"y" : 14
} ,
"id" : 13 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.4.0-96993pre" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum (redis_db_keys{instance=~\"$host\"}) - sum (redis_db_keys_expiring{instance=~\"$host\"}) " ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "not expiring" ,
"range" : true ,
"refId" : "A" ,
"step" : 240 ,
"target" : ""
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum (redis_db_keys_expiring{instance=~\"$host\"}) " ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "expiring" ,
"metric" : "" ,
"range" : true ,
"refId" : "B" ,
"step" : 240
}
] ,
"title" : "Expiring vs Not-Expiring Keys" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 2 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"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" : 21
} ,
"id" : 8 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.4.0-96993pre" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(redis_expired_keys_total{instance=~\"$host\"}[5m]))" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "expired" ,
"metric" : "" ,
"range" : true ,
"refId" : "A" ,
"step" : 240 ,
"target" : ""
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum(rate(redis_evicted_keys_total{instance=~\"$host\"}[5m]))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "evicted" ,
"range" : true ,
"refId" : "B" ,
"step" : 240
}
] ,
"title" : "Expired / Evicted" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 80 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "never" ,
"spanNulls" : true ,
"stacking" : {
"group" : "A" ,
"mode" : "normal"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"links" : [ ] ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 12 ,
"y" : 21
} ,
"id" : 14 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.4.0-96993pre" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum by(cmd) (topk(5, irate(redis_commands_total{instance=~\"$host\"}[1m])))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{ cmd }}" ,
"metric" : "redis_command_calls_total" ,
"range" : true ,
"refId" : "A" ,
"step" : 240
}
] ,
"title" : "Command Calls / sec" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"drawStyle" : "line" ,
"fillOpacity" : 10 ,
"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" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
} ,
"unit" : "short"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
"w" : 12 ,
"x" : 0 ,
"y" : 28
} ,
"id" : 16 ,
"links" : [ ] ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : false
} ,
"tooltip" : {
"mode" : "multi" ,
"sort" : "none"
}
} ,
"pluginVersion" : "9.4.0-96993pre" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"editorMode" : "code" ,
"expr" : "sum(redis_connected_clients{instance=~\"$host\"})" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"legendFormat" : "clients" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Redis connected clients" ,
"type" : "timeseries"
}
] ,
"refresh" : "1m" ,
"revision" : 1 ,
"schemaVersion" : 38 ,
"style" : "dark" ,
"tags" : [
"redis"
] ,
"templating" : {
"list" : [
{
"current" : {
"selected" : true ,
"text" : [
2023-08-21 17:19:45 +02:00
"sv1" ,
"sv2"
2023-02-10 11:13:37 +01:00
] ,
"value" : [
2023-08-21 17:19:45 +02:00
"sv1" ,
"sv2"
2023-02-10 11:13:37 +01:00
]
} ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "yPhvsDP7k"
} ,
"definition" : "label_values(redis_up, instance)" ,
"hide" : 0 ,
"includeAll" : false ,
"label" : "Host" ,
"multi" : true ,
"name" : "host" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(redis_up, instance)" ,
"refId" : "StandardVariableQuery"
} ,
"refresh" : 2 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 1 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
}
]
} ,
"time" : {
"from" : "now-24h" ,
"to" : "now"
} ,
"timepicker" : {
"refresh_intervals" : [
"5s" ,
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
] ,
"time_options" : [
"5m" ,
"15m" ,
"1h" ,
"6h" ,
"12h" ,
"24h" ,
"2d" ,
"7d" ,
"30d"
]
} ,
"timezone" : "browser" ,
"title" : "Redis" ,
"uid" : "xDLNRKUWz" ,
"version" : 9 ,
"weekStart" : ""
}