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 (25,882 forks)batch import
:Distributed/Network>enhancementTeam:Distributedhelp wanted

Repository metrics

Stars
 (76,700 stars)
PR merge metrics
 (Avg merge 2d 5h) (1,000 merged PRs in 30d)

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