jtuglu1 commented on code in PR #18883:
URL: https://github.com/apache/druid/pull/18883#discussion_r2662334619


##########
docs/operations/metrics.md:
##########
@@ -149,10 +149,13 @@ to represent the task ID are deprecated and will be 
removed in a future release.
 |Metric|Description|Normal value|
 |------|-----------|------------|
 |`jetty/numOpenConnections`|Number of open jetty connections.|Not much higher 
than number of jetty threads.|
-|`jetty/threadPool/total`|Number of total workable threads allocated.|The 
number should equal to `threadPoolNumIdleThreads` + `threadPoolNumBusyThreads`.|
-|`jetty/threadPool/idle`|Number of idle threads.|Less than or equal to 
`threadPoolNumTotalThreads`. Non zero number means there is less work to do 
than configured capacity.|
-|`jetty/threadPool/busy`|Number of busy threads that has work to do from the 
worker queue.|Less than or equal to `threadPoolNumTotalThreads`.|
-|`jetty/threadPool/isLowOnThreads`|A rough indicator of whether number of 
total workable threads allocated is enough to handle the works in the work 
queue.|0|
+|`jetty/threadPool/total`|Number of total workable threads allocated. This 
includes internal threads and threads that are ready to serve requests.|Equals 
the total number of usable threads in the Jetty thread pool (idle + busy).|
+|`jetty/threadPool/ready`| Number of threads that are ready to serve requests. 
| Equals the total number of usable threads in the Jetty thread pool to serve 
requests (idle + busy).|
+|`jetty/threadPool/utilized`| Number of threads currently in use by the thread 
pool to serve requests. | Typically well below ready.|

Review Comment:
   Can we frame this as an inequality?



##########
docs/operations/metrics.md:
##########
@@ -149,10 +149,13 @@ to represent the task ID are deprecated and will be 
removed in a future release.
 |Metric|Description|Normal value|
 |------|-----------|------------|
 |`jetty/numOpenConnections`|Number of open jetty connections.|Not much higher 
than number of jetty threads.|
-|`jetty/threadPool/total`|Number of total workable threads allocated.|The 
number should equal to `threadPoolNumIdleThreads` + `threadPoolNumBusyThreads`.|
-|`jetty/threadPool/idle`|Number of idle threads.|Less than or equal to 
`threadPoolNumTotalThreads`. Non zero number means there is less work to do 
than configured capacity.|
-|`jetty/threadPool/busy`|Number of busy threads that has work to do from the 
worker queue.|Less than or equal to `threadPoolNumTotalThreads`.|
-|`jetty/threadPool/isLowOnThreads`|A rough indicator of whether number of 
total workable threads allocated is enough to handle the works in the work 
queue.|0|
+|`jetty/threadPool/total`|Number of total workable threads allocated. This 
includes internal threads and threads that are ready to serve requests.|Equals 
the total number of usable threads in the Jetty thread pool (idle + busy).|
+|`jetty/threadPool/ready`| Number of threads that are ready to serve requests. 
| Equals the total number of usable threads in the Jetty thread pool to serve 
requests (idle + busy).|

Review Comment:
   nit: spacing on the markdown `|`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to