Zbieraj dane licznika Statystyka .NET CSM/Procent naruszeń wydajności/s

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

Zbieraj dane licznika wydajności Statystyka .NET CSM/Procent naruszeń wydajności/s

Knowledge Base article:

Podsumowanie

Stan wystąpienia staje się nieprawidłowy, jeśli współczynnik zdarzeń wydajności po stronie klienta w ustalonym okresie przekroczy próg monitora.

Przyczyny

Alerty wydajności transakcji po stronie klienta są generowane, gdy współczynnik zdarzeń wydajności przekroczy skonfigurowany próg monitora.

Ten licznik zgłasza liczbę przypadków przekroczenia przez stronę sieci Web lub wywołanie Ajax w monitorowanej aplikacji akceptowalnego czasu ładowania na sekundę.

Zbyt długie czasy żądania sieci mogą wynikać z niezrównoważonej sieci.

Długie przetwarzanie na serwerze może wynikać ze skomplikowanego lub niewydajnego kodu źródłowego.

Problemy z wydajnością dotyczące czasu ładowania strony mogą wystąpić z powodu dużego rozmiaru strony lub dużej liczby skryptów Java.

Problemy z wydajnością związane z długim czasem Window.OnLoad mogą być wynikiem długiego wykonywania programów obsługi JavaScript.

Rozwiązania

Zwykle długie ładowanie strony może wynikać z niezrównoważonej sieci, długiego czasu przetwarzania na serwerze, długiego czasu ładowania strony lub czasu Window.OnLoad.

Element properties:

TargetMicrosoft.SystemCenter.Apm.CsmTransaction
Parent MonitorSystem.Health.PerformanceState
CategoryCustom
EnabledFalse
Instance Name.NET CSM Statistic
Counter Name\% of Performance violations/sec
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.Performance.ConsecutiveSamplesThreshold
RemotableFalse
AccessibilityPublic
Alert Message
Licznik Statystyka .NET CSM/Procent naruszeń wydajności/s przekroczył próg
Wartość licznika wydajności Statystyka .NET CSM/Procent naruszeń wydajności/s przekroczyła skonfigurowany próg wynoszący {0}\%. Wartość licznika wydajności wynosiła {1}\%.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.Apm.CsmTransaction.PerformanceRateMonitor" Accessibility="Public" Enabled="false" Target="Microsoft.SystemCenter.Apm.CsmTransaction" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="false" Priority="Normal" TypeID="Performance!System.Performance.ConsecutiveSamplesThreshold" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.Apm.CsmTransaction.PerformanceRateMonitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="AL!Microsoft.SystemCenter.Apm.TransactionBase"]/PerformanceRateMonitorThreshold$</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 Performance violations/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"]/PerformanceRateMonitorInterval$</Frequency>
<Threshold>$Target/Property[Type="AL!Microsoft.SystemCenter.Apm.TransactionBase"]/PerformanceRateMonitorThreshold$</Threshold>
<Direction>greater</Direction>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>