keith-turner opened a new issue #2271:
URL: https://github.com/apache/accumulo/issues/2271


   **Is your feature request related to a problem? Please describe.**
    
   Accumulo has a lot of user configurable threads pools.  While looking into 
#1749 the following thread pool related properties were found.  
   
   ```
   compaction.coordinator.compaction.finalizer.threads.maximum
   compaction.coordinator.threads.minimum
   compactor.threads.minimum
   gc.threads.delete
   manager.bulk.threadpool.size
   manager.fate.threadpool.size
   manager.rename.threadpool.size
   manager.replication.coordinator.minthreads
   manager.server.threads.minimum
   manager.status.threadpool.size
   replication.worker.threads
   tserver.assignment.concurrent.max
   tserver.bloom.load.concurrent.max
   tserver.bulk.assign.threads
   tserver.bulk.process.threads
   tserver.compaction.minor.concurrent.max
   tserver.scan.executors.default.threads
   tserver.scan.executors.meta.threads
   tserver.workq.threads
   tserver.wal.sort.concurrent.max
   tserver.summary.partition.threads
   tserver.summary.remote.threads
   tserver.summary.retrieval.threads
   tserver.server.threads.minimum
   
   ```
   
   It would be very useful if each of these thread pools generated metrics on 
at least the number of task queued and running.  Other metrics per thread pool 
like runtime and queue time stats may also be nice.
   
   The compaction threads pools introduced in 2.1.0-SNAPSHOT have metrics for 
each thread pool.  These metrics are very useful in adjusting the compaction 
thread pool configuration as explained in this [blog 
post](https://accumulo.apache.org/blog/2021/07/08/external-compactions.html).
   
   **Describe the solution you'd like**
   
    * Centralize thread pool metrics functionality in the code, possibly 
building on the work done in #1818.  Try to make all code creating thread pools 
from a user property use the same code for metrics instrumentation of the 
thread pool.
    * Makes it easy to relate the metrics to the property.  Not sure if this is 
possible to accomplish.
   
   


-- 
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]


Reply via email to