From d87d955ca2810bd6bfab0244c9085ec4bfab1926 Mon Sep 17 00:00:00 2001 From: Fabien Wernli Date: Wed, 29 Oct 2014 15:11:00 +0100 Subject: [PATCH] Add indices.segments.index_writer_memory and indices.segments.index_memory From the documentation: "The number of bytes currently in use by the index buffer" http://www.elasticsearch.org/blog/performance-considerations-elasticsearch-indexing/ This is available since 1.3.0 --- elasticsearch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/elasticsearch.py b/elasticsearch.py index c985b16..bb889ca 100755 --- a/elasticsearch.py +++ b/elasticsearch.py @@ -98,6 +98,8 @@ 'indices.indexing.delete-time': Stat("counter", "nodes.%s.indices.indexing.delete_time_in_millis"), 'indices.indexing.index-current': Stat("gauge", "nodes.%s.indices.indexing.index_current"), 'indices.indexing.delete-current': Stat("gauge", "nodes.%s.indices.indexing.delete_current"), + 'indices.segments.index-writer-memory': Stat("bytes", "nodes.%s.indices.segments.index_writer_memory_in_bytes"), + 'indices.segments.index-memory': Stat("bytes", "nodes.%s.indices.segments.memory_in_bytes"), ## GET 'indices.get.total': Stat("counter", "nodes.%s.indices.get.total"),