从 Visual Studio 2013 上的应用程序中删除 Application Insight [英] Remove Application Insight from application on Visual Studio 2013

查看:13
本文介绍了从 Visual Studio 2013 上的应用程序中删除 Application Insight的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Visual Studio 上,我将应用程序洞察添加到一个项目中,该项目创建了一个 ApplicationInsights.config,但不确定向项目中添加了哪些其他文件.

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 ?

在生产服务器上,使用 DebugView,我看到遥测日志,即使在关闭服务器上的应用程序监视器服务之后也是如此.

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

感谢任何帮助,我想完全摆脱对该应用程序的应用程序洞察.

Any help is appreciated, I want to completely get rid of application insight on that application.

推荐答案

除非我误解了这个问题,否则您应该只需要删除一个扩展程序和可能的一个 nuget 包.

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

卸载 Application Insights Tools for Visual Studio 扩展并删除 Application Telemetry SDK for Services nuget 包.遥测包与 Application Insights 一起安装,但必须单独删除.

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.

根据我的经验,如果您希望继续使用 Application Insights 的其他功能,则不需要遥测包.删除遥测包将停止所有遥测日志记录,但 Application Insights 将继续报告非遥测信息.

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.

这篇关于从 Visual Studio 2013 上的应用程序中删除 Application Insight的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆