62 lines
4.1 KiB
Plaintext
62 lines
4.1 KiB
Plaintext
[[reference-cat-thread_pool]]
|
|
|
|
////////
|
|
===========================================================================================================================
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
|
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
|
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
|
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
|
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
|
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
|
|| ||
|
|
|| ||
|
|
|| 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.cat.threadPool
|
|
|
|
Returns thread pool statistics for each node in a cluster. Returned information includes all built-in thread pools and custom thread pools. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
|
|
|
|
{ref}/cat-thread-pool.html[{es} documentation]
|
|
|
|
[discrete]
|
|
==== Function signature
|
|
|
|
[source,ts]
|
|
----
|
|
(CatThreadPoolRequest, options?): Promise<CatThreadPoolResponse>
|
|
----
|
|
|
|
[discrete]
|
|
===== `CatThreadPoolRequest`
|
|
|
|
[source,ts]
|
|
----
|
|
interface CatThreadPoolRequest extends CatCatRequestBase {
|
|
thread_pool_patterns?: <<shared-type-names, Names>>
|
|
time?: <<shared-type-time-unit, TimeUnit>>
|
|
}
|
|
----
|
|
|
|
[discrete]
|
|
===== `CatThreadPoolResponse`
|
|
|
|
[source,ts]
|
|
----
|
|
type CatThreadPoolResponse = CatThreadPoolThreadPoolRecord[]
|
|
----
|
|
|