WARNING: Version 5.4 of Metricbeat has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Redis Module
editRedis Module
editThis module periodically fetches metrics from Redis servers.
Module-Specific Configuration Notes
editThe Redis module has these additional config options:
-
password
- The password to authenticate, by default it’s empty.
-
idle_timeout
-
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
fetches. The
idle_timeout
should be set to less than the server’s connection timeout. -
network
-
The network type to be used for the Redis connection. The default value is
tcp
. -
maxconn
- The maximum number of concurrent connections to Redis. The default value is 10.
Compatibility
editThe Redis metricsets were tested with Redis 3.2.4 and are expected to work with all version >= 3.0.
Example Configuration
editThe 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"]
Metricsets
editThe following metricsets are available: