Add a separate index writer memory chart. Remove 'total' and 'index writer' dimensions from the index_segments_memory chart.
Add a separate index writer memory chart. Remove 'total' and 'index writer' dimensions from the index_segments_memory chart.
NeonSludge committed
Mar 13, 2018 at 14:06 UTC
22ca3a5e9fdf39d098ee5a624e0c15645761e56b
1 file changed
+10
-7
python.d/elasticsearch.chart.py
+10
-7
@@ -39,7 +39,6 @@ NODE_STATS = [
39
'indices.translog.uncommitted_operations',
40
'indices.translog.uncommitted_size_in_bytes',
41
'indices.segments.count',
42
- 'indices.segments.memory_in_bytes',
42
'indices.segments.terms_memory_in_bytes',
43
'indices.segments.stored_fields_memory_in_bytes',
44
'indices.segments.term_vectors_memory_in_bytes',
@@ -125,9 +124,9 @@ 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',
128
- 'index_latency', 'index_translog_operations', 'index_translog_size', 'index_segments_count', 'index_segments_memory', 'jvm_mem_heap',
129
- 'jvm_mem_heap_bytes', 'jvm_buffer_pool_count', 'jvm_direct_buffers_memory', 'jvm_mapped_buffers_memory',
130
- 'jvm_gc_count', 'jvm_gc_time', 'host_metrics_file_descriptors',
127
+ 'index_latency', 'index_translog_operations', 'index_translog_size', 'index_segments_count', 'index_segments_memory_writer',
128
+ 'index_segments_memory', 'jvm_mem_heap', 'jvm_mem_heap_bytes', 'jvm_buffer_pool_count',
129
+ 'jvm_direct_buffers_memory', 'jvm_mapped_buffers_memory', 'jvm_gc_count', 'jvm_gc_time', 'host_metrics_file_descriptors',
130
'host_metrics_http', 'host_metrics_transport', 'thread_pool_queued', 'thread_pool_rejected',
131
'fielddata_cache', 'fielddata_evictions_tripped', 'cluster_health_status', 'cluster_health_nodes',
132
'cluster_health_shards', 'cluster_stats_nodes', 'cluster_stats_query_cache', 'cluster_stats_docs',
@@ -210,18 +209,22 @@ CHARTS = {
209
'lines': [
210
['indices_segments_count', 'segments', 'absolute']
211
]},
212
+ 'index_segments_memory_writer': {
213
+ 'options': [None, 'Index Writer Memory Usage', 'MB', 'indices segments',
214
+ 'elastic.index_segments_memory_writer', 'area'],
215
+ 'lines': [
216
+ ['indices_segments_index_writer_memory_in_bytes', 'total', 'absolute', 1, 1048567]
217
+ ]},
218
'index_segments_memory': {
219
'options': [None, 'Indices Segments Memory Usage', 'MB', 'indices segments',
215
- 'elastic.index_segments_memory', 'area'],
220
+ 'elastic.index_segments_memory', 'stacked'],
221
'lines': [
217
- ['indices_segments_memory_in_bytes', 'total', 'absolute', 1, 1048567],
222
['indices_segments_terms_memory_in_bytes', 'terms', 'absolute', 1, 1048567],
223
['indices_segments_stored_fields_memory_in_bytes', 'stored fields', 'absolute', 1, 1048567],
224
['indices_segments_term_vectors_memory_in_bytes', 'term vectors', 'absolute', 1, 1048567],
225
['indices_segments_norms_memory_in_bytes', 'norms', 'absolute', 1, 1048567],
226
['indices_segments_points_memory_in_bytes', 'points', 'absolute', 1, 1048567],
227
['indices_segments_doc_values_memory_in_bytes', 'doc values', 'absolute', 1, 1048567],
224
- ['indices_segments_index_writer_memory_in_bytes', 'index writer', 'absolute', 1, 1048567],
228
['indices_segments_version_map_memory_in_bytes', 'version map', 'absolute', 1, 1048567],
229
['indices_segments_fixed_bit_set_memory_in_bytes', 'fixed bit set', 'absolute', 1, 1048567]
230
]},