Banshee
Banshee

Reputation: 15807

Problems to use basic performance counters with my WCF service

Hi,

I have a service as follows :

To enable performance counters I have added the following to the web.config :

<system.serviceModel>
    <diagnostics performanceCounters="All" />

In Performance monitor i have the following entries :

Under ServiceModelService I can see one instance and thats my WCF service hosted in IIS7, if I add Calls and Calls duration and then OK I will still not get any drawings in the Performance Monitor even when running my client against the service? I have tried to use "Scale selected counters" but I still do not see anything?

If I check the ServiceModelOperation I can somtimes see my operations but even if I add a couple of these counters I will not get any read in the Performance Monitor?

ServiceModelEndPoint do never show any instances so no counters can be added?

If I however add the Instances counter under ServiceModelService, this will give me a reading but thats it.

Pleas help, why am I not getting any performance counters to show up?

Upvotes: 0

Views: 1439

Answers (1)

Banshee
Banshee

Reputation: 15807

After alot of work it showed that two service method names was the problem. I dont really see why but then changing them slightly it worked. And no its not any problems with response/request och attributes, all I really needed to do was to change the name a bit.

The name is not a ".net name" but maby it was to long and to similar to another service method name.

Upvotes: 1

Related Questions