我在控制台应用中使用Application Insights。它将遥测数据发送给AI,但门户网站中只显示了一小部分数据。这可能是什么?这是一个永远不会显示的记录示例。 (从VS输出窗口获得)
应用洞察遥测: {"名称":" Microsoft.ApplicationInsights.Dev.261308a6f9424edfa10a1fd921e5e963.Exception""时间":" 2015-10-06T09:42:32.6589782+ 02:00""的iKey":" 261308a6-f942-4edf-A10A-1fd921e5e963""标记" {" ai.internal .sdkVersion":" 1.2.0.5639"" ai.user.id":" C"" ai.session.id&# 34;:" 58923b9e-fa43-474f-b491-b494ab724f03"" ai.device.osVersion":"微软 Windows NT 6.2.9200.0"" ai.device.roleInstance":" CWB-XPS"" ai.application.ver":"&未知#34;" ai.device.type":" PC"" ai.device.id":" CWB-XPS&#34 ;, " ai.device.oemName":"戴尔 公司"" ai.device.model":" XPS 2720"" ai.device.network":"以太网"" ai.device.language":" NB-NO" },"数据" {"碱基类型":" ExceptionData"" baseData" {"版本":2 " handledAt":" USERCODE""属性" {"消息":" GuardSystems - TESTER EXCEPTION"," Exeption":" System.FormatException:输入字符串的格式不正确。\ r \ n at System.Number.StringToNumber(String str,NumberStyles选项, NumberBuffer&安培; number,NumberFormatInfo info,Boolean parseDecimal)\ r \ n 在System.Number.ParseInt32(String s,NumberStyles样式, NumberFormatInfo信息)\ r \ n在System.Int32.Parse(String s)\ r \ n at C:\ Visual中的SafeFinans.GuardSystems.Program.Main(String [] args) 工作室 在线\ SafeFinans \ SafeFinans.GuardSystems \ SafeFinans.GuardSystems \的Program.cs:行 23 \ r \ n在System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly,String [] args)\ r \ n at System.AppDomain.ExecuteAssembly(String assemblyFile,Evidence assemblySecurity,String [] args)\ r \ n at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly(个)\ r \ n 在System.Threading.ThreadHelper.ThreadStart_Context(对象状态)\ r \ n 在System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext,ContextCallback回调,对象状态,布尔值 preserveSyncCtx)\ r \ n at System.Threading.ExecutionContext.Run(Executio"" CallerType":" SafeFinans.GuardSystems.Program"" CallerName":" CurrentDomain_UnhandledException&# 34;," DeveloperMode":"真"}"例外":[{" ID":2389992,"的typeName&# 34;:" System.FormatException""消息":"输入 字符串不正确 。格式"" hasFullStack":真," parsedStack":[{"电平":0,"方法":& #34; System.Number.StringToNumber""组装":" mscorlib程序, 版本= 4.0.0.0,文化=中立, 公钥= b77a5c561934e089"},{"电平":1,"方法":" System.Number.ParseInt32""组装" :" mscorlib程序, 版本= 4.0.0.0,文化=中立, 公钥= b77a5c561934e089"},{"电平":2"方法":" System.Int32.Parse""组装" :" mscorlib程序, 版本= 4.0.0.0,文化=中立, 公钥= b77a5c561934e089"},{"电平":3,"方法":" SafeFinans.GuardSystems.Program.Main""组装&# 34;:" SafeFinans.GuardSystems, 版本= 1.0.0.0,文化=中立, PublicKeyToken = null"," fileName":" C:\ Visual Studio 在线\ SafeFinans \ SafeFinans.GuardSystems \ SafeFinans.GuardSystems \ Program.cs的""线":23},{"电平&#34:4,"方法&#34 ;:" System.AppDomain._nExecuteAssembly""组装":" mscorlib程序, 版本= 4.0.0.0,文化=中立, 公钥= b77a5c561934e089"},{"电平":5,"方法":" System.AppDomain.ExecuteAssembly""组装" :" mscorlib程序, 版本= 4.0.0.0,文化=中立, 公钥= b77a5c561934e089"},{"电平":6,"方法":" Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly""组件":" Microsoft.VisualStudio.HostingProcess.Utilities, 版本= 14.0.0.0,文化=中立, 公钥= b03f5f7f11d50a3a"},{"电平":7,"方法":" System.Threading.ThreadHelper.ThreadStart_Context""组装&# 34;:" mscorlib程序, 版本= 4.0.0.0,文化=中立, 公钥= b77a5c561934e089"},{"电平":8,"方法":" System.Threading.ExecutionContext.RunInternal""组装&# 34;:" mscorlib程序, 版本= 4.0.0.0,文化=中立, 公钥= b77a5c561934e089"},{"电平":9,"方法":" System.Threading.ExecutionContext.Run""组装&# 34;:" mscorlib程序, 版本= 4.0.0.0,文化=中立, 公钥= b77a5c561934e089"},{"电平":10,"方法":" System.Threading.ExecutionContext.Run""组装&# 34;:" mscorlib程序, 版本= 4.0.0.0,文化=中立, 公钥= b77a5c561934e089"},{"电平":11,"方法":" System.Threading.ThreadHelper.ThreadStart""组装&# 34;:" mscorlib程序, 版本= 4.0.0.0,文化=中立, 公钥= b77a5c561934e089"}]}]}}}
但不知何故,这在protal中可见
应用洞察遥测: {"名称":" Microsoft.ApplicationInsights.Dev.261308a6f9424edfa10a1fd921e5e963.Exception""时间":" 2015-10-06T09:48:33.2193133+ 02:00""的iKey":" 261308a6-f942-4edf-A10A-1fd921e5e963""标记" {" ai.internal .sdkVersion":" 1.2.0.5639"" ai.user.id":" C"" ai.session.id&# 34;:" 9e90e2a4-91f0-4a5e-962B-d5cef36cb217"" ai.device.osVersion":"微软 Windows NT 6.2.9200.0"" ai.device.roleInstance":" CWB-XPS"" ai.application.ver":"&未知#34;" ai.device.type":" PC"" ai.device.id":" CWB-XPS&#34 ;, " ai.device.oemName":"戴尔 公司"" ai.device.model":" XPS 2720"" ai.device.network":"以太网"" ai.device.language":" NB-NO" },"数据" {"碱基类型":" ExceptionData"" baseData" {"版本":2 " handledAt":" USERCODE""属性" {"消息":" GuardSystems - Feil"," Exeption":" System.InvalidOperationException:提供了无效的请求URI。请求URI必须是绝对的 必须设置URI或BaseAddress。\ r \ n at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage 请求)\ r \ n at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage请求, HttpCompletionOption completionOption,CancellationToken cancelToken)\ r \ n在System.Net.Http.HttpClient.GetAsync(Uri) requestUri,HttpCompletionOption completionOption,CancellationToken cancelToken)\ r \ n在System.Net.Http.HttpClient.GetAsync(String requestUri)\ r \ n at C:\ Visual中的SafeFinans.GuardSystems.Program.d _3.MoveNext() 工作室 在线\ SafeFinans \ SafeFinans.GuardSystems \ SafeFinans.GuardSystems \的Program.cs:行 51"" CallerType":" SafeFinans.GuardSystems.Program + d__3"" CallerName":" MoveNext的"&#34 ; DeveloperMode":"真"}"例外":[{" ID":4463106,"的typeName":&#34 ; System.InvalidOperationException""消息":"安 提供了无效的请求URI。请求URI必须是 绝对URI或BaseAddress必须是 。组"" hasFullStack":真," parsedStack":[{"电平":0,"方法":& #34; System.Net.Http.HttpClient.PrepareRequestMessage""组装":" System.Net.Http, 版本= 4.0.0.0,文化=中立, 公钥= b03f5f7f11d50a3a"},{"电平":1,"方法":" System.Net.Http.HttpClient.SendAsync""组件":" System.Net.Http, 版本= 4.0.0.0,文化=中立, 公钥= b03f5f7f11d50a3a"},{"电平":2"方法":" System.Net.Http.HttpClient.GetAsync""组件":" System.Net.Http, 版本= 4.0.0.0,文化=中立, 公钥= b03f5f7f11d50a3a"},{"电平":3,"方法":" System.Net.Http.HttpClient.GetAsync""组件":" System.Net.Http, 版本= 4.0.0.0,文化=中立, 公钥= b03f5f7f11d50a3a"},{"电平&#34:4,"方法":" SafeFinans.GuardSystems.Program + d__3.MoveNext""组件":" SafeFinans.GuardSystems, 版本= 1.0.0.0,文化=中立, PublicKeyToken = null"," fileName":" C:\ Visual Studio 在线\ SafeFinans \ SafeFinans.GuardSystems \ SafeFinans.GuardSystems \ Program.cs的""线" 51}]}]}}}