Search code examples
asp.netvisual-studio-2013azure-application-insights

Remove Application Insight from application on Visual Studio 2013


On Visual Studio I added application insight to a project which creates a ApplicationInsights.config and not sure what other files were added to the project.

Thing is, doing right click and press Add Application Insight was pretty straight forward. Now I'm looking with no success a way to remove the application insight for that project.

How can I achieve that?

On production server, using DebugView, I see the telemetry logs, even after shutting down the Application Monitor Services on the server.

I want to completely get rid of Application Insights on that application.


Solution

  • Unless I'm misunderstanding the question, you should only have to remove one extension and possibly one NuGet package.

    Uninstall the Application Insights Tools for Visual Studio extension and remove the Application Telemetry SDK for Services NuGet package. The telemetry package is installed along with Application Insights but must be removed separately.

    In my experience the telemetry package is not required if you wish to keep using Application Insights' other features. Removing the telemetry package will stop all telemetry logging but Application Insights will continue to report non-telemetry information just fine.