@cryptotaxi247 / netdata-1 / commits / fbbe2b3c2

Add support for ES 6.3 'write' threadpool

Elasticsearch 6.3.0 renamed the bulk threadpool to write threadpool. This adds support for the new threadpool name.

NeonSludge committed Jun 25, 2018 at 10:01 UTC fbbe2b3c2894b93936a35faefe360c50d83b158a
1 file changed +4
python.d/elasticsearch.chart.py
+4
@@ -64,6 +64,8 @@ NODE_STATS = [
64 'jvm.buffer_pools.mapped.total_capacity_in_bytes',
65 'thread_pool.bulk.queue',
66 'thread_pool.bulk.rejected',
67 + 'thread_pool.write.queue',
68 + 'thread_pool.write.rejected',
69 'thread_pool.index.queue',
70 'thread_pool.index.rejected',
71 'thread_pool.search.queue',
@@ -281,6 +283,7 @@ CHARTS = {
283 'elastic.thread_pool_queued', 'stacked'],
284 'lines': [
285 ['thread_pool_bulk_queue', 'bulk', 'absolute'],
286 + ['thread_pool_write_queue', 'write', 'absolute'],
287 ['thread_pool_index_queue', 'index', 'absolute'],
288 ['thread_pool_search_queue', 'search', 'absolute'],
289 ['thread_pool_merge_queue', 'merge', 'absolute']
@@ -290,6 +293,7 @@ CHARTS = {
293 'elastic.thread_pool_rejected', 'stacked'],
294 'lines': [
295 ['thread_pool_bulk_rejected', 'bulk', 'absolute'],
296 + ['thread_pool_write_rejected', 'write', 'absolute'],
297 ['thread_pool_index_rejected', 'index', 'absolute'],
298 ['thread_pool_search_rejected', 'search', 'absolute'],
299 ['thread_pool_merge_rejected', 'merge', 'absolute']