Uninstall Auto-Instrumentation from an Instrumented Application

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 using the nsToInstrument , nsToInstrumentRegex , instrumentationMatchString 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.
    Kubernetes CLI
    kubectl apply -f cluster-agent.yaml
    Helm Chart
    helm upgrade -f ./ca1-values.yaml "<my-cluster-agent-helm-release>" appdynamics-charts/cluster-agent --namespace appdynamics
  3. Delete and re-create the application deployment.