Update agents with the Flex Agent
The Flex Agent includes the latest, supported language, agents (at the time of the Flex Agent release). The currently supported languages are:
.NET Core
Java
Node.js
Python
Use these procedures to manage agent versions and download newer versions as needed.
How the Flex Agent works
When you update agents with the Flex Agent, it accesses the agent's public repository and queries for the latest version. If that agent version is not currently installed on your system, the Flex Agent downloads that version.
When you update to the latest version, the updated agent becomes the default agent that attaches to any new process on the host.
Steps for updating with the Flex Agent
Display a list of available agents, their versions, and locations in the file system:
To see a list of all available agents, use this command:
contrast-flex agents
To see a list of available agents for a specific agent, use this command:
contrast-flex agents ${language}
Replace
language
with the one of these values:dotnet-core
,java
,node
, orpython
.
Update the agents:
To update agents of a specific language to the the latest version, use this command:
contrast-flex agents ${language} update
Replace
language
with one of these values:dotnet-core
,java
,node
, orpython
.To specify a specific version that you want to update to (instead of the latest version), use this command:
contrast-flex agents ${language} update ${version}
Replace
version
with the version number you want to use.