elastic/elasticsearch

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

Offen

#80.340 geöffnet am 04.11.2021

 (13 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (25.882 Forks)batch import
:Distributed/Network>enhancementTeam:Distributedhelp wanted

Repository-Metriken

Stars
 (76.700 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 2T) (1.000 gemergte PRs in 30 T)

Beschreibung

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