tags:

views:

72

answers:

2

Hi

I've setup NServiceBus to run in production profile. I've also executed the runner.exe which "reinstalls" the performance counter "critical time" under NServicebus. But when I run my application and tries to enable the counter in perfmon, I get an "no instance" under the NServicebus critical timer. Any help one this one? Thanks.

A: 

You need to open up perfmon after the NServiceBus process is already running otherwise it doesn't pick up the instance.

Udi Dahan
No luck so far. Tried to close everything running. Started the runner.exe to reinstall the performancecounter, went ok. Startet my program using nservicebus.host.exe nservicebus.production. After a while I started perfmon, found the counter NServiceBus.CriticalTime, but no instance.
Rasmus Christensen
Hi today I tested on both Windows Vista and Windows Server 2003. The counter shows up in Perfmon, but no instances exists.....
Rasmus Christensen
+1  A: 

I got this to work by using the NServiceBus.PerformanceCounters profile when installing my service. If you use the NServiceBus.Production profile, it does not set up the counter. To get the behaviour of both, pass both profiles along on the install(http://nservicebus.com/Profiles.aspx).

Adam Fyles
Wow I Will try that out first thing in the morning thanks!
Rasmus Christensen
Thank you very much. That did the trick for me and the project. I haven´t found a good overview of all the NSB features, do you know one?
Rasmus Christensen
What level of granularity are you looking for?
Adam Fyles
Well some kind of API description, like which profiles exixts snd so on. Until now I have just used the website
Rasmus Christensen
I have this link for the API: http://www.nservicebus.com/Documentation/Documentation.pdf Not sure how current it is though. Beyond the site and the API doc, I don't think there is something at that level of detail.
Adam Fyles