[ http://issues.apache.org/jira/browse/GERONIMO-1293?page=comments#action_12360139 ]
anita kulshreshtha commented on GERONIMO-1293: ---------------------------------------------- Query tomcat Mbean "Catalina:type=GlobalRequestProcessor,........................." to get the following statistcs for each of its connectors. Their Jetty equivalents are written next to each. 1. RequestCount : _requests : total requests made to the server, I guess to get this add RequestCount from all the connectors. 2. maxTime : _requestsDurationMax : max request duration 3. bytesSent - no Jetty equivelent 4. bytesReceived - no Jetty equivalent 5. processingTime - _requestsDurationTotalTime : total request duration time 6. errorCount - _errors : total bad requests to the server Query "Catalina:type=GlobalRequestProcessor,........................". to obtain per request statistics. These can be used to compute _requestsActive (number of requests currently being handled) ,e.g., go through each req stat, find the active ones, and count them up. Expose tomcat's mBeanServer via TomcatContainer, and write TomcatStatsGbean. setStatesOn would mean initializing all the stat attributes of these Mbeans. > Provide tomcat statistics > ------------------------- > > Key: GERONIMO-1293 > URL: http://issues.apache.org/jira/browse/GERONIMO-1293 > Project: Geronimo > Type: New Feature > Components: Tomcat > Versions: 1.0-M5 > Environment: All environments > Reporter: anita kulshreshtha > Priority: Minor > Fix For: 1.1 > > Provide following statistics for tomcat : > 1. Per Host/Container - > a. Initially provide the following per connector statistics for > each connector - > Cummulative statistics about all request > handled by this connector since the stat were turned on. > b. If time (before 1.0 release) permits, use 'a' to generate > (rename/compute) statistics similar to the ones provided by Jetty > 2. Per application - > a.. processingTime : The cumulative processing times of all > servlets in this StandardContext > b. startTime - The time this context was started. > c. startupTime - The time (in milliseconds) it took to start > this context. > d.. tldScanTime() - > Later add session statistics and jsp statistics. > 3. Per Servlet - Explore using statistics from RequestInfo to provide > statistics for a servlet. > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira