[
https://issues.apache.org/jira/browse/RANGER-4196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17757463#comment-17757463
]
Vikas Kumar edited comment on RANGER-4196 at 8/22/23 1:22 PM:
--------------------------------------------------------------
New metrics added:
{code:java}
"RangerWebContainer":
{ "ActiveConnectionsCount": 2, "ConnectionTimeout": 60000,
"MaxWorkerThreadsCount": 200, "TotalWorkerThreadsCount": 10,
"KeepAliveTimeout": 60000, "ActiveWorkerThreadsCount": 0,
"ConnectionAcceptCount": 100, "MinSpareWorkerThreadsCount": 10,
"MaxConnectionsCount": 8192 }
{code}
{*}Description{*}: A new segment "RangerWebContainer" added. And following
metrics were added:
# MaxConnectionsCount : {color:#505f79}Max configured tomcat connection count.
{color}
# ConnectionAcceptCount : {color:#505f79}The maximum queue length for incoming
connection requests when all possible request processing threads are in use.
Any requests received when the queue is full will be refused. The default value
is 100.{color}
# {color:#505f79}*ActiveConnectionsCount* : active connections count{color}
# {color:#505f79}*ConnectionTimeout* : The number of milliseconds this
*Connector* will wait, after accepting a connection, for the request URI line
to be presented. Default is 60 sec.{color}
# {color:#505f79}*KeepAliveTimeout* : The number of milliseconds this
*Connector* will wait for another HTTP request before closing the connection.
The default value is to use the value that has been set for the
*connectionTimeout* attribute.{color}
# {color:#505f79}*MaxWorkerThreadsCount* : The max worker(container) Threads
allowed/configured. Default is 200 .{color}
# {color:#505f79}*MinSpareWorkerThreadsCount:* core pool size of the worker
executor.{color}
# {color:#505f79}T{*}otalWorkerThreadsCount:{*} total number of worker/worker
threads in the process, irrespective of their state. They might me sitting idle
or processing any request.{color}
# {color:#505f79}*ActiveWorkerThreadsCount* : active worker/worker threads
count in the process. These number of workers are active and processing a
request.{color}
{color:#505f79}I will also update the spreadsheet with more details.{color}
{color:#505f79}Requesting community to please review and provide your feedback.
Thanks.{color}
{color:#505f79}CC: [~bpatel] [~madhan] {color}
was (Author: JIRAUSER295683):
New metrics added:
"RangerWebContainer": {
"ActiveConnectionsCount": 2,
"ConnectionTimeout": 60000,
"MaxWorkerThreadsCount": 200,
"TotalWorkerThreadsCount": 10,
"KeepAliveTimeout": 60000,
"ActiveWorkerThreadsCount": 0,
"ConnectionAcceptCount": 100,
"MinSpareWorkerThreadsCount": 10,
"MaxConnectionsCount": 8192
}
{*}Description{*}: A new segment "RangerWebContainer" added. And following
metrics were added:
# MaxConnectionsCount : {color:#505f79}Max configured tomcat connection count.
{color}
# ConnectionAcceptCount : {color:#505f79}The maximum queue length for incoming
connection requests when all possible request processing threads are in use.
Any requests received when the queue is full will be refused. The default value
is 100.{color}
# {color:#505f79}*ActiveConnectionsCount* : active connections count{color}
# {color:#505f79}*ConnectionTimeout* : The number of milliseconds this
*Connector* will wait, after accepting a connection, for the request URI line
to be presented. Default is 60 sec.{color}
# {color:#505f79}*KeepAliveTimeout* : The number of milliseconds this
*Connector* will wait for another HTTP request before closing the connection.
The default value is to use the value that has been set for the
*connectionTimeout* attribute.{color}
# {color:#505f79}*MaxWorkerThreadsCount* : The max worker(container) Threads
allowed/configured. Default is 200 .{color}
# {color:#505f79}*MinSpareWorkerThreadsCount:* core pool size of the worker
executor.{color}
# {color:#505f79}T{*}otalWorkerThreadsCount:{*} total number of worker/worker
threads in the process, irrespective of their state. They might me sitting idle
or processing any request.{color}
# {color:#505f79}*ActiveWorkerThreadsCount* : active worker/worker threads
count in the process. These number of workers are active and processing a
request.{color}
{color:#505f79}I will also update the spreadsheet with more details.{color}
{color:#505f79}Requesting community to please review and provide your feedback.
Thanks.{color}
{color:#505f79}CC: [~bpatel] [~madhan] {color}
> Tomcat metrics collection
> --------------------------
>
> Key: RANGER-4196
> URL: https://issues.apache.org/jira/browse/RANGER-4196
> Project: Ranger
> Issue Type: Improvement
> Components: Ranger
> Reporter: Vikas Kumar
> Assignee: Vikas Kumar
> Priority: Major
>
> Like "JVM mterics" and other application metrics, Tomcat related metrics
> would be very useful for following use cases:
> In case client gets "SoketTimeout" or Connection refused errors, having such
> metrics at server end will really help triaging the issue.
> It should contain following metrics:
> # maxAllowedConnection
> # currentActiveConnectionCount
> # ConnectionTimeout
> # acceptCount
> # maxContainerThreadsCount
> # activeContainerThreadsCount
> # minSpareThreadsCount // corePoolSize
> And other useful metrics.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)