Reputation: 827
We have number of WCF services running on Windows 2008, IIS7, .NET Framework 4.0 (Amazon EC2). We can see the counters available in ServiceModelService 4.0.0.0
We are interested in more granular operation level counters so we enabled in the service. Yet, despite doing this (also recycle the worker process) operation level (or endpoint counters) are still not showing up in perfmon: only service level are available.
Can you advise what could be the issue?
Thanks, Piotr
Upvotes: 2
Views: 683
Reputation: 827
We have moved the same WCF service to Windows 2008 R2 on EC2 and all counters show up properly now. Configuration is identical. Perhaps there is some oddity on Windows 2008 SP2 and EC2.
Upvotes: 0
Reputation: 12135
Did you enable them in the config file?
<configuration>
<system.serviceModel>
<diagnostics performanceCounters="All" />
</system.serviceModel>
</configuration>
By default the performanceCounters setting is set to ServiceOnly
Also, they will only show up when the service is up and running.
Upvotes: 1