elastic/elasticsearch

we should add monitor about whether the netty worker thread pool are busy or not

Open

#80,340 opened on Nov 4, 2021

View on GitHub
 (13 comments) (0 reactions) (0 assignees)Java (76,700 stars) (25,882 forks)batch import
:Distributed/Network>enhancementTeam:Distributedhelp wanted

Description

We find the took in response is smaller than the external statistics timeout in product, part of the reason is that some threads of worker thread pool are relatively busy, the search requests are pending on the worker queue. Yet there is not available api, to get the statistics of worker queue, we have to add metrics and build the source code, If fact, There is a serious queuing here: 97, 64, 68, 108, 133, 61, 62, 123, 70, 66, 118, 110, 65, 52, 95, each number represents one of the worker threads's pending tasks.

If we can add api to get those metrics.

Contributor guide

we should add monitor about whether the netty worker thread pool are busy or not · elastic/elasticsearch#80340 | Good First Issue