Docker Container
Create an integration.json file and mount it as a volume:
[
{
"service": "redis",
"monitor": true,
"host": "127.0.0.1",
"port": "6379",
"password": ""
},
{
"service": "redis",
"monitor": true,
"host": "127.0.0.1",
"port": "6380",
"password": ""
}
]
Then run the container:
docker run -d \
--name watchlog-agent \
--network host \
-v /path/to/integration.json:/app/app/config/integration.json \
-e WATCHLOG_APIKEY="YOUR_APIKEY" \
-e WATCHLOG_SERVER="https://log.watchlog.io" \
watchlog/agent:latest
Multiple Redis Instances
You can monitor multiple Redis instances by adding multiple entries with the same service name. Each instance is automatically identified by its host:port combination.
