Response Time
Response Time
| This help page is under construction. Please check back later for updates. |
Available only in HQ Enterprise
Response Time is the measurement of how fast your resources are responding to requests. HQ response-time measurements can help you pin point performance problems in your IT infrastructure. Response-time measurements can be collected for Apache, iPlanet (SunONE), IIS, Tomcat, WebSphere, and Weblogic. Each product requires special configuration to allow HQ to collect the data.
- Configuring response time
- Charting response time
If you have any comments or suggestions for this help page, please submit them at the bottom of the page by clicking Add Comment.
Configuring Response Time
This section describes the special configuration required for the products for which HQ most commonly collects response-time data. HQ collects response-time data for many products, and for those not listed here, go to the list of managed products, find the page specific to your product, and look under the webapp or vhost service for that resource. In general, product-specific instructions for enabling the collection of response-time data will also appear on the "Configuration Properties" screen if HQ can collect response-time data for the resource you're looking at. Response time is enabled at the Vhost or Webapp service level.
Apache
To collect response-time data for Apache:
- Build and install the mod_rt module in the Apache installation.
The module is provided in the HQ Agent directory in the product_connectors subdirectory. Follow these instructions (under "Response Time Setup" at page bottom). - Enable response-time data gathering on the desired resources.
- Navigate to the resource's "Inventory" screen (
).
One way to get there is from the "Browse Resources" screen: click
next to the resource. - In the "Configuration Properties" section, click
. - On the "Configuration Properties" screen, in the "Monitoring" section, enable response-time-data gathering and provide all the information HQ will need to gather and record response-time data.
- Navigate to the resource's "Inventory" screen (
| End-User Response Time Data End-user response time data tells you how fast the content being served by Apache is appearing in the end user's browser. This type of response time is more complicated to configure and requires small changes to the content being served. You can find instructions for configuring end-user response-time data gathering here: But also feel free to contact Hyperic support for more information. |
Servlets
Response time for servlets is relatively easy to configure. All of the servlet products supported by Hyperic HQ require an additional XML fragment in their configuration to allow HQ to collect metrics. This XML fragment has a section for enabling response time that is commented out by default. The following comments in the XML fragment include information about how to enable response time, and how it works.
<!--
Uncomment the following line to enable response time logging.
The directory you specify as the param can include properties
referenced from the System.properties of the vm.
The ResponseTime log file will by default store the last 1 hour's
worth of response time data. This file gets truncated as soon as
data is succesfully sent into the server. The file is named uniquely
for each webapp in the form: yourContextName_HQResponseTime.log
If this fragment is included in the global web.xml for the container,
all webapps in it will generate response time data, and have logs
following the format described above. You can enable it individually
on each webapp as well if you dont want every webapp to generate
response time data
-->
To enable response time for servlets, simply uncomment the following XML in the fragment, and replace "/path/to/log/directory" with the appropriate directory on your system where servlet response time logs should be stored.
<init-param> <param-name>responseTimeLogDir</param-name> <param-value>/path/to/log/directory</param-value> </init-param>
For details on how to configure your specific servlet product please see the section on Servlet Product Configuration.
Charting Response Time
Charts of response time data can be found on the RESPONSE TIME tab. This will bring you to the Monitor Performace page. This page will give you details on how each response has been performing. So for an Apache virtual host, you will see each URL that has been requested from that virtual host, the number of requests, the LOW (fastest response time), AVG (average response time of all requests) and PEAK (slowest response). On the right side of the page, these URLs will be charted. The data can be sorted by LOW, AVG or PEAK.
|
Next Steps TBD |
Related Topics TBD |