面对azure诊断问题(SDK Ver 2.6)。
问题陈述:
诊断日志存储在Azure blob(最终存储点)中,同时这些日志文件存储在我的PAAS VM的下面路径中。
C:\ Resources \ Directory \%RoleDeploymentID%。%RoleName%.LocalStorageName / LogFiles \ Web \ W3SVC1273337584
从这里将数据传输到Azure blob。 由于网站利用率很高,因此日志文件在本地存储中排列,由于磁盘溢出而导致网站崩溃(这些日志不会从本地文件夹中删除)。我无法手动删除PAAS VM中的日志。
我在diagnostics.wadcfgx文件
中使用下面的config snippet <PerformanceCounters scheduledTransferPeriod="PT1M">
<PerformanceCounterConfiguration counterSpecifier="\Memory\Available MBytes" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\Web Service(_Total)\ISAPI Extension Requests/sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\Web Service(_Total)\Bytes Total/Sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET Applications(__Total__)\Requests/Sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET Applications(__Total__)\Errors Total/Sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET\Requests Queued" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET\Requests Rejected" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\Processor(_Total)\% Processor Time" sampleRate="PT3M" />
</PerformanceCounters>
需要帮助..