Zastosuj konfigurację transakcji WCF
Microsoft.SystemCenter.Apm.WcfTransaction.ApplyConfigurationRule (Rule)
Knowledge Base article:
Element properties:
Member Modules:
Source Code:
<Rule ID="Microsoft.SystemCenter.Apm.WcfTransaction.ApplyConfigurationRule" Enabled="true" ConfirmDelivery="false" Target="Microsoft.SystemCenter.Apm.WcfTransaction" Remotable="false">
<Category>Custom</Category>
<DataSources>
<DataSource ID="Scheduler" TypeID="System!System.SimpleScheduler">
<IntervalSeconds>86400</IntervalSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteAction" TypeID="Microsoft.SystemCenter.Apm.WcfTransaction.ApplyConfiguration" RunAs="System!System.PrivilegedMonitoringAccount">
<Id>$Target/Id$</Id>
<ApplicationId>$Target/Host/Id$</ApplicationId>
<TransactionName>$Target/Property[Type="Microsoft.SystemCenter.Apm.Transaction"]/CounterInstance$</TransactionName>
<PerformanceThreshold>$Target/Property[Type="Microsoft.SystemCenter.Apm.Transaction"]/PerformanceThreshold$</PerformanceThreshold>
<SensitivityThreshold>$Target/Property[Type="Microsoft.SystemCenter.Apm.Transaction"]/SensitivityThreshold$</SensitivityThreshold>
<ClassName>$Target/Property[Type="Microsoft.SystemCenter.Apm.WcfTransaction"]/ClassName$</ClassName>
<MethodName>$Target/Property[Type="Microsoft.SystemCenter.Apm.WcfTransaction"]/MethodName$</MethodName>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
</WriteAction>
</WriteActions>
</Rule>