c# - Azure SDK 2.9 诊断异常

标签 c# azure diagnostics

我使用单个 Azure 辅助角色创建了一个空白解决方案。我使用默认设置启用了性能监控和诊断。

当我运行应用程序(成功运行)时,我尝试在本地开发 Azure 存储表中查找 WADPerformanceCountersTable,但找不到它。

我在事件日志中看到以下事件:

Microsoft.Cis.Monitoring.Query.QueryException: ErrorFail
   at Microsoft.Cis.Monitoring.Query.QueryLocalTable..ctor(String TableName, String TablePath)
   at ApplicationInsightsExtension.MATableReader.ReadTableRecords(String tableName, String tablePath, DateTime startTime, DateTime endTime)
   at Microsoft.Azure.Plugins.Diagnostics.dll.MAStatusWriter.UpdateStatusReport(Object sender, ElapsedEventArgs e)

本地机器设置:

  1. Visual Studio 2013 社区版
  2. Azure SDK 2.9
  3. Windows 10
  4. 以管理员身份运行 Visual Studio
  5. 辅助角色定义具有提升的权限

更多链接:

最佳答案

我已经删除了 WebRole 中与 ApplicationInsights 相关的所有 nuget、包含旧数据的每个表,现在我有了 IIS 日志和性能日志。

尝试一下,看看它是否适合您

关于c# - Azure SDK 2.9 诊断异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40962730/

相关文章:

c# - RavenDB 空间搜索始终为空

c# - WPF - ListView 中的 TextBlock 未水平对齐

c# - 如何从 wpf 中的代码隐藏更改控件的 Grid.Row 和 Grid.Column

c# - 如何在 C# 中读取另一个进程的命令行参数?

c# - 如果语句为真,为什么代码转到 else?

azure - 如何限制/限制 Azure Active Directory 中的 CallRecords.read.all API 权限

azure - 如果 var 为 null 或为空,如何跳过/忽略 terraform 中的特定模块

对于当前日期之前修改的文件,Azure 逻辑应用 FTP 连接器未运行

diagnostics - 什么是平均请求处理时间?