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:
Tanguy Leroux 2015-10-15 15:35:01 +02:00
parent 21bb43ce3c
commit 159ec9b226
2 changed files with 5 additions and 1 deletions

View File

@ -37,6 +37,7 @@ public class NodeStatsRenderer extends AbstractRenderer<NodeStatsMarvelDoc> {
"node_stats.fs.total.free_in_bytes",
"node_stats.fs.total.available_in_bytes",
"node_stats.os.load_average",
"node_stats.process.cpu.percent",
"node_stats.process.max_file_descriptors",
"node_stats.process.open_file_descriptors",
"node_stats.jvm.mem.heap_used_in_bytes",

View File

@ -33,7 +33,10 @@
},
"process": {
"open_file_descriptors": 235,
"max_file_descriptors": 4096
"max_file_descriptors": 4096,
"cpu": {
"percent": 47
}
},
"jvm": {
"mem": {