Denetleyici adı ve eylem adına göre Mvc sayfası işlem performansı olayları filtresi

Microsoft.SystemCenter.Apm.MvcTransaction.MvcPerformanceFilter (ConditionDetectionModuleType)

Element properties:

TypeConditionDetectionModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
OutputTypeMicrosoft.SystemCenter.Apm.LobDataType

Member Modules:

ID Module Type TypeId RunAs 
LobFilterByControllerActionName ConditionDetection System.ExpressionFilter Default

Source Code:

<ConditionDetectionModuleType ID="Microsoft.SystemCenter.Apm.MvcTransaction.MvcPerformanceFilter" Accessibility="Internal" Stateful="false" PassThrough="false" Batching="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ControllerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ActionName" type="xsd:string"/>
</Configuration>
<ModuleImplementation>
<Composite>
<MemberModules>
<ConditionDetection ID="LobFilterByControllerActionName" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">//stackPoint[(namespace='System.Web.Mvc' and class='ControllerBase' and method='Execute')]/parameters[(translate(variable[name='MVC Action Name']/value, 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ') = translate('$Config/ActionName$','abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ') ) and (translate(variable[name='MVC Controller']/value,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ') = translate('$Config/ControllerName$','abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ'))]</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value/>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="LobFilterByControllerActionName"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>AI!Microsoft.SystemCenter.Apm.LobDataType</OutputType>
<InputTypes>
<InputType>AI!Microsoft.SystemCenter.Apm.LobDataType</InputType>
</InputTypes>
</ConditionDetectionModuleType>