Most Expensive Statement CPU Time
ozsoft.sap.Monitor.MSSQL.MostExpensiveStatement.CPUTime (UnitMonitor)
Most Expensive Statement CPU Time (ms)
Element properties:
Source Code:
<UnitMonitor ID="ozsoft.sap.Monitor.MSSQL.MostExpensiveStatement.CPUTime" Accessibility="Public" Enabled="false" Target="ozsoft.sap.MSSQL" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="ozsoft.sap.CCMSMetricMonitorType2" ConfirmDelivery="false">
<Category>Operations</Category>
<AlertSettings AlertMessage="ozsoft.sap.Monitor.MSSQL.MostExpensiveStatement.CPUTime.AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/ObjectName$</AlertParameter1>
<AlertParameter2>$Data/Context/CounterName$</AlertParameter2>
<AlertParameter3>$Data/Context/Value$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Under" MonitorTypeStateID="SDKMetricUnderLowThreshold" HealthState="Success"/>
<OperationalState ID="Between" MonitorTypeStateID="SDKMetricUnderHighOverLowThreshold" HealthState="Warning"/>
<OperationalState ID="Over" MonitorTypeStateID="SDKMetricOverHighThreshold" HealthState="Error"/>
</OperationalStates>
<Configuration>
<CounterName>Percent of CPU Time</CounterName>
<ObjectName>Most Expensive Statement</ObjectName>
<Frequency>60</Frequency>
<HighThreshold>60</HighThreshold>
<LowThreshold>50</LowThreshold>
</Configuration>
</UnitMonitor>