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