Files
elasticsearch-js/docs/_examples/cluster.nodeHotThreads.asciidoc
2013-12-27 16:41:38 -07:00

11 lines
212 B
Plaintext

.Return 10 hottest threads
[source,js]
---------
client.cluster.nodeHotThreads({
threads: 10
nodeId: 'mymisbehavingnode',
maxRetries: 10
}, function (error, response) {
console.log(response);
})
---------