Schedule demo

Uninstall APM Insight Python Agent


To uninstall APM Insight Python agent, follow the steps given below:

  1. Go to the virtual environment if you are using one.
  2. Uninstall the APM Insight package using the following command:

    pip uninstall apminsight

  3. For Django applications, remove apminsight.contrib.django and the configuration variables you have added to the application's settings.py file.
  4. For other applications, remove the code snippet from the main file of your application.

    "initialize_agent({

            "appname" : xxxxxxxxxx,

            "app_port" : xxxxxxxxxx

       xxxxxxxxxx

       xxxxxxxxxx"

  5. Restart your application.
Note:
  • The dependency packages (requests and urllib3) associated with the agent will not be removed. You need to manually uninstall them if they are no longer required.
  • The agent-related environment variables and logs will not be deleted automatically. Delete the apminsightdata log folder present in your application directory and unset any exported environment variables that were set up during the agent's installation.

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.

Reviewer Role: Research and Development

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by over 6000+ businesses globally