I have configured ASP.NET app domain resource monitoring as per this blog post:
我根据此博客文章配置了ASP.NET应用程序域资源监视:
http://www.shubho.net/2011/02/performance-monitoring-aspnet.html
http://www.shubho.net/2011/02/performance-monitoring-aspnet.html
Everything seems to be as expected, except that I get no data for the following counters (via perfmon):
一切似乎都符合预期,除了我没有得到以下计数器的数据(通过perfmon):
\ASP.NET Application(__Total)\% Managed Processor Time (estimated)
\ASP.NET Application(__Total)\% Managed Memory Used (estimated)
\ASP.NET Application(_LM_W3SVC_2_ROOT)\% Managed Processor Time (estimated)
\ASP.NET Application(_LM_W3SVC_2_ROOT)\% Managed Memory Used (estimated)
(They always show 0.0, even though all the other counters in \ASP.NET Application\ work).
(它们总是显示0.0,即使\ ASP.NET Application \中的所有其他计数器都工作)。
Anyone run into this before?
有没有人遇到过这个?
1 个解决方案
#1
1
You have to add appDomainResourceMonitoring
parameter not only to C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config
, but to the C:\Windows\Microsoft.NET\Framework64\v4.0.30319
as well. It helped me:
您必须将appDomainResourceMonitoring参数不仅添加到C:\ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ aspnet.config,还要添加到C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319。它帮助了我:
#1
1
You have to add appDomainResourceMonitoring
parameter not only to C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config
, but to the C:\Windows\Microsoft.NET\Framework64\v4.0.30319
as well. It helped me:
您必须将appDomainResourceMonitoring参数不仅添加到C:\ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ aspnet.config,还要添加到C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319。它帮助了我: