Skip to content

Update or Remove an Agent

Observability agents consist of a Docker image and a set of configuration variables. This allows each agent to exist as a distinct container that includes all the scripts, configuration values, and files necessary to operate.

Update an agent

It's not recommended to make changes to the .sh file directly. To update the image tag or variable values, repeat the configuration process to generate a new deployment script. Then, use the new script to redeploy the agent — the new values will overwrite the current configuration.

It's not recommended to make changes to the .sh file directly. To update the image tag or variable values, repeat the configuration process to generate a new deployment script. Then, use the new script to redeploy the agent — the new values will overwrite the current configuration.

You can Edit and deploy updates to existing properties or environment variables in an Azure container instance .

Navigate to the container in your Azure portal and make changes as needed. Alternatively, you can create a new instance with different properties and remove the original container.

Remove an agent

Run the following to tear down a locally deployed agent:

./deploy-agent-<tool>.sh cleanup

Replace <tool> with the name of the tool.

Run the following to tear down an agent deployed in Kubernetes:

./deploy-agent-<tool>.sh cleanup

Replace <tool> with the name of the tool.

Remove the instance from your Azure environment. Follow the steps in Microsoft's documentation: Clean up resources .