Upgrade agents

To upgrade the Contrast agents, you can either download an agent through the Contrast web interface, or download a new agent from , and copy the individual agent artifact(s) to a directory on the Contrast application. No restart of the application is required; the agent artifact dynamically reloads and becomes accessible for download.

On-premises installations of Contrast are automatically configured to support a new directory: $CONTRAST_HOME/data/agents. This directory includes sub-directories for each of the agent languages.

drwxr-xr-x  9 contrast_service contrast_service 4096 Nov 11 19:02 ./
drwxr-xr-x 16 contrast_service contrast_service 4096 Feb 10 23:10 ../
drwxr-xr-x  8 contrast_service contrast_service 4096 Jul 10  2019 contrast-service/
drwxr-xr-x  2 contrast_service contrast_service 4096 Feb 25 20:35 dotnet/
drwxr-xr-x  2 contrast_service contrast_service 4096 Feb 10 23:10 dotnet-core/
drwxr-xr-x  3 contrast_service contrast_service 4096 Feb 10 23:10 java/
drwxr-xr-x  2 contrast_service contrast_service 4096 Feb 10 23:10 node/
drwxr-xr-x  2 contrast_service contrast_service 4096 Jul 10  2019 python/
drwxr-xr-x  4 contrast_service contrast_service 4096 Jul 10  2019 ruby/contrast-service@dev1eop1:~/contrast/data/agents$ ls -lrta
drwxrwxr-x  2 contrast-service contrast-service 4096 Apr 25 19:59 node
drwxrwxr-x  2 contrast-service contrast-service 4096 Apr 25 19:59 java
drwxrwxr-x  2 contrast-service contrast-service 4096 Apr 25 19:59 dotnet
drwxrwxr-x  6 contrast-service contrast-service 4096 Apr 25 19:59 .
drwxr-xr-x 13 contrast-service contrast-service 4096 Apr 25 20:01 ..

Agents are provided from  and occasionally as a patch through Contrast's Support portal. You can download the agent from one of those two locations, and copy it to the server hosting the Contrast application. Place it in the directory $CONTRAST_HOME/data/agents/agentName. As mentioned above, no restart is necessary.