This page describes how to uninstall instrumentation changes from an application that has been auto-instrumented using the Cluster Agent.

Uninstall Auto-Instrumentation

  1. To remove the application from auto-instrumentation scope, update cluster-agent.yaml by using the nsToInstrumentnsToInstrumentRegexinstrumentationMatchString and labelMatch properties (depending on which properties you initially used). 
    To completely disable auto-instrumentation, set the instrumentationMethod to None. See Auto-Instrument Applications with the Cluster Agent
  2. To update the auto-instrumentation configuration, apply or upgrade the Cluster Agent.

    kubectl apply -f cluster-agent.yaml
    BASH
    helm upgrade -f ./ca1-values.yaml "<my-cluster-agent-helm-release>" appdynamics-charts/cluster-agent --namespace appdynamics
    BASH
  3. Delete and re-create the application deployment.