Show TOC Start of Content Area

Background documentation Frequency Monitor  Locate the document in its SAP Library structure

A performance monitor that computes a frequency according to reported number of events given at specific times following the rule below:

frequency = reported number of events / time interval

For example, if you want to know the number of HTTP requests per second for an application and there are 300 requests to the application for one minute, that means the frequency is 5 requests/per second.

·        In the monitor-configuration.xml this monitor is specified in the following way:

<frequency-monitor name="FrequencyMonitor" configuration-group="FrequencyMonitor">

   <monitored-resource name="TestMonitorMBean:j2eeType=SAP_TestMonitor_MBeans" type="MBEAN"/>

   <frequency-attribute-mapping>

      <reported-events-attribute>

         <observed-resource-attribute name="ReportedEvents"/>

      </reported-events-attribute>

   </frequency-attribute-mapping>

</frequency-monitor>

 

·        The method returning the number of events is:

public int getReportedEvents();

 

 

End of Content Area