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

@ -565,6 +565,8 @@
} }
}, },
"io_stats": { "io_stats": {
"properties": {
"total": {
"properties": { "properties": {
"operations": { "operations": {
"type": "long" "type": "long"
@ -584,6 +586,8 @@
} }
} }
} }
}
}
}, },
"os": { "os": {
"type": "object" "type": "object"