Adding charts for Elasticsearch translog statistics.
NeonSludge committed
Mar 13, 2018 at 11:18 UTC
8427de5db581070c9981fca43c4af5d0c1d44bab
1 file changed
+15
-1
python.d/elasticsearch.chart.py
+15
-1
@@ -124,7 +124,7 @@ LATENCY = {
124
# charts order (can be overridden if you want less charts, or different order)
125
ORDER = ['search_performance_total', 'search_performance_current', 'search_performance_time',
126
'search_latency', 'index_performance_total', 'index_performance_current', 'index_performance_time',
127
- 'index_latency', 'index_segments_count', 'index_segments_memory', 'jvm_mem_heap',
127
+ 'index_latency', 'index_translog_operations', 'index_translog_size', 'index_segments_count', 'index_segments_memory', 'jvm_mem_heap',
128
'jvm_buffer_pool_count', 'jvm_direct_buffers_memory', 'jvm_mapped_buffers_memory',
129
'jvm_gc_count', 'jvm_gc_time', 'host_metrics_file_descriptors',
130
'host_metrics_http', 'host_metrics_transport', 'thread_pool_queued', 'thread_pool_rejected',
@@ -189,6 +189,20 @@ CHARTS = {
189
['indexing_latency', 'indexing', 'absolute', 1, 1000],
190
['flushing_latency', 'flushing', 'absolute', 1, 1000]
191
]},
192
+ 'index_translog_operations': {
193
+ 'options': [None, 'Translog Operations', 'count', 'translog',
194
+ 'elastic.index_translog_operations', 'area'],
195
+ 'lines': [
196
+ ['indices_translog_operations', 'total', 'absolute'],
197
+ ['indices_translog_uncommitted_operations', 'uncommited', 'absolute']
198
+ ]},
199
+ 'index_translog_size': {
200
+ 'options': [None, 'Translog Size', 'MB', 'translog',
201
+ 'elastic.index_translog_size', 'area'],
202
+ 'lines': [
203
+ ['indices_translog_size_in_bytes', 'total', 'absolute', 1, 1048567],
204
+ ['indices_translog_uncommitted_size_in_bytes', 'uncommited', 'absolute', 1, 1048567]
205
+ ]},
206
'index_segments_count': {
207
'options': [None, 'Total Number Of Indices Segments', 'count', 'indices segments',
208
'elastic.index_segments_count', 'line'],