Zbieraj dane licznika wydajności Statystyka .NET CSM/Procent naruszeń wydajności/s
Stan wystąpienia staje się nieprawidłowy, jeśli współczynnik zdarzeń wydajności po stronie klienta w ustalonym okresie przekroczy próg monitora.
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.
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.
Target | Microsoft.SystemCenter.Apm.CsmTransaction | ||
Parent Monitor | System.Health.PerformanceState | ||
Category | Custom | ||
Enabled | False | ||
Instance Name | .NET CSM Statistic | ||
Counter Name | \% of Performance violations/sec | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | System.Performance.ConsecutiveSamplesThreshold | ||
Remotable | False | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<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>