nodes.hotThreads

edit

nodes.hotThreads

edit
client.nodes.hotThreads([params, [callback]])

Check the API Conventions and the elasticsearch docs for more information pertaining to this method.

Params

interval

DurationString — The interval for the second sampling of threads

snapshots

Number — Number of samples of thread stacktrace (default: 10)

threads

Number — Specify the number of threads to provide information for (default: 3)

ignoreIdleThreads

Boolean — Don’t show threads that are in known-idle places, such as waiting on a socket select or pulling from an empty task queue (default: true)

type

String — The type to sample (default: cpu)

Options
  • "cpu"
  • "wait"
  • "block"

timeout

DurationString — Explicit operation timeout

nodeId

String, String[], Boolean — A comma-separated list of node IDs or names to limit the returned information; use _local to return information from the node you’re connecting to, leave empty to get information from all nodes

back to top