什么是应用程序洞察遥测(未配置)在做什么?

时间:2016-04-20 02:45:38

标签: asp.net-mvc azure-application-insights telemetry

我正在VS 2015中运行MVC应用。在调试模式下,一切正常,直到我尝试创建新用户。

创建表单也可用于保存按钮。但新数据未显示在索引中,但新的编辑/详细信息/删除是索引。

输出告诉: 应用程序见解遥测(重新配置):

  

{ “名称”: “Microsoft.ApplicationInsights.Dev.PerformanceCounter”, “时间”: “2016-04-20T10:41:44.1380123 + 08:00”, “标签”:{ “ai.internal.sdkVersion” : “1.2.3.490”, “ai.device.roleInstance”: “KL-PT-049.icarasia.local”, “ai.application.ver”: “未知”, “ai.device.type”: “PC” “ai.device.id”: “KL-PT-049.icarasia.local”, “ai.device.oemName”: “惠普”, “ai.device.model”:“HP   的ProBook   4440s “ ”ai.device.network“: ”Wireless80211“, ”ai.device.language“: ”EN-MY“}, ”数据“:{ ”基本类型“: ”PerformanceCounterData“, ”baseData“:{” 版本“:2”,类别名称 “:” 处理器 “ ”counterName“:” %   处理器   时间”, “实例名”: “_总”, “值”:23.789436340332, “属性”:{ “DeveloperMode”: “真”}}}}

我想知道创建用户和应用程序洞察遥测之间有什么关系吗?感谢

Click here for picture

1 个答案:

答案 0 :(得分:12)

不,它没有关系。您通过安装nuget nuget软件包启用了Application Insights,但未通过提供检测密钥对其进行配置。

因此,在调试Application Insights中,会收集遥测数据(在您的情况下,它是一个性能计数器),但不会在任何地方发送。

VS 2015中的Application Insights Hub会监听这些事件,并为分析事件提供了很好的用户界面(/path/to/spark/conf/spark-default.conf - > View - > Other Windows)。

如果您喜欢提供的见解,则应创建Azure资源并将iKey添加到应用程序洞察配置(Getting Started)。如果你觉得它没用 - 卸载nuget包。