Monitoris is a real-time monitoring tool for Redis.
This client allows you to securely connect your Redis instance with Monitoris Cloud.
- Download the latest binary file from GitHub releases
- Copy the following content in a file named
.env
in the same directory as the binary file.
{
"proxy": "wss://proxy.monitoris.app/socket",
"instance": {
"id": "",
"secret": ""
},
"redis": {
"host": "localhost",
"port": 6379,
"password": ""
},
"httpProxy": {
"enabled": false,
"url": ""
}
}
- Edit the configuration file named
.env
:- instance: the id and secret of your instance (available in Monitoris Instances view)
- redis: the connection information of your Redis server (see ioredis API)
- httpProxy: only needed if your Redis server is behind a corporate proxy
- Start the client:
./client-XYZ
- Download the content of this repository: master.zip
- Install the dependencies:
npm install
- Edit the configuration file named
.env
:- instance: the id and secret of your instance (available in Monitoris Instances view)
- redis: the connection information of your Redis server (see ioredis API)
- httpProxy: only needed if your Redis server is behind a corporate proxy
- Start the client:
npm start
Code | Reason |
---|---|
400 | The instance id and/or the secret are null or empty |
403 | The secret is incorrect |
404 | The instance id is incorrect or the instance type is not 'proxy' |
409 | The instance is not enabled or a websocket connection for the same instance already exists |
The license is: MIT.