Files
elasticsearch-js/docs/reference-nodes-hot_threads.asciidoc
2024-12-05 14:46:46 -06:00

70 lines
4.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[[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 nodes 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 {
}
----