70 lines
4.3 KiB
Plaintext
70 lines
4.3 KiB
Plaintext
[[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 <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<NodesHotThreadsResponse>
|
||
----
|
||
|
||
[discrete]
|
||
===== `NodesHotThreadsRequest`
|
||
|
||
[source,ts]
|
||
----
|
||
interface NodesHotThreadsRequest extends <<shared-type-request-base, RequestBase>> {
|
||
node_id?: <<shared-type-node-ids, NodeIds>>
|
||
ignore_idle_threads?: boolean
|
||
interval?: <<shared-type-duration, Duration>>
|
||
snapshots?: <<shared-type-long, long>>
|
||
master_timeout?: <<shared-type-duration, Duration>>
|
||
threads?: <<shared-type-long, long>>
|
||
timeout?: <<shared-type-duration, Duration>>
|
||
type?: <<shared-type-thread-type, ThreadType>>
|
||
sort?: <<shared-type-thread-type, ThreadType>>
|
||
}
|
||
----
|
||
|
||
[discrete]
|
||
===== `NodesHotThreadsResponse`
|
||
|
||
[source,ts]
|
||
----
|
||
interface NodesHotThreadsResponse {
|
||
}
|
||
----
|
||
|