Get metrics from Redis's Sentinel service in real time to:
- Visualize and monitor sentinels states
- Be notified about failovers
The Redis's Sentinel check is NOT included in the Datadog Agent package.
If you are using Agent v6.8+ follow the instructions below to install the Redis's Sentinel check on your host. See our dedicated Agent guide for installing community integrations to install checks with the Agent prior v6.8 or the Docker Agent:
-
Install the developer toolkit.
-
Clone the integrations-extras repository:
git clone https://github.com/DataDog/integrations-extras.git.
-
Update your
ddev
config with theintegrations-extras/
path:ddev config set extras ./integrations-extras
-
To build the
redis_sentinel
package, run:ddev -e release build redis_sentinel
-
Run the following command to install the integrations wheel with the Agent:
datadog-agent integration install -w <PATH_OF_REDIS_SENTINEL_ARTIFACT_>/<REDIS_SENTINEL_ARTIFACT_NAME>.whl
-
Configure your integration like any other packaged integration.
-
Edit the
redis_sentinel.d/conf.yaml
file in theconf.d/
folder at the root of your Agent's configuration directory to start collecting your Redis Sentinel metrics. See the sample upsc.d/conf.yaml for all available configuration options.
Run the Agent's status
subcommand and look for redis_sentinel
under the Checks section.
See metadata.csv for a list of metrics provided by this check.
The Redis's Sentinel check does not include any events.
redis.sentinel.master_is_down
The check returns:
OK
if the master is up.CRITICAL
if the master is down.
redis.sentinel.master_is_disconnected
The check returns:
OK
if the master is not disconnected.CRITICAL
if the master is disconnected.
redis.sentinel.slave_master_link_down
The check returns:
OK
if the master link status is ok.CRITICAL
if the master link status is not ok.
redis.sentinel.slave_is_disconnected
The check returns:
OK
if the slave is not disconnected.CRITICAL
if the slave is disconnected.
Need help? Contact Datadog support.