%-- Show recent performance statistics. --%>
Simple, effective tool for monitoring recent web application performance.
(Tool tips give a detailed description of each item.)
Implemented as a Filter. See [link:http://www.javapractices.com/apps/web4j/javadoc/hirondelle/web4j/ui/filter/PerformanceMonitor.html PerformanceMonitor]
for more information. See web.xml for Filter configuration details.
Configuration parameters include numbers of days to store data, and the
length of each time period.
This implementation stores performance statistics in memory only - _not in a database_.
[A Faire]
Recent Performance Statistics
Period Ending |
Hits |
Avg |
Max |
Graph |
<% synchronized(itemsForListing) { %>
|
<%-- Choose display characteristics of the graph according to max response time. --%>
performance-high
performance-low
${snapshot.numRequests}
|
${snapshot.avgResponseTime/1000}
|
<%--
The URL is presented here as a tool-tip. The URL is NOT presented as a link,
since, in general, clicking on such a link might edit the database.
--%>
${snapshot.maxResponseTime/1000}
|
<%-- Choose display characteristics of the graph according to max response time. --%>
performance-low
performance-medium
performance-high
00
|
<% } %>