Aplikovat konfiguraci webové aplikace na straně klienta
Microsoft.SystemCenter.Apm.CsmWebApplicationInstance.ApplyConfigurationRule (Rule)
Knowledge Base article:
Element properties:
Member Modules:
Source Code:
<Rule ID="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance.ApplyConfigurationRule" Enabled="true" ConfirmDelivery="false" Target="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance" 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.CsmWebApplicationInstance.ApplyConfiguration" RunAs="System!System.PrivilegedMonitoringAccount">
<Id>$Target/Id$</Id>
<DisplayName>$Target/Property[Type="AL!Microsoft.SystemCenter.Apm.ApplicationInstanceBase"]/ApplicationName$</DisplayName>
<IISApplicationPath>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/IISApplicationPath$</IISApplicationPath>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
<ApplicationGroupName>$Target/Property[Type="AL!Microsoft.SystemCenter.Apm.ApplicationInstanceBase"]/ApplicationGroupName$</ApplicationGroupName>
<!--<CounterInstance>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmApplicationInstance"]/CounterInstance$</CounterInstance>-->
<EncryptionKey>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmApplicationInstance"]/EncryptionKey$</EncryptionKey>
<PageLoadThreshold>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/PageLoadThreshold$</PageLoadThreshold>
<SensitivityThreshold>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/SensitivityThreshold$</SensitivityThreshold>
<AjaxThreshold>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/AjaxThreshold$</AjaxThreshold>
<RequestFilters>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/RequestFilters$</RequestFilters>
<ResponseFilters>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/ResponseFilters$</ResponseFilters>
<StreamFilters>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/StreamFilters$</StreamFilters>
<IPHeaders>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/IPHeaders$</IPHeaders>
<SamplingRate>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/SamplingRate$</SamplingRate>
<DisabledContent>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/DisabledContent$</DisabledContent>
</WriteAction>
</WriteActions>
</Rule>