- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在使用 EventHubTrigger Azurefunction 时,在 ApplicationInsights 的遥测跟踪中收到了这样一个丑陋的异常(如下所示)。
AI(内部):[Microsoft-ApplicationInsights-Core] 处理事件“LogVerbose”时出现 EventSourceException:System.NullReferenceException:未将对象引用设置为对象的实例。
详细信息:
时间戳 [UTC]:2019-01-24T04:10:02.5700507Z
消息:AI(内部):[Microsoft-ApplicationInsights-Core] 处理事件“LogVerbose”时出现 EventSourceException:System.NullReferenceException:未将对象引用设置为对象的实例。
sdkVersion: dotnet:2.8.1-22898
最佳答案
https://github.com/Microsoft/ApplicationInsights-dotnet/issues/973
建议的解决方法是使用 Application Insights 依赖项 2.7.2。
For now, the options are:
- use the same version of AppInsihgts that Functions use (or lower)
- Filter out internal SDK messages. You can do this by creating and configuring telemetry processor. You can have a filter that checks if telemetry is TraceTelemetry and traceTelemetry.Context.Operation.SyntheticSource is SDKTelemetry
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.7.2" />
否则,除了等待并希望 2.9 版本能够修复此问题之外,几乎没有什么办法。
关于azure - 处理事件时出现EventSourceException "LogVerbose",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54345421/
在使用 EventHubTrigger Azurefunction 时,在 ApplicationInsights 的遥测跟踪中收到了这样一个丑陋的异常(如下所示)。 AI(内部):[Microsof
我是一名优秀的程序员,十分优秀!