Use the Service Monitor Graph widget to measure response time and throughput over a defined period of time for the services exposed and invoked by your module.
For service operations with a two-way asynchronous service implementation, the response time indicates only the time the operation takes to handle the re quest. It does not measure the total time elapsed before a response is sent.
The following tips can help you use the Response Time and Throughput graphs more effectively.
Customize the time period and refresh rate for the graphs. You can adjust the refresh rate to increase or decrease the frequency of updates to the graphs; remember that a faster refresh rate can affect performance. You can also specify the length of time for which you want to plot data on the graphs; graph time length is measured in either minutes or hours.
Restrict the upper limit for the Y-axis. The Y-axis is scalable to optimize graph details; it dynamically adjusts to show the minimum and maximum values since monitoring began. In addition, you can configure an upper limit to restrict the Y-axis further in situations where you have a few response time or throughput values that greatly exceed the rest. In this situation, the graph does not display any measurements greater than the upper limit.
See exact measurements for a point on a graph. Hover over any point in the Response Time or Throughput graph to see a window with the operation name and specific response time or throughput data.
Set a threshold for response time and throughput. For each operation you monitor, specify a threshold for the response time, throughput, or both. Calls that exceed the threshold are visually distinguished on the graphs.
Switch between different graph styles. The Service Monitor Graph widget offers three different graph types for viewing response time and throughput data: Line (the default), Column, and Spike. You can change the graph type for each graph dynamically from the drop-down menu on top the graph.
Monitor multiple operations on one graph. You can use the graphs to monitor multiple operations at once (for example, to compare the response times for a set of related operations). The Response Time and Throughput graphs can each plot up to five operations.
Before using the Service Monitor Graph widget, you must configure it. The widget has a General Graph Settings tab for specifying things like refresh rate and graph time length and a Monitored Service Operations tab for specifying what you want to monitor and how you want it to be displayed.
Click Configure from the widget menu.
Specify general graph settings in the General Graph Settings tab, as follows:
Graph refresh time interval: The rate the response time and throughput graphs refresh, measured in seconds. Clear the check box if you do not want the graph to refresh automatically.
Graph time length: The period of time you want to plot operations on the graph, measured in hours or minutes. This value forms the X-axis (elapsed time) on both the Response Time and Throughput graphs. By default, each graph plots five minutes of data. The value you select here affects the value in the Cumulate measurements by field; selecting a graph time length of minutes causes measurements to be cumulated in seconds, while a graph time length of hours causes measurements to be cumulated in minutes.
Cumulate measurements by: The unit of time (seconds or minutes) used to measure cumulative statistics like mean, minimum, and maximum. The unit of time is determined by the value you specified in the Graph time length field. All response times and throughput are cumulated over a second or a minute and that cumulated data is plotted on the graphs When you select minimum, maximum, or mean for an operation, the graphs plot the corresponding statistic over the unit of time you specify here.
Response time Y-axis limit: A positive integer that sets the highest response time to plot on the graph. This is an optional configuration parameter.
Throughput Y-axis limit: A positive integer that sets the highest throughput value to plot on the graph. This is an optional configuration parameter.
Show statistics: The option to display operation statistics, including the cumulated statistics over the last second or minute and since monitoring began. If you select Show statistics, the Statistic Measurements table displays this information below the graphs.
Use the Monitored Service Operations tab to define which operations to monitor and how to present the monitoring data, as follows:
If the operation you want to monitor is not listed on the tab, click Add new operation to monitor and select the operation or operations from the Select operations to add dialog box.
Choose a line color for each operation plotted on the graphs. When you are plotting multiple operations, using different colors can help you distinguish between the various operations.
To monitor response times for an operation, use the Response Time menu to indicate the statistical measurement you want to plot (maximum, minimum, or mean). Optionally, specify a threshold value for response times.
To monitor throughput for an operation, select the Throughput check box. Optionally, specify a threshold value for throughput.
Click OK.
Start and stop service monitoring from the Monitored Service Operations tab. For each operation you want to monitor, select the Monitor On check box. Clear the check box when you want to stop monitoring.