.NET CSM-Statistik/\% der Ausnahmen/s erfassen

Microsoft.SystemCenter.Apm.CsmTransaction.ExceptionRateMonitor (UnitMonitor)

Leistungsindikator ".NET CSM-Statistik/\% der Ausnahmen/s erfassen"

Knowledge Base article:

Zusammenfassung

Fehler im Instanzstatus treten dann auf, wenn die Rate der clientseitigen Ausnahmeereignisse pro definierten Zeitraum größer als der Monitorschwellenwert ist.

Ursachen

Warnungen zu clientseitigen Transaktionsausnahmen werden erzeugt, wenn die Rate der Ausnahmeereignisse den für Transaktionen konfigurierten Monitorschwellenwert überschreitet.

Der Indikator wird erhöht, wenn eine nicht behandelte Ausnahme in JavaScript auftritt.

Lösungen

Überprüfen Sie zur Behebung dieser Ausnahmen die Ausnahmemeldungen, die Ausnahmezeilennummer und die Funktion, von der die Ausnahme erzeugt wurde. Zum Lösen dieser Art von Problemen ist in der Regel der Zugriff auf den Quellcode der Anwendung erforderlich.

Element properties:

TargetMicrosoft.SystemCenter.Apm.CsmTransaction
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledFalse
Instance Name.NET CSM Statistic
Counter Name\% of Exceptions/sec
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.Performance.ConsecutiveSamplesThreshold
RemotableFalse
AccessibilityPublic
Alert Message
Von ".NET CSM-Statistik/\% der Ausnahmen/s" wurde der Schwellenwert überschritten
Vom Leistungsindikator ".NET CSM-Statistik/\% der Ausnahmen/s" wurde der konfigurierte Schwellenwert von {0} \% überschritten. Der Leistungsindikatorwert lag bei {1}\%.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.Apm.CsmTransaction.ExceptionRateMonitor" Accessibility="Public" Enabled="false" Target="Microsoft.SystemCenter.Apm.CsmTransaction" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="false" Priority="Normal" TypeID="Performance!System.Performance.ConsecutiveSamplesThreshold" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.Apm.CsmTransaction.ExceptionRateMonitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="AL!Microsoft.SystemCenter.Apm.TransactionBase"]/ExceptionRateMonitorThreshold$</AlertParameter1>
<AlertParameter2>$Data/Context/SampleValue$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="ConditionFalse" HealthState="Success"/>
<OperationalState ID="Warning" MonitorTypeStateID="ConditionTrue" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>% of Exceptions/sec</CounterName>
<ObjectName>.NET CSM Statistic</ObjectName>
<InstanceName>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmTransaction"]/CounterInstance$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>$Target/Property[Type="AL!Microsoft.SystemCenter.Apm.TransactionBase"]/ExceptionRateMonitorInterval$</Frequency>
<Threshold>$Target/Property[Type="AL!Microsoft.SystemCenter.Apm.TransactionBase"]/ExceptionRateMonitorThreshold$</Threshold>
<Direction>greater</Direction>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>