Skip to content

Commit

Permalink
do not filter thread pool by port (apache#3919)
Browse files Browse the repository at this point in the history
  • Loading branch information
nzomkxia authored and vio-lin committed Apr 29, 2019
1 parent 30d05ba commit 8f28e27
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,6 @@ private List<MetricObject> getThreadPoolMessage() {
ExecutorService executor = (ExecutorService) entry.getValue();
if (executor instanceof ThreadPoolExecutor) {
ThreadPoolExecutor tp = (ThreadPoolExecutor) executor;
// ignore metrcis service
if (port.equals(this.port + "")) {
continue;
}

threadPoolMtricList.add(value2MetricObject("threadPool.active", tp.getActiveCount(), MetricLevel.MAJOR));
threadPoolMtricList.add(value2MetricObject("threadPool.core", tp.getCorePoolSize(), MetricLevel.MAJOR));
Expand Down

0 comments on commit 8f28e27

Please sign in to comment.