This module periodically fetches metrics from Redis servers.
Module-Specific Configuration Notesedit
The Redis module has these additional config options:
The duration to remain idle before closing connections. If
the value is zero, then idle connections are not closed. The default value
is 2 times the module period to allow a connection to be reused across
idle_timeoutshould be set to less than the server’s connection timeout.
The network type to be used for the Redis connection. The default value is
- The maximum number of concurrent connections to Redis. The default value is 10.
The Redis metricsets were tested with Redis 3.2.4 and are expected to work with all version >= 3.0.
The Redis module supports the standard configuration options that are described in Modules. Here is an example configuration:
metricbeat.modules: - module: redis metricsets: ["info"] enabled: true period: 10s # Redis hosts hosts: ["127.0.0.1:6379"]
The following metricsets are available: