[jira] [Commented] (HADOOP-8905) Add metrics for HTTP Server
[ https://issues.apache.org/jira/browse/HADOOP-8905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13651834#comment-13651834 ] Steven Yates commented on HADOOP-8905: -- Reviewing this improvement in more detail. 1) Will require org.mortbay.jetty:jmx-management dependency 2) Reviewing the out of the box statistics handler *-mbean properties I can see the following are given; StatisticsHandler: Request Statistics gathering statsOnMs: Time in milliseconds stats have been collected for. statsReset(): Reset statistics. requests: Number of requests since statsReset() called. requestsActive: Number of requests currently active. requestsActiveMin: Minimum number of active requests since statsReset() called. requestsActiveMax: Maximum number of active requests since statsReset() called. requestsDurationAve: Average duration of request handling in milliseconds since statsReset() called. requestsDurationMin: Get minimum duration in milliseconds of request handling since statsReset() called. requestsDurationMax: Get maximum duration in milliseconds of request handling since statsReset() called. requestsDurationTotal: Get total duration in milliseconds of all request handling since statsReset() called. Add metrics for HTTP Server --- Key: HADOOP-8905 URL: https://issues.apache.org/jira/browse/HADOOP-8905 Project: Hadoop Common Issue Type: Improvement Components: metrics Affects Versions: 3.0.0 Reporter: Todd Lipcon Labels: newbie Currently we don't expose any metrics about the HTTP server. It would be useful to be able to monitor the following: - Number of threads currently actively serving servlet requests - Total number of requests served - Perhaps break down time/count by endpoint (eg /jmx, /conf, various JSPs) This becomes more important as http-based protocols like webhdfs become more common -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8905) Add metrics for HTTP Server
[ https://issues.apache.org/jira/browse/HADOOP-8905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13651843#comment-13651843 ] Steven Yates commented on HADOOP-8905: -- 3) Located org.apache.hadoop.http.HttpServer 4) Will need to include some basic additional container registration code for JMX i.e Within HttpServer(String name...) MBeanContainer mBeanContainer = new MBeanContainer(mBeanServer); webServer.getContainer().addEventListener(mBeanContainer); mBeanContainer.start(); 5) Statistics handler will require registration by the look of things i.e StatisticsHandler statisticsHandler = new StatisticsHandler(); webAppContext.addHandler(statisticsHandler); Add metrics for HTTP Server --- Key: HADOOP-8905 URL: https://issues.apache.org/jira/browse/HADOOP-8905 Project: Hadoop Common Issue Type: Improvement Components: metrics Affects Versions: 3.0.0 Reporter: Todd Lipcon Labels: newbie Currently we don't expose any metrics about the HTTP server. It would be useful to be able to monitor the following: - Number of threads currently actively serving servlet requests - Total number of requests served - Perhaps break down time/count by endpoint (eg /jmx, /conf, various JSPs) This becomes more important as http-based protocols like webhdfs become more common -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8905) Add metrics for HTTP Server
[ https://issues.apache.org/jira/browse/HADOOP-8905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13651846#comment-13651846 ] Steven Yates commented on HADOOP-8905: -- Perhaps exposing HttpServer metrics should be optional; We may need to discuss including an additional Configuration arg within yarn i.e yarn.nodemanager.http.jmx [default:true] Add metrics for HTTP Server --- Key: HADOOP-8905 URL: https://issues.apache.org/jira/browse/HADOOP-8905 Project: Hadoop Common Issue Type: Improvement Components: metrics Affects Versions: 3.0.0 Reporter: Todd Lipcon Labels: newbie Currently we don't expose any metrics about the HTTP server. It would be useful to be able to monitor the following: - Number of threads currently actively serving servlet requests - Total number of requests served - Perhaps break down time/count by endpoint (eg /jmx, /conf, various JSPs) This becomes more important as http-based protocols like webhdfs become more common -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-8905) Add metrics for HTTP Server
[ https://issues.apache.org/jira/browse/HADOOP-8905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13472566#comment-13472566 ] Aaron T. Myers commented on HADOOP-8905: Might also be nice to use the percentile metrics support to record high percentile response times. Add metrics for HTTP Server --- Key: HADOOP-8905 URL: https://issues.apache.org/jira/browse/HADOOP-8905 Project: Hadoop Common Issue Type: Improvement Components: metrics Affects Versions: 3.0.0 Reporter: Todd Lipcon Labels: newbie Currently we don't expose any metrics about the HTTP server. It would be useful to be able to monitor the following: - Number of threads currently actively serving servlet requests - Total number of requests served - Perhaps break down time/count by endpoint (eg /jmx, /conf, various JSPs) This becomes more important as http-based protocols like webhdfs become more common -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira