I cannot add counters to the Performance Monitor.
I've ran the "Install Instrumention" batch.
I've created my category (Is this usefull for the moment ?) with :
"C:\Windows\Microsoft.NET\Framework\v2.0.50727\installutil.exe" /category=Toto "C:\Program Files (x86)\Microsoft Enterprise Library 4.1 - October 2008\Bin\Microsoft.Practices.EnterpriseLibrary.PolicyInjection.CallHandlers.dll"
I've added the
I've added the Performance Counter Handler to my Policy with CategoryName=Toto. My policy works fine with the other handlers. But what does mean InstanceName ?
From the Performance Monitor I can add counters from Toto as Enterprise Library Counters and the like, but when I say OK there is no counters visible in the Performance Monitor ! In fact when I add counters, <All instances>
and <No instances> are greyed out.
I just want first to monitor Validation Counters and Exception Counters from my code running as Unit Tests. But I don't understand how to achieve this. Any idea ? I have not found a lot of documentation...