--- Title: redis-di monitor aliases: null alwaysopen: false categories: - docs - integrate - rs - rdi description: Monitors Write-behind by collecting metrics and exporting to Prometheus group: di linkTitle: redis-di monitor summary: Redis Data Integration keeps Redis in sync with the primary database in near real time. type: integration weight: 10 --- ## Usage ``` Usage: redis-di monitor [OPTIONS] ``` ## Options - `loglevel`: - Type: Choice(['DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL']) - Default: `info` - Usage: `--loglevel -log-level` - `rdi_host` (REQUIRED): - Type: STRING - Default: `none` - Usage: `--rdi-host` Host/IP of Write-behind Database - `rdi_port` (REQUIRED): - Type: - Default: `none` - Usage: `--rdi-port` Port of Write-behind Database - `rdi_password`: - Type: STRING - Default: `none` - Usage: `--rdi-password` Write-behind Database Password - `rdi_key`: - Type: STRING - Default: `none` - Usage: `--rdi-key` Private key file to authenticate with - `rdi_cert`: - Type: STRING - Default: `none` - Usage: `--rdi-cert` Client certificate file to authenticate with - `rdi_cacert`: - Type: STRING - Default: `none` - Usage: `--rdi-cacert` CA certificate file to verify with - `rdi_key_password`: - Type: STRING - Default: `none` - Usage: `--rdi-key-password` Password for unlocking an encrypted private key - `exporter_port`: - Type: - Default: `9121` - Usage: `--exporter-port` HTTP port to start the exporter on - `collect_interval`: - Type: - Default: `5` - Usage: `--collect-interval` Metrics collection interval (seconds) - `help`: - Type: BOOL - Default: `false` - Usage: `--help` Show this message and exit. ## CLI help ``` Usage: redis-di monitor [OPTIONS] Monitors Write-behind by collecting metrics and exporting to Prometheus Options: -log-level, --loglevel [DEBUG|INFO|WARN|ERROR|CRITICAL] [default: INFO] --rdi-host TEXT Host/IP of Write-behind Database [required] --rdi-port INTEGER RANGE Port of Write-behind Database [1000<=x<=65535; required] --rdi-password TEXT Write-behind Database Password --rdi-key TEXT Private key file to authenticate with --rdi-cert TEXT Client certificate file to authenticate with --rdi-cacert TEXT CA certificate file to verify with --rdi-key-password TEXT Password for unlocking an encrypted private key --exporter-port INTEGER RANGE HTTP port to start the exporter on [1000<=x<=65535] --collect-interval INTEGER RANGE Metrics collection interval (seconds) [1<=x<=60] --help Show this message and exit. ```