Options

Using Custom Performance Counters

schwartzschwartz Posts: 5
edited December 19, 2013 11:59AM in ANTS Performance Profiler 8
I'm trying to profile an application which uses the .NET cache API and would like to be able to see the cache state (hits/misses/entries, etc).

I've tried adding the counters to the UserCounters.xml, however, they are not returning any data. A sample of what I'm trying to do in the xml is show below. Any help would be appreciated.
<Category Name="ASP.NET Applications"> 
  <Counter Category="ASP.NET Applications" Name="Cache API Entries" Units="Number"> 
      <Instanced />
  </Counter>
</Category>

Update: I was able to access the same counter with PerfMon and it showed the expected results. So I do know that the counter is working.

Comments

Sign In or Register to comment.