Použít konfiguraci transakce MVC
Toto pravidlo aplikuje konfiguraci monitorování pro transakci MVC.
Target | Microsoft.SystemCenter.Apm.MvcTransaction |
Category | Custom |
Enabled | True |
Alert Generate | False |
Remotable | False |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
Scheduler | DataSource | System.SimpleScheduler | Default |
WriteAction | WriteAction | Microsoft.SystemCenter.Apm.MvcTransaction.ApplyConfiguration | System.PrivilegedMonitoringAccount |
<Rule ID="Microsoft.SystemCenter.Apm.MvcTransaction.ApplyConfigurationRule" Enabled="true" ConfirmDelivery="false" Target="Microsoft.SystemCenter.Apm.MvcTransaction" 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.MvcTransaction.ApplyConfiguration" RunAs="System!System.PrivilegedMonitoringAccount">
<Id>$Target/Id$</Id>
<ApplicationId>$Target/Host/Id$</ApplicationId>
<TransactionName>$Target/Property[Type="AL!Microsoft.SystemCenter.Apm.Transaction"]/CounterInstance$</TransactionName>
<PerformanceThreshold>$Target/Property[Type="AL!Microsoft.SystemCenter.Apm.Transaction"]/PerformanceThreshold$</PerformanceThreshold>
<SensitivityThreshold>$Target/Property[Type="AL!Microsoft.SystemCenter.Apm.Transaction"]/SensitivityThreshold$</SensitivityThreshold>
<ControllerName>$Target/Property[Type="Microsoft.SystemCenter.Apm.MvcTransaction"]/ControllerName$</ControllerName>
<ActionName>$Target/Property[Type="Microsoft.SystemCenter.Apm.MvcTransaction"]/ActionName$</ActionName>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
</WriteAction>
</WriteActions>
</Rule>