nodes_stats(node = NULL, metric = NULL, raw = FALSE, fields = NULL,
verbose = TRUE, ...)nodes_info(node = NULL, metric = NULL, raw = FALSE, verbose = TRUE, ...)
nodes_hot_threads(node = NULL, metric = NULL, threads = 3,
interval = "500ms", type = NULL, raw = FALSE, verbose = TRUE, ...)
GET
By default, all stats are returned. You can limit this by combining any of indices, os, process, jvm, network, transport, http, fs, breaker and thread_pool. With the metric parameter you can select zero or more of:
nodes_hot_threads
returns plain text, so cat
is used to print
to the console.
(out <- nodes_stats())
nodes_stats(node = names(out$nodes))
nodes_stats(metric='get')
nodes_stats(metric='jvm')
nodes_stats(metric=c('os','process'))
nodes_info()
nodes_info(metric='process')
nodes_info(metric='jvm')
nodes_info(metric='http')
nodes_hot_threads()
Run the code above in your browser using DataLab