This is the multi-page printable view of this section. Click here to print.
Module: REDIS
- 1: Redis Administration
- 2: Redis Monitoring
- 3: Redis Parameters
- 4: Redis Playbooks
- 5: 集群配置
- 6: Metrics
- 7: FAQ
1 - Redis Administration
Here are some common administration tasks for Redis. Check FAQ: Redis for more details.
Init Redis
Init Cluster/Node/Instance
# init all redis instances on group <cluster>
./redis.yml -l <cluster> # init redis cluster
# init redis node
./redis.yml -l 10.10.10.10 # init redis node
# init one specific redis instance 10.10.10.11:6379
./redis.yml -l 10.10.10.11 -e redis_port=6379 -t redis
You can also use wrapper script:
bin/redis-add redis-ms # create redis cluster 'redis-ms'
bin/redis-add 10.10.10.10 # create redis node '10.10.10.10'
bin/redis-add 10.10.10.10 6379 # create redis instance '10.10.10.10:6379'
Remove Redis
Remove Cluster/Node/Instance
# Remove cluster `redis-test`
redis-rm.yml -l redis-test
# Remove cluster `redis-test`, and uninstall packages
redis-rm.yml -l redis-test -e redis_uninstall=true
# Remove all instance on redis node 10.10.10.13
redis-rm.yml -l 10.10.10.13
# Remove one specific instance 10.10.10.13:6379
redis-rm.yml -l 10.10.10.13 -e redis_port=6379
You can also use wrapper script:
bin/redis-rm redis-ms # remove redis cluster 'redis-ms'
bin/redis-rm 10.10.10.10 # remove redis node '10.10.10.10'
bin/redis-rm 10.10.10.10 6379 # remove redis instance '10.10.10.10:6379'
Reconfigure Redis
You can partially run redis.yml
tasks to re-configure redis.
./redis.yml -l <cluster> -t redis_config,redis_launch
Beware that redis can not be reload online, you have to restart redis to make config effective.
Use Redis Client Tools
Access redis instance with redis-cli
:
$ redis-cli -h 10.10.10.10 -p 6379 # <--- connect with host and port
10.10.10.10:6379> auth redis.ms # <--- auth with password
OK
10.10.10.10:6379> set a 10 # <--- set a key
OK
10.10.10.10:6379> get a # <--- get a key back
"10"
Redis also has a redis-benchmark
which can be used for benchmark and generate load on redis server:
redis-benchmark -h 10.10.10.13 -p 6379
Configure Redis Replica
https://redis.io/commands/replicaof/
# promote a redis instance to primary
> REPLICAOF NO ONE
"OK"
# make a redis instance replica of another instance
> REPLICAOF 127.0.0.1 6799
"OK"
Configure HA with Sentinel
You have to enable HA for redis standalone m-s cluster manually with your redis sentinel.
Take the 4-node sandbox as an example, a redis sentinel cluster redis-meta
is used manage the redis-ms
standalone cluster.
# for each sentinel, add redis master to the sentinel with:
$ redis-cli -h 10.10.10.11 -p 26379 -a redis.meta
10.10.10.11:26379> SENTINEL MONITOR redis-ms 10.10.10.10 6379 1
10.10.10.11:26379> SENTINEL SET redis-ms auth-pass redis.ms # if auth enabled, password has to be configured
If you wish to remove a redis master from sentinel, use SENTINEL REMOVE <name>
.
You can configure multiple redis master on sentinel cluster with redis_sentinel_monitor
.
redis_sentinel_monitor: # primary list for redis sentinel, use cls as name, primary ip:port
- { name: redis-src, host: 10.10.10.45, port: 6379 ,password: redis.src, quorum: 1 }
- { name: redis-dst, host: 10.10.10.48, port: 6379 ,password: redis.dst, quorum: 1 }
And refresh master list on sentinel cluster with:
./redis.yml -l redis-meta -t redis-ha # replace redis-meta if your sentinel cluster has different name
2 - Redis Monitoring
Dashboard
There are three dashboards for REDIS
module.
Redis Overview
Redis Overview: Overview of all Redis Instances
Redis Cluster
Redis Cluster : Overview of one single redis cluster
Redis Instance
Redis Instance : Overview of one single redis instance
Alert Rules
There are 6 predefined alert rules for Redis, defined in files/prometheus/rules/redis.yml
.
RedisDown
:redis server is downRedisRejectConn
:redis instance reject connectionRedisRTHigh
:redis instance response time is too highRedisCPUHigh
:redis instance CPU usage is too highRedisMemHigh
:redis instance memory usage is too highRedisQPSHigh
:redis instance QPS is too high
#==============================================================#
# Error #
#==============================================================#
# redis down triggers a P0 alert
- alert: RedisDown
expr: redis_up < 1
for: 1m
labels: { level: 0, severity: CRIT, category: redis }
annotations:
summary: "CRIT RedisDown: {{ $labels.ins }} {{ $labels.instance }} {{ $value }}"
description: |
redis_up[ins={{ $labels.ins }}, instance={{ $labels.instance }}] = {{ $value }} == 0
http://g.pigsty/d/redis-instance?from=now-5m&to=now&var-ins={{$labels.ins}}
# redis reject connection in last 5m
- alert: RedisRejectConn
expr: redis:ins:conn_reject > 0
labels: { level: 0, severity: CRIT, category: redis }
annotations:
summary: "CRIT RedisRejectConn: {{ $labels.ins }} {{ $labels.instance }} {{ $value }}"
description: |
redis:ins:conn_reject[cls={{ $labels.cls }}, ins={{ $labels.ins }}][5m] = {{ $value }} > 0
http://g.pigsty/d/redis-instance?from=now-10m&to=now&viewPanel=88&fullscreen&var-ins={{ $labels.ins }}
#==============================================================#
# Latency #
#==============================================================#
# redis avg query response time > 160 µs
- alert: RedisRTHigh
expr: redis:ins:rt > 0.00016
for: 1m
labels: { level: 1, severity: WARN, category: redis }
annotations:
summary: "WARN RedisRTHigh: {{ $labels.cls }} {{ $labels.ins }}"
description: |
pg:ins:query_rt[cls={{ $labels.cls }}, ins={{ $labels.ins }}] = {{ $value }} > 160µs
http://g.pigsty/d/redis-instance?from=now-10m&to=now&viewPanel=97&fullscreen&var-ins={{ $labels.ins }}
#==============================================================#
# Saturation #
#==============================================================#
# redis cpu usage more than 70% for 1m
- alert: RedisCPUHigh
expr: redis:ins:cpu_usage > 0.70
for: 1m
labels: { level: 1, severity: WARN, category: redis }
annotations:
summary: "WARN RedisCPUHigh: {{ $labels.cls }} {{ $labels.ins }}"
description: |
redis:ins:cpu_all[cls={{ $labels.cls }}, ins={{ $labels.ins }}] = {{ $value }} > 60%
http://g.pigsty/d/redis-instance?from=now-10m&to=now&viewPanel=43&fullscreen&var-ins={{ $labels.ins }}
# redis mem usage more than 70% for 1m
- alert: RedisMemHigh
expr: redis:ins:mem_usage > 0.70
for: 1m
labels: { level: 1, severity: WARN, category: redis }
annotations:
summary: "WARN RedisMemHigh: {{ $labels.cls }} {{ $labels.ins }}"
description: |
redis:ins:mem_usage[cls={{ $labels.cls }}, ins={{ $labels.ins }}] = {{ $value }} > 80%
http://g.pigsty/d/redis-instance?from=now-10m&to=now&viewPanel=7&fullscreen&var-ins={{ $labels.ins }}
#==============================================================#
# Traffic #
#==============================================================#
# redis qps more than 32000 for 5m
- alert: RedisQPSHigh
expr: redis:ins:qps > 32000
for: 5m
labels: { level: 2, severity: INFO, category: redis }
annotations:
summary: "INFO RedisQPSHigh: {{ $labels.cls }} {{ $labels.ins }}"
description: |
redis:ins:qps[cls={{ $labels.cls }}, ins={{ $labels.ins }}] = {{ $value }} > 16000
http://g.pigsty/d/redis-instance?from=now-10m&to=now&viewPanel=96&fullscreen&var-ins={{ $labels.ins }}
3 - Redis Parameters
Parameter
There 21 parameters in the redis module.
Parameter | Type | Level | Comment |
---|---|---|---|
redis_cluster |
string | C | redis cluster name, required identity parameter |
redis_instances |
dict | I | redis instances definition on this redis node |
redis_node |
int | I | redis node sequence number, node int id required |
redis_fs_main |
path | C | redis main data mountpoint, /data by default |
redis_exporter_enabled |
bool | C | install redis exporter on redis nodes? |
redis_exporter_port |
port | C | redis exporter listen port, 9121 by default |
redis_exporter_options |
string | C/I | cli args and extra options for redis exporter |
redis_safeguard |
bool | G/C/A | prevent purging running redis instance? |
redis_clean |
bool | G/C/A | purging existing redis during init? |
redis_rmdata |
bool | G/C/A | remove redis data when purging redis server? |
redis_mode |
enum | C | redis mode: standalone,cluster,sentinel |
redis_conf |
string | C | redis config template path, except sentinel |
redis_bind_address |
ip | C | redis bind address, empty string will use host ip |
redis_max_memory |
size | C/I | max memory used by each redis instance |
redis_mem_policy |
enum | C | redis memory eviction policy |
redis_password |
password | C | redis password, empty string will disable password |
redis_rdb_save |
string[] | C | redis rdb save directives, disable with empty list |
redis_aof_enabled |
bool | C | enable redis append only file? |
redis_rename_commands |
dict | C | rename redis dangerous commands |
redis_cluster_replicas |
int | C | replica number for one master in redis cluster |
redis_sentinel_monitor |
master[] | C | sentinel master list, sentinel cluster only |
#redis_cluster: <CLUSTER> # redis cluster name, required identity parameter
#redis_node: 1 <NODE> # redis node sequence number, node int id required
#redis_instances: {} <NODE> # redis instances definition on this redis node
redis_fs_main: /data # redis main data mountpoint, `/data` by default
redis_exporter_enabled: true # install redis exporter on redis nodes?
redis_exporter_port: 9121 # redis exporter listen port, 9121 by default
redis_exporter_options: '' # cli args and extra options for redis exporter
redis_safeguard: false # prevent purging running redis instance?
redis_clean: true # purging existing redis during init?
redis_rmdata: true # remove redis data when purging redis server?
redis_mode: standalone # redis mode: standalone,cluster,sentinel
redis_conf: redis.conf # redis config template path, except sentinel
redis_bind_address: '0.0.0.0' # redis bind address, empty string will use host ip
redis_max_memory: 1GB # max memory used by each redis instance
redis_mem_policy: allkeys-lru # redis memory eviction policy
redis_password: '' # redis password, empty string will disable password
redis_rdb_save: ['1200 1'] # redis rdb save directives, disable with empty list
redis_aof_enabled: false # enable redis append only file?
redis_rename_commands: {} # rename redis dangerous commands
redis_cluster_replicas: 1 # replica number for one master in redis cluster
redis_sentinel_monitor: [] # sentinel master list, works on sentinel cluster only
REDIS
#redis_cluster: <CLUSTER> # redis cluster name, required identity parameter
#redis_node: 1 <NODE> # redis node sequence number, node int id required
#redis_instances: {} <NODE> # redis instances definition on this redis node
redis_fs_main: /data # redis main data mountpoint, `/data` by default
redis_exporter_enabled: true # install redis exporter on redis nodes?
redis_exporter_port: 9121 # redis exporter listen port, 9121 by default
redis_exporter_options: '' # cli args and extra options for redis exporter
redis_safeguard: false # prevent purging running redis instance?
redis_clean: true # purging existing redis during init?
redis_rmdata: true # remove redis data when purging redis server?
redis_mode: standalone # redis mode: standalone,cluster,sentinel
redis_conf: redis.conf # redis config template path, except sentinel
redis_bind_address: '0.0.0.0' # redis bind address, empty string will use host ip
redis_max_memory: 1GB # max memory used by each redis instance
redis_mem_policy: allkeys-lru # redis memory eviction policy
redis_password: '' # redis password, empty string will disable password
redis_rdb_save: ['1200 1'] # redis rdb save directives, disable with empty list
redis_aof_enabled: false # enable redis append only file?
redis_rename_commands: {} # rename redis dangerous commands
redis_cluster_replicas: 1 # replica number for one master in redis cluster
redis_sentinel_monitor: [] # sentinel master list, works on sentinel cluster only
redis_cluster
name: redis_cluster
, type: string
, level: C
redis cluster name, required identity parameter.
no default value, you have to define it explicitly.
Comply with regexp [a-z][a-z0-9-]*
, it is recommended to use the same name as the group name and start with redis-
redis_node
name: redis_node
, type: int
, level: I
redis node sequence number, unique integer among redis cluster is required
You have to explicitly define the node id for each redis node. integer start from 0 or 1.
redis_instances
name: redis_instances
, type: dict
, level: I
redis instances definition on this redis node
no default value, you have to define redis instances on each redis node using this parameter explicitly.
Here is an example for a native redis cluster definition
redis-test: # redis native cluster: 3m x 3s
hosts:
10.10.10.12: { redis_node: 1 ,redis_instances: { 6379: { } ,6380: { } ,6381: { } } }
10.10.10.13: { redis_node: 2 ,redis_instances: { 6379: { } ,6380: { } ,6381: { } } }
vars: { redis_cluster: redis-test ,redis_password: 'redis.test' ,redis_mode: cluster, redis_max_memory: 32MB }
The port number should be unique among the node, and the replica_of
in value
should be instance member of the same redis cluster.
redis_instances:
6379: {}
6380: { replica_of: '10.10.10.13 6379' }
6381: { replica_of: '10.10.10.13 6379' }
redis_fs_main
name: redis_fs_main
, type: path
, level: C
redis main data mountpoint, /data
by default
default values: /data
, and /data/redis
will be used as the redis data directory.
redis_exporter_enabled
name: redis_exporter_enabled
, type: bool
, level: C
install redis exporter on redis nodes?
default value is true
, which will launch a redis_exporter on this redis_node
redis_exporter_port
name: redis_exporter_port
, type: port
, level: C
redis exporter listen port, 9121 by default
default values: 9121
redis_exporter_options
name: redis_exporter_options
, type: string
, level: C/I
cli args and extra options for redis exporter, will be added to /etc/defaut/redis_exporter
.
default value is empty string
redis_safeguard
name: redis_safeguard
, type: bool
, level: G/C/A
prevent purging running redis instance?
default value is false
, if set to true
, and redis instance is running, init / remove playbook will abort immediately.
redis_clean
name: redis_clean
, type: bool
, level: G/C/A
purging existing redis during init?
default value is true
, which will remove redis server during redis init or remove.
redis_rmdata
name: redis_rmdata
, type: bool
, level: G/C/A
remove redis data when purging redis server?
default value is true
, which will remove redis rdb / aof along with redis instance.
redis_mode
name: redis_mode
, type: enum
, level: C
redis mode: standalone,cluster,sentinel
default values: standalone
standalone
: setup redis as standalone (master-slave) modecluster
: setup this redis cluster as a redis native clustersentinel
: setup redis as sentinel for standalone redis HA
redis_conf
name: redis_conf
, type: string
, level: C
redis config template path, except sentinel
default values: redis.conf
, which is a template file in roles/redis/templates/redis.conf
.
If you want to use your own redis config template, you can put it in templates/
directory and set this parameter to the template file name.
Note that redis sentinel are using a different template file, which is roles/redis/templates/redis-sentinel.conf
redis_bind_address
name: redis_bind_address
, type: ip
, level: C
redis bind address, empty string will use inventory hostname
default values: 0.0.0.0
, which will bind to all available IPv4 address on this host
PLEASE bind to intranet IP only in production environment, i.e. set this value to
''
redis_max_memory
name: redis_max_memory
, type: size
, level: C/I
max memory used by each redis instance, default values: 1GB
redis_mem_policy
name: redis_mem_policy
, type: enum
, level: C
redis memory eviction policy
default values: allkeys-lru
, check redis eviction policy for more details
noeviction
: New values aren’t saved when memory limit is reached. When a database uses replication, this applies to the primary databaseallkeys-lru
: Keeps most recently used keys; removes least recently used (LRU) keysallkeys-lfu
: Keeps frequently used keys; removes least frequently used (LFU) keysvolatile-lru
: Removes least recently used keys with the expire field set to true.volatile-lfu
: Removes least frequently used keys with the expire field set to true.allkeys-random
: Randomly removes keys to make space for the new data added.volatile-random
: Randomly removes keys with expire field set to true.volatile-ttl
: Removes keys with expire field set to true and the shortest remaining time-to-live (TTL) value.
redis_password
name: redis_password
, type: password
, level: C/N
redis password, empty string will disable password, which is the default behavior
Note that due to the implementation limitation of redis_exporter, you can only set one redis_password
per node.
This is usually not a problem, because pigsty does not allow deploying two different redis cluster on the same node.
PLEASE use a strong password in production environment
redis_rdb_save
name: redis_rdb_save
, type: string[]
, level: C
redis rdb save directives, disable with empty list, check redis persist for details.
the default value is ["1200 1"]
: dump the dataset to disk every 20 minutes if at least 1 key changed:
redis_aof_enabled
name: redis_aof_enabled
, type: bool
, level: C
enable redis append only file? default value is false
.
redis_rename_commands
name: redis_rename_commands
, type: dict
, level: C
rename redis dangerous commands, which is a dict of k:v old: new
default values: {}
, you can hide dangerous commands like FLUSHDB
and FLUSHALL
by setting this value, here’s an example:
{
"keys": "op_keys",
"flushdb": "op_flushdb",
"flushall": "op_flushall",
"config": "op_config"
}
redis_cluster_replicas
name: redis_cluster_replicas
, type: int
, level: C
replica number for one master/primary in redis cluster, default values: 1
redis_sentinel_monitor
name: redis_sentinel_monitor
, type: master[]
, level: C
This can only be used when redis_mode
is set to sentinel
.
List of redis master to be monitored by this sentinel cluster. each master is defined as a dict with name
, host
, port
, password
, quorum
keys.
redis_sentinel_monitor: # primary list for redis sentinel, use cls as name, primary ip:port
- { name: redis-src, host: 10.10.10.45, port: 6379 ,password: redis.src, quorum: 1 }
- { name: redis-dst, host: 10.10.10.48, port: 6379 ,password: redis.dst, quorum: 1 }
The name
and host
are mandatory, port
, password
, quorum
are optional, quorum
is used to set the quorum for this master, usually large than half of the sentinel instances.
4 - Redis Playbooks
Playbook
There are two playbooks for redis:
redis.yml
: create redis cluster / node / instanceredis-rm.yml
: remove redis cluster /node /instance
redis.yml
The playbook redis.yml
will init redis cluster/node/instance:
redis_node : init redis node
- redis_install : install redis & redis_exporter
- redis_user : create os user redis
- redis_dir # redis redis fhs
redis_exporter : config and launch redis_exporter
- redis_exporter_config : generate redis_exporter config
- redis_exporter_launch : launch redis_exporter
redis_instance : config and launch redis cluster/node/instance
- redis_check : check redis instance existence
- redis_clean : purge existing redis instance
- redis_config : generate redis instance config
- redis_launch : launch redis instance
redis_register : register redis to prometheus
redis_ha : setup redis sentinel
redis_join : join redis cluster
redis-rm.yml
The playbook redis-rm.yml
will remove redis cluster/node/instance:
- register : remove monitor target from prometheus
- redis_exporter : stop and disable redis_exporter
- redis : stop and disable redis cluster/node/instance
- redis_data : remove redis data (rdb, aof)
- redis_pkg : uninstall redis & redis_exporter packages
5 - 集群配置
Concept
The entity model of Redis is almost the same as that of PostgreSQL, which also includes the concepts of Cluster and Instance. The Cluster here does not refer to the native Redis Cluster mode.
The core difference between the REDIS module and the PGSQL module is that Redis uses a single-node multi-instance deployment rather than the 1:1 deployment: multiple Redis instances are typically deployed on a physical/virtual machine node to utilize multi-core CPUs fully. Therefore, the ways to configure and administer Redis instances are slightly different from PGSQL.
In Redis managed by Pigsty, nodes are entirely subordinate to the cluster, which means that currently, it is not allowed to deploy Redis instances of two different clusters on one node. However, this does not affect deploying multiple independent Redis primary replica instances on one node.
Configuration
Redis Identity
Redis identity parameters are required parameters when defining a Redis cluster.
Name | Attribute | Description | Example |
---|---|---|---|
redis_cluster |
REQUIRED, cluster level | cluster name | redis-test |
redis_node |
REQUIRED, node level | Node Sequence Number | 1 ,2 |
redis_instances |
REQUIRED, node level | Instance Definition | { 6001 : {} ,6002 : {}} |
Redis Mode
There are three redis_mode
available in Pigsty:
standalone
: setup Redis in standalone (master-slave) modecluster
: setup this Redis cluster as a Redis native clustersentinel
: setup Redis as a sentinel for standalone Redis HA
Here are three examples:
- A 1-node, one master & one slave Redis Standalone cluster:
redis-ms
- A 1-node, 3-instance Redis Sentinel cluster:
redis-sentinel
- A 2-node, 6-instance Redis Cluster:
redis-cluster
redis-ms: # redis classic primary & replica
hosts: { 10.10.10.10: { redis_node: 1 , redis_instances: { 6379: { }, 6380: { replica_of: '10.10.10.10 6379' } } } }
vars: { redis_cluster: redis-ms ,redis_password: 'redis.ms' ,redis_max_memory: 64MB }
redis-meta: # redis sentinel x 3
hosts: { 10.10.10.11: { redis_node: 1 , redis_instances: { 26379: { } ,26380: { } ,26381: { } } } }
vars:
redis_cluster: redis-meta
redis_password: 'redis.meta'
redis_mode: sentinel
redis_max_memory: 16MB
redis_sentinel_monitor: # primary list for redis sentinel, use cls as name, primary ip:port
- { name: redis-ms, host: 10.10.10.10, port: 6379 ,password: redis.ms, quorum: 2 }
redis-test: # redis native cluster: 3m x 3s
hosts:
10.10.10.12: { redis_node: 1 ,redis_instances: { 6379: { } ,6380: { } ,6381: { } } }
10.10.10.13: { redis_node: 2 ,redis_instances: { 6379: { } ,6380: { } ,6381: { } } }
vars: { redis_cluster: redis-test ,redis_password: 'redis.test' ,redis_mode: cluster, redis_max_memory: 32MB }
Limitation
- A Redis node can only belong to one Redis cluster, which means you cannot assign a node to two different Redis clusters simultaneously.
- On each Redis node, you need to assign a unique port number to the Redis instance to avoid port conflicts.
- Typically, the same Redis cluster will use the same password, but multiple Redis instances on a Redis node cannot set different passwords (because redis_exporter only allows one password).
- Redis Cluster has built-in HA, while standalone HA requires manually configured in Sentinel because we are unsure if you have any sentinels available. Fortunately, configuring standalone Redis HA is straightforward: Configure HA with sentinel.
6 - Metrics
REDIS
module has 275 available metrics
Metric Name | Type | Labels | Description |
---|---|---|---|
ALERTS | Unknown | cls , ip , level , severity , instance , category , ins , alertname , job , alertstate |
N/A |
ALERTS_FOR_STATE | Unknown | cls , ip , level , severity , instance , category , ins , alertname , job |
N/A |
redis:cls:aof_rewrite_time | Unknown | cls , job |
N/A |
redis:cls:blocked_clients | Unknown | cls , job |
N/A |
redis:cls:clients | Unknown | cls , job |
N/A |
redis:cls:cmd_qps | Unknown | cls , cmd , job |
N/A |
redis:cls:cmd_rt | Unknown | cls , cmd , job |
N/A |
redis:cls:cmd_time | Unknown | cls , cmd , job |
N/A |
redis:cls:conn_rate | Unknown | cls , job |
N/A |
redis:cls:conn_reject | Unknown | cls , job |
N/A |
redis:cls:cpu_sys | Unknown | cls , job |
N/A |
redis:cls:cpu_sys_child | Unknown | cls , job |
N/A |
redis:cls:cpu_usage | Unknown | cls , job |
N/A |
redis:cls:cpu_usage_child | Unknown | cls , job |
N/A |
redis:cls:cpu_user | Unknown | cls , job |
N/A |
redis:cls:cpu_user_child | Unknown | cls , job |
N/A |
redis:cls:fork_time | Unknown | cls , job |
N/A |
redis:cls:key_evict | Unknown | cls , job |
N/A |
redis:cls:key_expire | Unknown | cls , job |
N/A |
redis:cls:key_hit | Unknown | cls , job |
N/A |
redis:cls:key_hit_rate | Unknown | cls , job |
N/A |
redis:cls:key_miss | Unknown | cls , job |
N/A |
redis:cls:mem_max | Unknown | cls , job |
N/A |
redis:cls:mem_usage | Unknown | cls , job |
N/A |
redis:cls:mem_usage_max | Unknown | cls , job |
N/A |
redis:cls:mem_used | Unknown | cls , job |
N/A |
redis:cls:net_traffic | Unknown | cls , job |
N/A |
redis:cls:qps | Unknown | cls , job |
N/A |
redis:cls:qps_mu | Unknown | cls , job |
N/A |
redis:cls:qps_realtime | Unknown | cls , job |
N/A |
redis:cls:qps_sigma | Unknown | cls , job |
N/A |
redis:cls:rt | Unknown | cls , job |
N/A |
redis:cls:rt_mu | Unknown | cls , job |
N/A |
redis:cls:rt_sigma | Unknown | cls , job |
N/A |
redis:cls:rx | Unknown | cls , job |
N/A |
redis:cls:size | Unknown | cls , job |
N/A |
redis:cls:tx | Unknown | cls , job |
N/A |
redis:env:blocked_clients | Unknown | job |
N/A |
redis:env:clients | Unknown | job |
N/A |
redis:env:cmd_qps | Unknown | cmd , job |
N/A |
redis:env:cmd_rt | Unknown | cmd , job |
N/A |
redis:env:cmd_time | Unknown | cmd , job |
N/A |
redis:env:conn_rate | Unknown | job |
N/A |
redis:env:conn_reject | Unknown | job |
N/A |
redis:env:cpu_usage | Unknown | job |
N/A |
redis:env:cpu_usage_child | Unknown | job |
N/A |
redis:env:key_evict | Unknown | job |
N/A |
redis:env:key_expire | Unknown | job |
N/A |
redis:env:key_hit | Unknown | job |
N/A |
redis:env:key_hit_rate | Unknown | job |
N/A |
redis:env:key_miss | Unknown | job |
N/A |
redis:env:mem_usage | Unknown | job |
N/A |
redis:env:net_traffic | Unknown | job |
N/A |
redis:env:qps | Unknown | job |
N/A |
redis:env:qps_mu | Unknown | job |
N/A |
redis:env:qps_realtime | Unknown | job |
N/A |
redis:env:qps_sigma | Unknown | job |
N/A |
redis:env:rt | Unknown | job |
N/A |
redis:env:rt_mu | Unknown | job |
N/A |
redis:env:rt_sigma | Unknown | job |
N/A |
redis:env:rx | Unknown | job |
N/A |
redis:env:tx | Unknown | job |
N/A |
redis:ins | Unknown | cls , id , instance , ins , job |
N/A |
redis:ins:blocked_clients | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:clients | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:cmd_qps | Unknown | cls , cmd , ip , instance , ins , job |
N/A |
redis:ins:cmd_rt | Unknown | cls , cmd , ip , instance , ins , job |
N/A |
redis:ins:cmd_time | Unknown | cls , cmd , ip , instance , ins , job |
N/A |
redis:ins:conn_rate | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:conn_reject | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:cpu_sys | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:cpu_sys_child | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:cpu_usage | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:cpu_usage_child | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:cpu_user | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:cpu_user_child | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:key_evict | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:key_expire | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:key_hit | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:key_hit_rate | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:key_miss | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:lsn_rate | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:mem_usage | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:net_traffic | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:qps | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:qps_mu | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:qps_realtime | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:qps_sigma | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:rt | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:rt_mu | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:rt_sigma | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:rx | Unknown | cls , ip , instance , ins , job |
N/A |
redis:ins:tx | Unknown | cls , ip , instance , ins , job |
N/A |
redis:node:ip | Unknown | cls , ip , instance , ins , job |
N/A |
redis:node:mem_alloc | Unknown | cls , ip , job |
N/A |
redis:node:mem_total | Unknown | cls , ip , job |
N/A |
redis:node:mem_used | Unknown | cls , ip , job |
N/A |
redis:node:qps | Unknown | cls , ip , job |
N/A |
redis_active_defrag_running | gauge | cls , ip , instance , ins , job |
active_defrag_running metric |
redis_allocator_active_bytes | gauge | cls , ip , instance , ins , job |
allocator_active_bytes metric |
redis_allocator_allocated_bytes | gauge | cls , ip , instance , ins , job |
allocator_allocated_bytes metric |
redis_allocator_frag_bytes | gauge | cls , ip , instance , ins , job |
allocator_frag_bytes metric |
redis_allocator_frag_ratio | gauge | cls , ip , instance , ins , job |
allocator_frag_ratio metric |
redis_allocator_resident_bytes | gauge | cls , ip , instance , ins , job |
allocator_resident_bytes metric |
redis_allocator_rss_bytes | gauge | cls , ip , instance , ins , job |
allocator_rss_bytes metric |
redis_allocator_rss_ratio | gauge | cls , ip , instance , ins , job |
allocator_rss_ratio metric |
redis_aof_current_rewrite_duration_sec | gauge | cls , ip , instance , ins , job |
aof_current_rewrite_duration_sec metric |
redis_aof_enabled | gauge | cls , ip , instance , ins , job |
aof_enabled metric |
redis_aof_last_bgrewrite_status | gauge | cls , ip , instance , ins , job |
aof_last_bgrewrite_status metric |
redis_aof_last_cow_size_bytes | gauge | cls , ip , instance , ins , job |
aof_last_cow_size_bytes metric |
redis_aof_last_rewrite_duration_sec | gauge | cls , ip , instance , ins , job |
aof_last_rewrite_duration_sec metric |
redis_aof_last_write_status | gauge | cls , ip , instance , ins , job |
aof_last_write_status metric |
redis_aof_rewrite_in_progress | gauge | cls , ip , instance , ins , job |
aof_rewrite_in_progress metric |
redis_aof_rewrite_scheduled | gauge | cls , ip , instance , ins , job |
aof_rewrite_scheduled metric |
redis_blocked_clients | gauge | cls , ip , instance , ins , job |
blocked_clients metric |
redis_client_recent_max_input_buffer_bytes | gauge | cls , ip , instance , ins , job |
client_recent_max_input_buffer_bytes metric |
redis_client_recent_max_output_buffer_bytes | gauge | cls , ip , instance , ins , job |
client_recent_max_output_buffer_bytes metric |
redis_clients_in_timeout_table | gauge | cls , ip , instance , ins , job |
clients_in_timeout_table metric |
redis_cluster_connections | gauge | cls , ip , instance , ins , job |
cluster_connections metric |
redis_cluster_current_epoch | gauge | cls , ip , instance , ins , job |
cluster_current_epoch metric |
redis_cluster_enabled | gauge | cls , ip , instance , ins , job |
cluster_enabled metric |
redis_cluster_known_nodes | gauge | cls , ip , instance , ins , job |
cluster_known_nodes metric |
redis_cluster_messages_received_total | gauge | cls , ip , instance , ins , job |
cluster_messages_received_total metric |
redis_cluster_messages_sent_total | gauge | cls , ip , instance , ins , job |
cluster_messages_sent_total metric |
redis_cluster_my_epoch | gauge | cls , ip , instance , ins , job |
cluster_my_epoch metric |
redis_cluster_size | gauge | cls , ip , instance , ins , job |
cluster_size metric |
redis_cluster_slots_assigned | gauge | cls , ip , instance , ins , job |
cluster_slots_assigned metric |
redis_cluster_slots_fail | gauge | cls , ip , instance , ins , job |
cluster_slots_fail metric |
redis_cluster_slots_ok | gauge | cls , ip , instance , ins , job |
cluster_slots_ok metric |
redis_cluster_slots_pfail | gauge | cls , ip , instance , ins , job |
cluster_slots_pfail metric |
redis_cluster_state | gauge | cls , ip , instance , ins , job |
cluster_state metric |
redis_cluster_stats_messages_meet_received | gauge | cls , ip , instance , ins , job |
cluster_stats_messages_meet_received metric |
redis_cluster_stats_messages_meet_sent | gauge | cls , ip , instance , ins , job |
cluster_stats_messages_meet_sent metric |
redis_cluster_stats_messages_ping_received | gauge | cls , ip , instance , ins , job |
cluster_stats_messages_ping_received metric |
redis_cluster_stats_messages_ping_sent | gauge | cls , ip , instance , ins , job |
cluster_stats_messages_ping_sent metric |
redis_cluster_stats_messages_pong_received | gauge | cls , ip , instance , ins , job |
cluster_stats_messages_pong_received metric |
redis_cluster_stats_messages_pong_sent | gauge | cls , ip , instance , ins , job |
cluster_stats_messages_pong_sent metric |
redis_commands_duration_seconds_total | counter | cls , cmd , ip , instance , ins , job |
Total amount of time in seconds spent per command |
redis_commands_failed_calls_total | counter | cls , cmd , ip , instance , ins , job |
Total number of errors prior command execution per command |
redis_commands_latencies_usec_bucket | Unknown | cls , cmd , ip , le , instance , ins , job |
N/A |
redis_commands_latencies_usec_count | Unknown | cls , cmd , ip , instance , ins , job |
N/A |
redis_commands_latencies_usec_sum | Unknown | cls , cmd , ip , instance , ins , job |
N/A |
redis_commands_processed_total | counter | cls , ip , instance , ins , job |
commands_processed_total metric |
redis_commands_rejected_calls_total | counter | cls , cmd , ip , instance , ins , job |
Total number of errors within command execution per command |
redis_commands_total | counter | cls , cmd , ip , instance , ins , job |
Total number of calls per command |
redis_config_io_threads | gauge | cls , ip , instance , ins , job |
config_io_threads metric |
redis_config_maxclients | gauge | cls , ip , instance , ins , job |
config_maxclients metric |
redis_config_maxmemory | gauge | cls , ip , instance , ins , job |
config_maxmemory metric |
redis_connected_clients | gauge | cls , ip , instance , ins , job |
connected_clients metric |
redis_connected_slave_lag_seconds | gauge | cls , ip , slave_ip , instance , slave_state , ins , slave_port , job |
Lag of connected slave |
redis_connected_slave_offset_bytes | gauge | cls , ip , slave_ip , instance , slave_state , ins , slave_port , job |
Offset of connected slave |
redis_connected_slaves | gauge | cls , ip , instance , ins , job |
connected_slaves metric |
redis_connections_received_total | counter | cls , ip , instance , ins , job |
connections_received_total metric |
redis_cpu_sys_children_seconds_total | counter | cls , ip , instance , ins , job |
cpu_sys_children_seconds_total metric |
redis_cpu_sys_main_thread_seconds_total | counter | cls , ip , instance , ins , job |
cpu_sys_main_thread_seconds_total metric |
redis_cpu_sys_seconds_total | counter | cls , ip , instance , ins , job |
cpu_sys_seconds_total metric |
redis_cpu_user_children_seconds_total | counter | cls , ip , instance , ins , job |
cpu_user_children_seconds_total metric |
redis_cpu_user_main_thread_seconds_total | counter | cls , ip , instance , ins , job |
cpu_user_main_thread_seconds_total metric |
redis_cpu_user_seconds_total | counter | cls , ip , instance , ins , job |
cpu_user_seconds_total metric |
redis_db_keys | gauge | cls , ip , instance , ins , db , job |
Total number of keys by DB |
redis_db_keys_expiring | gauge | cls , ip , instance , ins , db , job |
Total number of expiring keys by DB |
redis_defrag_hits | gauge | cls , ip , instance , ins , job |
defrag_hits metric |
redis_defrag_key_hits | gauge | cls , ip , instance , ins , job |
defrag_key_hits metric |
redis_defrag_key_misses | gauge | cls , ip , instance , ins , job |
defrag_key_misses metric |
redis_defrag_misses | gauge | cls , ip , instance , ins , job |
defrag_misses metric |
redis_dump_payload_sanitizations | counter | cls , ip , instance , ins , job |
dump_payload_sanitizations metric |
redis_errors_total | counter | cls , ip , err , instance , ins , job |
Total number of errors per error type |
redis_evicted_keys_total | counter | cls , ip , instance , ins , job |
evicted_keys_total metric |
redis_expired_keys_total | counter | cls , ip , instance , ins , job |
expired_keys_total metric |
redis_expired_stale_percentage | gauge | cls , ip , instance , ins , job |
expired_stale_percentage metric |
redis_expired_time_cap_reached_total | gauge | cls , ip , instance , ins , job |
expired_time_cap_reached_total metric |
redis_exporter_build_info | gauge | cls , golang_version , ip , commit_sha , instance , version , ins , job , build_date |
redis exporter build_info |
redis_exporter_last_scrape_connect_time_seconds | gauge | cls , ip , instance , ins , job |
exporter_last_scrape_connect_time_seconds metric |
redis_exporter_last_scrape_duration_seconds | gauge | cls , ip , instance , ins , job |
exporter_last_scrape_duration_seconds metric |
redis_exporter_last_scrape_error | gauge | cls , ip , instance , ins , job |
The last scrape error status. |
redis_exporter_scrape_duration_seconds_count | Unknown | cls , ip , instance , ins , job |
N/A |
redis_exporter_scrape_duration_seconds_sum | Unknown | cls , ip , instance , ins , job |
N/A |
redis_exporter_scrapes_total | counter | cls , ip , instance , ins , job |
Current total redis scrapes. |
redis_instance_info | gauge | cls , ip , os , role , instance , run_id , redis_version , tcp_port , process_id , ins , redis_mode , maxmemory_policy , redis_build_id , job |
Information about the Redis instance |
redis_io_threaded_reads_processed | counter | cls , ip , instance , ins , job |
io_threaded_reads_processed metric |
redis_io_threaded_writes_processed | counter | cls , ip , instance , ins , job |
io_threaded_writes_processed metric |
redis_io_threads_active | gauge | cls , ip , instance , ins , job |
io_threads_active metric |
redis_keyspace_hits_total | counter | cls , ip , instance , ins , job |
keyspace_hits_total metric |
redis_keyspace_misses_total | counter | cls , ip , instance , ins , job |
keyspace_misses_total metric |
redis_last_key_groups_scrape_duration_milliseconds | gauge | cls , ip , instance , ins , job |
Duration of the last key group metrics scrape in milliseconds |
redis_last_slow_execution_duration_seconds | gauge | cls , ip , instance , ins , job |
The amount of time needed for last slow execution, in seconds |
redis_latency_percentiles_usec | summary | cls , cmd , ip , instance , quantile , ins , job |
A summary of latency percentile distribution per command |
redis_latency_percentiles_usec_count | Unknown | cls , cmd , ip , instance , ins , job |
N/A |
redis_latency_percentiles_usec_sum | Unknown | cls , cmd , ip , instance , ins , job |
N/A |
redis_latest_fork_seconds | gauge | cls , ip , instance , ins , job |
latest_fork_seconds metric |
redis_lazyfree_pending_objects | gauge | cls , ip , instance , ins , job |
lazyfree_pending_objects metric |
redis_loading_dump_file | gauge | cls , ip , instance , ins , job |
loading_dump_file metric |
redis_master_last_io_seconds_ago | gauge | cls , ip , master_host , instance , ins , job , master_port |
Master last io seconds ago |
redis_master_link_up | gauge | cls , ip , master_host , instance , ins , job , master_port |
Master link status on Redis slave |
redis_master_repl_offset | gauge | cls , ip , instance , ins , job |
master_repl_offset metric |
redis_master_sync_in_progress | gauge | cls , ip , master_host , instance , ins , job , master_port |
Master sync in progress |
redis_mem_clients_normal | gauge | cls , ip , instance , ins , job |
mem_clients_normal metric |
redis_mem_clients_slaves | gauge | cls , ip , instance , ins , job |
mem_clients_slaves metric |
redis_mem_fragmentation_bytes | gauge | cls , ip , instance , ins , job |
mem_fragmentation_bytes metric |
redis_mem_fragmentation_ratio | gauge | cls , ip , instance , ins , job |
mem_fragmentation_ratio metric |
redis_mem_not_counted_for_eviction_bytes | gauge | cls , ip , instance , ins , job |
mem_not_counted_for_eviction_bytes metric |
redis_memory_max_bytes | gauge | cls , ip , instance , ins , job |
memory_max_bytes metric |
redis_memory_used_bytes | gauge | cls , ip , instance , ins , job |
memory_used_bytes metric |
redis_memory_used_dataset_bytes | gauge | cls , ip , instance , ins , job |
memory_used_dataset_bytes metric |
redis_memory_used_lua_bytes | gauge | cls , ip , instance , ins , job |
memory_used_lua_bytes metric |
redis_memory_used_overhead_bytes | gauge | cls , ip , instance , ins , job |
memory_used_overhead_bytes metric |
redis_memory_used_peak_bytes | gauge | cls , ip , instance , ins , job |
memory_used_peak_bytes metric |
redis_memory_used_rss_bytes | gauge | cls , ip , instance , ins , job |
memory_used_rss_bytes metric |
redis_memory_used_scripts_bytes | gauge | cls , ip , instance , ins , job |
memory_used_scripts_bytes metric |
redis_memory_used_startup_bytes | gauge | cls , ip , instance , ins , job |
memory_used_startup_bytes metric |
redis_migrate_cached_sockets_total | gauge | cls , ip , instance , ins , job |
migrate_cached_sockets_total metric |
redis_module_fork_in_progress | gauge | cls , ip , instance , ins , job |
module_fork_in_progress metric |
redis_module_fork_last_cow_size | gauge | cls , ip , instance , ins , job |
module_fork_last_cow_size metric |
redis_net_input_bytes_total | counter | cls , ip , instance , ins , job |
net_input_bytes_total metric |
redis_net_output_bytes_total | counter | cls , ip , instance , ins , job |
net_output_bytes_total metric |
redis_number_of_cached_scripts | gauge | cls , ip , instance , ins , job |
number_of_cached_scripts metric |
redis_process_id | gauge | cls , ip , instance , ins , job |
process_id metric |
redis_pubsub_channels | gauge | cls , ip , instance , ins , job |
pubsub_channels metric |
redis_pubsub_patterns | gauge | cls , ip , instance , ins , job |
pubsub_patterns metric |
redis_pubsubshard_channels | gauge | cls , ip , instance , ins , job |
pubsubshard_channels metric |
redis_rdb_bgsave_in_progress | gauge | cls , ip , instance , ins , job |
rdb_bgsave_in_progress metric |
redis_rdb_changes_since_last_save | gauge | cls , ip , instance , ins , job |
rdb_changes_since_last_save metric |
redis_rdb_current_bgsave_duration_sec | gauge | cls , ip , instance , ins , job |
rdb_current_bgsave_duration_sec metric |
redis_rdb_last_bgsave_duration_sec | gauge | cls , ip , instance , ins , job |
rdb_last_bgsave_duration_sec metric |
redis_rdb_last_bgsave_status | gauge | cls , ip , instance , ins , job |
rdb_last_bgsave_status metric |
redis_rdb_last_cow_size_bytes | gauge | cls , ip , instance , ins , job |
rdb_last_cow_size_bytes metric |
redis_rdb_last_save_timestamp_seconds | gauge | cls , ip , instance , ins , job |
rdb_last_save_timestamp_seconds metric |
redis_rejected_connections_total | counter | cls , ip , instance , ins , job |
rejected_connections_total metric |
redis_repl_backlog_first_byte_offset | gauge | cls , ip , instance , ins , job |
repl_backlog_first_byte_offset metric |
redis_repl_backlog_history_bytes | gauge | cls , ip , instance , ins , job |
repl_backlog_history_bytes metric |
redis_repl_backlog_is_active | gauge | cls , ip , instance , ins , job |
repl_backlog_is_active metric |
redis_replica_partial_resync_accepted | gauge | cls , ip , instance , ins , job |
replica_partial_resync_accepted metric |
redis_replica_partial_resync_denied | gauge | cls , ip , instance , ins , job |
replica_partial_resync_denied metric |
redis_replica_resyncs_full | gauge | cls , ip , instance , ins , job |
replica_resyncs_full metric |
redis_replication_backlog_bytes | gauge | cls , ip , instance , ins , job |
replication_backlog_bytes metric |
redis_second_repl_offset | gauge | cls , ip , instance , ins , job |
second_repl_offset metric |
redis_sentinel_master_ckquorum_status | gauge | cls , ip , message , instance , ins , master_name , job |
Master ckquorum status |
redis_sentinel_master_ok_sentinels | gauge | cls , ip , instance , ins , master_address , master_name , job |
The number of okay sentinels monitoring this master |
redis_sentinel_master_ok_slaves | gauge | cls , ip , instance , ins , master_address , master_name , job |
The number of okay slaves of the master |
redis_sentinel_master_sentinels | gauge | cls , ip , instance , ins , master_address , master_name , job |
The number of sentinels monitoring this master |
redis_sentinel_master_setting_ckquorum | gauge | cls , ip , instance , ins , master_address , master_name , job |
Show the current ckquorum config for each master |
redis_sentinel_master_setting_down_after_milliseconds | gauge | cls , ip , instance , ins , master_address , master_name , job |
Show the current down-after-milliseconds config for each master |
redis_sentinel_master_setting_failover_timeout | gauge | cls , ip , instance , ins , master_address , master_name , job |
Show the current failover-timeout config for each master |
redis_sentinel_master_setting_parallel_syncs | gauge | cls , ip , instance , ins , master_address , master_name , job |
Show the current parallel-syncs config for each master |
redis_sentinel_master_slaves | gauge | cls , ip , instance , ins , master_address , master_name , job |
The number of slaves of the master |
redis_sentinel_master_status | gauge | cls , ip , master_status , instance , ins , master_address , master_name , job |
Master status on Sentinel |
redis_sentinel_masters | gauge | cls , ip , instance , ins , job |
The number of masters this sentinel is watching |
redis_sentinel_running_scripts | gauge | cls , ip , instance , ins , job |
Number of scripts in execution right now |
redis_sentinel_scripts_queue_length | gauge | cls , ip , instance , ins , job |
Queue of user scripts to execute |
redis_sentinel_simulate_failure_flags | gauge | cls , ip , instance , ins , job |
Failures simulations |
redis_sentinel_tilt | gauge | cls , ip , instance , ins , job |
Sentinel is in TILT mode |
redis_slave_expires_tracked_keys | gauge | cls , ip , instance , ins , job |
slave_expires_tracked_keys metric |
redis_slave_info | gauge | cls , ip , master_host , instance , read_only , ins , job , master_port |
Information about the Redis slave |
redis_slave_priority | gauge | cls , ip , instance , ins , job |
slave_priority metric |
redis_slave_repl_offset | gauge | cls , ip , master_host , instance , ins , job , master_port |
Slave replication offset |
redis_slowlog_last_id | gauge | cls , ip , instance , ins , job |
Last id of slowlog |
redis_slowlog_length | gauge | cls , ip , instance , ins , job |
Total slowlog |
redis_start_time_seconds | gauge | cls , ip , instance , ins , job |
Start time of the Redis instance since unix epoch in seconds. |
redis_target_scrape_request_errors_total | counter | cls , ip , instance , ins , job |
Errors in requests to the exporter |
redis_total_error_replies | counter | cls , ip , instance , ins , job |
total_error_replies metric |
redis_total_reads_processed | counter | cls , ip , instance , ins , job |
total_reads_processed metric |
redis_total_system_memory_bytes | gauge | cls , ip , instance , ins , job |
total_system_memory_bytes metric |
redis_total_writes_processed | counter | cls , ip , instance , ins , job |
total_writes_processed metric |
redis_tracking_clients | gauge | cls , ip , instance , ins , job |
tracking_clients metric |
redis_tracking_total_items | gauge | cls , ip , instance , ins , job |
tracking_total_items metric |
redis_tracking_total_keys | gauge | cls , ip , instance , ins , job |
tracking_total_keys metric |
redis_tracking_total_prefixes | gauge | cls , ip , instance , ins , job |
tracking_total_prefixes metric |
redis_unexpected_error_replies | counter | cls , ip , instance , ins , job |
unexpected_error_replies metric |
redis_up | gauge | cls , ip , instance , ins , job |
Information about the Redis instance |
redis_uptime_in_seconds | gauge | cls , ip , instance , ins , job |
uptime_in_seconds metric |
scrape_duration_seconds | Unknown | cls , ip , instance , ins , job |
N/A |
scrape_samples_post_metric_relabeling | Unknown | cls , ip , instance , ins , job |
N/A |
scrape_samples_scraped | Unknown | cls , ip , instance , ins , job |
N/A |
scrape_series_added | Unknown | cls , ip , instance , ins , job |
N/A |
up | Unknown | cls , ip , instance , ins , job |
N/A |
7 - FAQ
ABORT due to existing redis instance
use
redis_clean = true
andredis_safeguard = false
to force clean redis data
This happens when you run redis.yml
to init a redis instance that is already running, and redis_clean
is set to false
.
If redis_clean
is set to true
(and the redis_safeguard
is set to false
, too), the redis.yml
playbook will remove the existing redis instance and re-init it as a new one, which makes the redis.yml
playbook fully idempotent.
ABORT due to redis_safeguard enabled
This happens when removing a redis instance with
redis_safeguard
set totrue
.
You can disable redis_safeguard
to remove the Redis instance. This is redis_safeguard is what it is for.
How to add a single new redis instance on this node?
Use
bin/redis-add <ip> <port>
to deploy a new redis instance on node.
How to remove a single redis instance from the node?
bin/redis-rm <ip> <port>
to remove a single redis instance from node