Editar

Partilhar via


Use Performance Counters with the Siebel adapter

BizTalk Adapter Pack clients can use the performance counters to gauge the performance of the adapters. The BizTalk Adapter Pack setup program creates the performance counter category "Microsoft BizTalk Adapter for Siebel eBusiness Applications" along with the Adapter Pack installation.

The LOB Time (Cumulative) Performance Counter

The BizTalk .NET Adapter for Siebel category has one performance counter called "LOB Time (Cumulative)". This performance counter denotes the time, in milliseconds, that the LOB client library takes to complete an action that the adapter initiates. The Siebel adapter creates an instance of the performance counter for each action, for a specific Siebel server name. The instances are created in the following pattern:

<process id>:<app domain id>:<endpoint id>:<action id>  

In case of the Siebel adapter, the endpoint id is the name of the Siebel server, as specified in the connection URI. The action id could be any action performed by the Siebel adapter such as Login, Logoff, Metadata, <business component name>.<operation>, <business service name>.<business service method>. If the preceding naming convention results in a name that exceeds 127 characters only the action ID is displayed in the following format:

:::<action id>  

If :::<action id> also exceeds 127 characters, it is trimmed down to 127 characters.

The performance counter is initialized only after the adapter makes the first call to the Siebel system. Also, the InstanceLifetime property of the performance counter is set to 'Process', which means that the performance counter ceases to exist as soon as the program that creates the counter terminates.

Note

The precision of the LOB Time (Cumulative) performance counter is 16 milliseconds.

Enabling Performance Counters

The performance counters can be enabled or disabled by setting the binding property EnablePerformanceCounters. Set EnablePerformanceCounters binding property to True to enable performance counters. To disable performance counters, set EnablePerformanceCounters to False. By default, EnablePerformanceCounters is set to False.

Performance Counters and the WCF LOB Adapter SDK

Changing the value of the EnablePerformanceCounters binding property changes the value of the corresponding performance counter for WCF LOB Adapter SDK. Also, the binding property for the WCF LOB Adapter SDK is static, whereas that for the BizTalk Adapter Pack is dynamic. Hence, if there are two instances of the Siebel adapter binding in the AppDomain, and the EnablePerformanceCounters binding property is set to True in one and False in the other, the adapter-specific performance counter will be enabled in one and disabled in the other. However, because the binding property for the WCF LOB Adapter SDK is static, it will either be set to True or False, depending on what value was specified last.

See Also

Troubleshoot the Siebel adapter