DevOps Monitor Configuration

How to configure the RevDeBug DevOps Monitor server

Estimated reading time: 1 min

Last edited: 04 Nov 2019

There are some ways in which you can configure RevDeBug DevOps Monitor server. Keep in mind, that all the changes need to be done during creation of the container. If you want to change the configuration at any point, you need to restart the container.

The Recording Mode

One of the most frequently changed option is the CONTINUOUS_CONNECTION_STARTUP_MODE. With this variable you can change the default recording mode in which your applications will be recorded. The possible values are:

  • standby - standby mode, which means that nothing will be recorded until you change the recording mode manually through RevDeBug IDE Extention
  • crash - crash recording mode, in which only the recording of a crash and preceding events will be made
  • live - live recording mode - everything will be recorded right from the start

Example of usage - Recording mode is set to a crash recording mode

sudo docker run -d --name rdb_server_node -p 42733-42734:42733-42734 -p 5000:5000 -v /var/revdebug/server/repo:/app/RevDeBug:rw -e REVDEBUG_AUTH='[RevDeBug ID Access Hash]' -e CONTINUOUS_CONNECTION_STARTUP_MODE='crash' docker.revdebug.com/server
Maximum total recordings size

If you are worried, that there is too little space on your server, you can limit the total size of recording storage. Keep in mind, that if the size of all recordings exceeds the specified amount, OLDEST recordings will be DELETED. The storage size should be specified in gigabytes (GB).

Example of usage - to limit the storage to 150GB:

sudo docker run -d --name rdb_server_node -p 42733-42734:42733-42734 -p 5000:5000 -v /var/revdebug/server/repo:/app/RevDeBug:rw -e REVDEBUG_AUTH='[RevDeBug ID Access Hash]' -e CONTINUOUS_CONNECTION_STARTUP_MODE='crash' -e MAX_RECORDINGS_SIZE='150' docker.revdebug.com/server
Retention period

Another method to limit the size of recordings’ storage is the Retention period. This means, that after a specified amount of days, the recording will be DELETED.

Example of usage - let’s delete all the recordings, that are older than 30 days:

sudo docker run -d --name rdb_server_node -p 42733-42734:42733-42734 -p 5000:5000 -v /var/revdebug/server/repo:/app/RevDeBug:rw -e REVDEBUG_AUTH='[RevDeBug ID Access Hash]' -e CONTINUOUS_CONNECTION_STARTUP_MODE='crash' -e RECORDINGS_RETENTION_PERIOD='30' docker.revdebug.com/server