[
https://issues.apache.org/jira/browse/HADOOP-8905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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