Reflect upstream load average change
This commit addresses the handling of load averages in Marvel due to upstream changes in core Elasticsearch where the load average field was changed from an array to an object. Original commit: elastic/x-pack-elasticsearch@9ea57968bb
This commit is contained in:
parent
d713f203ad
commit
69ee9d77ad
|
@ -36,7 +36,7 @@ public class NodeStatsRenderer extends AbstractRenderer<NodeStatsMarvelDoc> {
|
|||
"node_stats.fs.total.total_in_bytes",
|
||||
"node_stats.fs.total.free_in_bytes",
|
||||
"node_stats.fs.total.available_in_bytes",
|
||||
"node_stats.os.cpu.load_average",
|
||||
"node_stats.os.cpu.load_average.1m",
|
||||
"node_stats.process.cpu.percent",
|
||||
"node_stats.process.max_file_descriptors",
|
||||
"node_stats.process.open_file_descriptors",
|
||||
|
|
|
@ -30,11 +30,9 @@
|
|||
},
|
||||
"os": {
|
||||
"cpu": {
|
||||
"load_average": [
|
||||
0.66,
|
||||
0.87,
|
||||
1.28
|
||||
]
|
||||
"load_average": {
|
||||
"1m": 0.66
|
||||
}
|
||||
}
|
||||
},
|
||||
"process": {
|
||||
|
|
Loading…
Reference in New Issue