Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have six custom performance counters that were created by a .NET app. When I open Performance Monitor and add them to the live view, those counters are displayed correctly. I can see the values I expect in the live graph.

I created a user defined data collector set that records some built-in counters like "Processor\% Processor Time" and "Memory\Available MBytes" as well as the custom performance counters. Everything appears to work correctly when I save it and start it.

When I let it run for a while and then restart the data collector and open the BLG file, it shows all the built-in counters correctly, but my custom counters are not available. They aren't listed in the "Available Counters" list. Why can't perfmon select my custom counters?

share|improve this question

2 Answers 2

I hope that i got the idea correctly. Did you see this?

share|improve this answer
    
That article says that it only applies to .NET 1.0 and 1.1. But I'll try it. Thanks. –  Josh Yeager Jul 15 '13 at 19:02
    
no problem. i hope it helps. if you find any solution for that, let us know :) –  Alex Jul 15 '13 at 20:52
up vote 0 down vote accepted

We found the problem. I created the new counters and added them to an existing data collector set in the PerfMon UI, but the app had not actually created any instances yet. So the counters I added were defined as "\MyApp:Perf\*" instead of "\MyApp:Perf()\".

Now that the app has been logging data for a while, I removed and re-added the counters, and they worked this time. I'm pretty sure that if I used logman to create the data collector set with "\MyApp:Perf()\" explicitly specified, that would have worked too.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.