Fix test on Linux; setting name missing 'total.'

Original commit: elastic/x-pack-elasticsearch@de0183b3ef
This commit is contained in:
Chris Earle 2016-09-01 18:12:00 -04:00
parent 6d40cb63d0
commit bb5ff7ab36
2 changed files with 23 additions and 19 deletions

View File

@ -103,11 +103,11 @@ public class NodeStatsResolver extends MonitoringIndexNameResolver.Timestamped<N
// Disk Info // Disk Info
"node_stats.fs.data.spins", "node_stats.fs.data.spins",
// Node IO Stats // Node IO Stats
"node_stats.fs.io_stats.operations", "node_stats.fs.io_stats.total.operations",
"node_stats.fs.io_stats.read_operations", "node_stats.fs.io_stats.total.read_operations",
"node_stats.fs.io_stats.write_operations", "node_stats.fs.io_stats.total.write_operations",
"node_stats.fs.io_stats.read_kilobytes", "node_stats.fs.io_stats.total.read_kilobytes",
"node_stats.fs.io_stats.write_kilobytes"); "node_stats.fs.io_stats.total.write_kilobytes");
FILTERS = Collections.unmodifiableSet(filters); FILTERS = Collections.unmodifiableSet(filters);
} }

View File

@ -566,20 +566,24 @@
}, },
"io_stats": { "io_stats": {
"properties": { "properties": {
"operations": { "total": {
"type": "long" "properties": {
}, "operations": {
"read_operations": { "type": "long"
"type": "long" },
}, "read_operations": {
"write_operations": { "type": "long"
"type": "long" },
}, "write_operations": {
"read_kilobytes": { "type": "long"
"type": "long" },
}, "read_kilobytes": {
"write_kilobytes": { "type": "long"
"type": "long" },
"write_kilobytes": {
"type": "long"
}
}
} }
} }
} }