younifyd
Menu

Get the hot threads for nodes (GET /_nodes/{node_id}/hot_threads)

Get the hot threads for nodes

GET/_nodes/{node_id}/hot_threads

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Get the hot threads for nodes (GET /_nodes/{node_id}/hot_threads) action (under cluster).
  3. Fill in the fields below, then reference the result from later steps as {{getTheHotThreadsForNodesGetNodesNodeIdHotThreads.response.data}}.

Request

Path parameters

node_idoneOfrequired

List of node IDs or names used to limit returned information.

Query parameters

ignore_idle_threadsboolean

If true, known idle threads (e.g. waiting in a socket select, or to get a task from an empty queue) are filtered out.

intervaloneOf

The interval to do the second sampling of threads.

snapshotsnumber

Number of samples of thread stacktrace.

threadsnumber

Specifies the number of hot threads to provide information for.

timeoutoneOf

Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.

typestring

The type to sample.

One ofcpuwaitblockgpumem

sortstring

The sort order for 'cpu' type

One ofcpuwaitblockgpumem

Response

Returns 200 with an object. Read it in later steps with {{getTheHotThreadsForNodesGetNodesNodeIdHotThreads.response.data.<field>}}.

Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.