Marvel: Additional metrics for marvel_node_stats

indices.indexing.index_total
indices.indexing.index_time_in_millis
indices.search.query_total
indices.search.query_time_in_millis

closes elastic/elasticsearch#661

Original commit: elastic/x-pack-elasticsearch@f9892e5b85
This commit is contained in:
Tanguy Leroux 2015-09-17 16:05:03 +02:00
parent a640ab6bec
commit fdae10ff74
2 changed files with 12 additions and 2 deletions

View File

@ -28,6 +28,10 @@ public class NodeStatsRenderer extends AbstractRenderer<NodeStatsMarvelDoc> {
"node_stats.indices.store.size_in_bytes", "node_stats.indices.store.size_in_bytes",
"node_stats.indices.store.throttle_time_in_millis", "node_stats.indices.store.throttle_time_in_millis",
"node_stats.indices.indexing.throttle_time_in_millis", "node_stats.indices.indexing.throttle_time_in_millis",
"node_stats.indices.indexing.index_total",
"node_stats.indices.indexing.index_time_in_millis",
"node_stats.indices.search.query_total",
"node_stats.indices.search.query_time_in_millis",
"node_stats.indices.segments.count", "node_stats.indices.segments.count",
"node_stats.fs.total.total_in_bytes", "node_stats.fs.total.total_in_bytes",
"node_stats.fs.total.free_in_bytes", "node_stats.fs.total.free_in_bytes",

View File

@ -15,8 +15,14 @@
"size_in_bytes": 0, "size_in_bytes": 0,
"throttle_time_in_millis": 0 "throttle_time_in_millis": 0
}, },
"indexing": { "indexing" : {
"throttle_time_in_millis": 0 "index_total" : 1,
"index_time_in_millis" : 60,
"throttle_time_in_millis" : 0
},
"search" : {
"query_total" : 0,
"query_time_in_millis" : 0
}, },
"segments": { "segments": {
"count": 0 "count": 0