[[reference-nodes-hot_threads]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// [discrete] === client.nodes.hotThreads This API yields a breakdown of the hot threads on each selected node in the cluster. The output is plain text with a breakdown of each node’s top hot threads. {ref}/cluster-nodes-hot-threads.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (NodesHotThreadsRequest, options?): Promise ---- [discrete] ===== `NodesHotThreadsRequest` [source,ts] ---- interface NodesHotThreadsRequest extends <> { node_id?: <> ignore_idle_threads?: boolean interval?: <> snapshots?: <> master_timeout?: <> threads?: <> timeout?: <> type?: <> sort?: <> } ---- [discrete] ===== `NodesHotThreadsResponse` [source,ts] ---- interface NodesHotThreadsResponse { } ----