elastic/elasticsearch

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

Aberta

#80.340 aberto em 4 de nov. de 2021

 (13 comentários) (0 reação) (0 responsável)Java (25.882 forks)batch import
:Distributed/Network>enhancementTeam:Distributedhelp wanted

Métricas do repositório

Stars
 (76.700 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador