Marvel: add process CPU percent to node_stats document
closes elastic/elasticsearch#808 Original commit: elastic/x-pack-elasticsearch@410000c913
This commit is contained in:
parent
21bb43ce3c
commit
159ec9b226
|
@ -37,6 +37,7 @@ public class NodeStatsRenderer extends AbstractRenderer<NodeStatsMarvelDoc> {
|
||||||
"node_stats.fs.total.free_in_bytes",
|
"node_stats.fs.total.free_in_bytes",
|
||||||
"node_stats.fs.total.available_in_bytes",
|
"node_stats.fs.total.available_in_bytes",
|
||||||
"node_stats.os.load_average",
|
"node_stats.os.load_average",
|
||||||
|
"node_stats.process.cpu.percent",
|
||||||
"node_stats.process.max_file_descriptors",
|
"node_stats.process.max_file_descriptors",
|
||||||
"node_stats.process.open_file_descriptors",
|
"node_stats.process.open_file_descriptors",
|
||||||
"node_stats.jvm.mem.heap_used_in_bytes",
|
"node_stats.jvm.mem.heap_used_in_bytes",
|
||||||
|
|
|
@ -33,7 +33,10 @@
|
||||||
},
|
},
|
||||||
"process": {
|
"process": {
|
||||||
"open_file_descriptors": 235,
|
"open_file_descriptors": 235,
|
||||||
"max_file_descriptors": 4096
|
"max_file_descriptors": 4096,
|
||||||
|
"cpu": {
|
||||||
|
"percent": 47
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"jvm": {
|
"jvm": {
|
||||||
"mem": {
|
"mem": {
|
||||||
|
|
Loading…
Reference in New Issue