次の方法で共有


WCF LOB Adapter SDK Performance Counters

WCF LOB Adapter SDK provides the following built-in performance counters to help gauge performance of the adapter.  You can view these performance counters in Performance Management Console (perfmon.msc).  Select the performance object named "ServiceModel Adapters". 

% Cache full

The percentage of cache capacity in use.

% Cache read hits

The percentage of metadata read hits in the in-memory metadata cache provided by WCF LOB Adapter SDK

Aborted Connections

The count of target system connections aborted by the adapter.

In-use Connections

The count of target system connections currently in-use.

Metadata Resolved

The number of metadata items resolved by the adapter.

Opened Connections

The count of target system connections currently opened by the adapter.

Outbound Calls

The total number of outbound calls being made.

Outbound Calls /sec

The number of outbound calls per second.

Pending Connection Requests

The number of pending target system connection requests.

Ready Connections

The count of open and available target system connections available to the adapter.

WCF Performance Counters can be found in categories: ServiceModelEndpoint, ServiceModelOperation and ServiceModelService.

You can enable performance counters for the adapter through the app.config configuration file of the calling application as follows:

<configuration>

   <system.serviceModel>

       <diagnostics performanceCountersEnabled="All" />

   </system.serviceModel>

</configuration>

 

If you want to enable performance counters for all WCF applications, you can place the configuration settings in the Machine.config file.