110
]
111
112
LATENCY = {
113
- 'query_latency':
114
- {'total': 'indices_search_query_total',
115
- 'spent_time': 'indices_search_query_time_in_millis'},
116
- 'fetch_latency':
117
- {'total': 'indices_search_fetch_total',
118
- 'spent_time': 'indices_search_fetch_time_in_millis'},
119
- 'indexing_latency':
120
- {'total': 'indices_indexing_index_total',
121
- 'spent_time': 'indices_indexing_index_time_in_millis'},
122
- 'flushing_latency':
123
- {'total': 'indices_flush_total',
124
- 'spent_time': 'indices_flush_total_time_in_millis'}
113
+ 'query_latency': {
114
+ 'total': 'indices_search_query_total',
115
+ 'spent_time': 'indices_search_query_time_in_millis'
116
+ },
117
+ 'fetch_latency': {
118
+ 'total': 'indices_search_fetch_total',
119
+ 'spent_time': 'indices_search_fetch_time_in_millis'
120
+ },
121
+ 'indexing_latency': {
122
+ 'total': 'indices_indexing_index_total',
123
+ 'spent_time': 'indices_indexing_index_time_in_millis'
124
+ },
125
+ 'flushing_latency': {
126
+ 'total': 'indices_flush_total',
127
+ 'spent_time': 'indices_flush_total_time_in_millis'
128
+ }
129
}
130
131
# charts order (can be overridden if you want less charts, or different order)
174
'lines': [
175
['indices_search_query_total', 'queries', 'incremental'],
176
['indices_search_fetch_total', 'fetches', 'incremental']
173
- ]},
177
+ ]
178
+ },
179
'search_performance_current': {
180
'options': [None, 'Queries and Fetches In Progress', 'number of', 'search performance',
181
'elastic.search_performance_current', 'stacked'],
182
'lines': [
183
['indices_search_query_current', 'queries', 'absolute'],
184
['indices_search_fetch_current', 'fetches', 'absolute']
180
- ]},
185
+ ]
186
+ },
187
'search_performance_time': {
188
'options': [None, 'Time Spent On Queries And Fetches', 'seconds', 'search performance',
189
'elastic.search_performance_time', 'stacked'],
190
'lines': [
191
['indices_search_query_time_in_millis', 'query', 'incremental', 1, 1000],
192
['indices_search_fetch_time_in_millis', 'fetch', 'incremental', 1, 1000]
187
- ]},
193
+ ]
194
+ },
195
'search_latency': {
196
'options': [None, 'Query And Fetch Latency', 'ms', 'search performance', 'elastic.search_latency', 'stacked'],
197
'lines': [
198
['query_latency', 'query', 'absolute', 1, 1000],
199
['fetch_latency', 'fetch', 'absolute', 1, 1000]
193
- ]},
200
+ ]
201
+ },
202
'index_performance_total': {
203
'options': [None, 'Indexed Documents, Index Refreshes, Index Flushes To Disk', 'number of',
204
'indexing performance', 'elastic.index_performance_total', 'stacked'],
206
['indices_indexing_index_total', 'indexed', 'incremental'],
207
['indices_refresh_total', 'refreshes', 'incremental'],
208
['indices_flush_total', 'flushes', 'incremental']
201
- ]},
209
+ ]
210
+ },
211
'index_performance_current': {
212
'options': [None, 'Number Of Documents Currently Being Indexed', 'currently indexed',
213
'indexing performance', 'elastic.index_performance_current', 'stacked'],
214
'lines': [
215
['indices_indexing_index_current', 'documents', 'absolute']
207
- ]},
216
+ ]
217
+ },
218
'index_performance_time': {
219
'options': [None, 'Time Spent On Indexing, Refreshing, Flushing', 'seconds', 'indexing performance',
220
'elastic.index_performance_time', 'stacked'],
222
['indices_indexing_index_time_in_millis', 'indexing', 'incremental', 1, 1000],
223
['indices_refresh_total_time_in_millis', 'refreshing', 'incremental', 1, 1000],
224
['indices_flush_total_time_in_millis', 'flushing', 'incremental', 1, 1000]
215
- ]},
225
+ ]
226
+ },
227
'index_latency': {
228
'options': [None, 'Indexing And Flushing Latency', 'ms', 'indexing performance',
229
'elastic.index_latency', 'stacked'],
230
'lines': [
231
['indexing_latency', 'indexing', 'absolute', 1, 1000],
232
['flushing_latency', 'flushing', 'absolute', 1, 1000]
222
- ]},
233
+ ]
234
+ },
235
'index_translog_operations': {
236
'options': [None, 'Translog Operations', 'count', 'translog',
237
'elastic.index_translog_operations', 'area'],
238
'lines': [
239
['indices_translog_operations', 'total', 'absolute'],
240
['indices_translog_uncommitted_operations', 'uncommited', 'absolute']
229
- ]},
241
+ ]
242
+ },
243
'index_translog_size': {
244
'options': [None, 'Translog Size', 'MB', 'translog',
245
'elastic.index_translog_size', 'area'],
246
'lines': [
247
['indices_translog_size_in_bytes', 'total', 'absolute', 1, 1048567],
248
['indices_translog_uncommitted_size_in_bytes', 'uncommited', 'absolute', 1, 1048567]
236
- ]},
249
+ ]
250
+ },
251
'index_segments_count': {
252
'options': [None, 'Total Number Of Indices Segments', 'count', 'indices segments',
253
'elastic.index_segments_count', 'line'],
254
'lines': [
255
['indices_segments_count', 'segments', 'absolute']
242
- ]},
256
+ ]
257
+ },
258
'index_segments_memory_writer': {
259
'options': [None, 'Index Writer Memory Usage', 'MB', 'indices segments',
260
'elastic.index_segments_memory_writer', 'area'],
261
'lines': [
262
['indices_segments_index_writer_memory_in_bytes', 'total', 'absolute', 1, 1048567]
248
- ]},
263
+ ]
264
+ },
265
'index_segments_memory': {
266
'options': [None, 'Indices Segments Memory Usage', 'MB', 'indices segments',
267
'elastic.index_segments_memory', 'stacked'],
274
['indices_segments_doc_values_memory_in_bytes', 'doc values', 'absolute', 1, 1048567],
275
['indices_segments_version_map_memory_in_bytes', 'version map', 'absolute', 1, 1048567],
276
['indices_segments_fixed_bit_set_memory_in_bytes', 'fixed bit set', 'absolute', 1, 1048567]
261
- ]},
277
+ ]
278
+ },
279
'jvm_mem_heap': {
280
'options': [None, 'JVM Heap Percentage Currently in Use', 'percent', 'memory usage and gc',
281
'elastic.jvm_heap', 'area'],
282
'lines': [
283
['jvm_mem_heap_used_percent', 'inuse', 'absolute']
267
- ]},
284
+ ]
285
+ },
286
'jvm_mem_heap_bytes': {
287
'options': [None, 'JVM Heap Commit And Usage', 'MB', 'memory usage and gc',
288
'elastic.jvm_heap_bytes', 'area'],
289
'lines': [
290
['jvm_mem_heap_committed_in_bytes', 'commited', 'absolute', 1, 1048576],
291
['jvm_mem_heap_used_in_bytes', 'used', 'absolute', 1, 1048576]
274
- ]},
292
+ ]
293
+ },
294
'jvm_buffer_pool_count': {
295
'options': [None, 'JVM Buffers', 'count', 'memory usage and gc',
296
'elastic.jvm_buffer_pool_count', 'line'],
297
'lines': [
298
['jvm_buffer_pools_direct_count', 'direct', 'absolute'],
299
['jvm_buffer_pools_mapped_count', 'mapped', 'absolute']
281
- ]},
300
+ ]
301
+ },
302
'jvm_direct_buffers_memory': {
303
'options': [None, 'JVM Direct Buffers Memory', 'MB', 'memory usage and gc',
304
'elastic.jvm_direct_buffers_memory', 'area'],
305
'lines': [
306
['jvm_buffer_pools_direct_used_in_bytes', 'used', 'absolute', 1, 1048567],
307
['jvm_buffer_pools_direct_total_capacity_in_bytes', 'total capacity', 'absolute', 1, 1048567]
288
- ]},
308
+ ]
309
+ },
310
'jvm_mapped_buffers_memory': {
311
'options': [None, 'JVM Mapped Buffers Memory', 'MB', 'memory usage and gc',
312
'elastic.jvm_mapped_buffers_memory', 'area'],
313
'lines': [
314
['jvm_buffer_pools_mapped_used_in_bytes', 'used', 'absolute', 1, 1048567],
315
['jvm_buffer_pools_mapped_total_capacity_in_bytes', 'total capacity', 'absolute', 1, 1048567]
295
- ]},
316
+ ]
317
+ },
318
'jvm_gc_count': {
319
'options': [None, 'Garbage Collections', 'counts', 'memory usage and gc', 'elastic.gc_count', 'stacked'],
320
'lines': [
321
['jvm_gc_collectors_young_collection_count', 'young', 'incremental'],
322
['jvm_gc_collectors_old_collection_count', 'old', 'incremental']
301
- ]},
323
+ ]
324
+ },
325
'jvm_gc_time': {
326
'options': [None, 'Time Spent On Garbage Collections', 'ms', 'memory usage and gc',
327
'elastic.gc_time', 'stacked'],
328
'lines': [
329
['jvm_gc_collectors_young_collection_time_in_millis', 'young', 'incremental'],
330
['jvm_gc_collectors_old_collection_time_in_millis', 'old', 'incremental']
308
- ]},
331
+ ]
332
+ },
333
'thread_pool_queued': {
334
'options': [None, 'Number Of Queued Threads In Thread Pool', 'queued threads', 'queues and rejections',
335
'elastic.thread_pool_queued', 'stacked'],
339
['thread_pool_index_queue', 'index', 'absolute'],
340
['thread_pool_search_queue', 'search', 'absolute'],
341
['thread_pool_merge_queue', 'merge', 'absolute']
318
- ]},
342
+ ]
343
+ },
344
'thread_pool_rejected': {
345
'options': [None, 'Rejected Threads In Thread Pool', 'rejected threads', 'queues and rejections',
346
'elastic.thread_pool_rejected', 'stacked'],
350
['thread_pool_index_rejected', 'index', 'absolute'],
351
['thread_pool_search_rejected', 'search', 'absolute'],
352
['thread_pool_merge_rejected', 'merge', 'absolute']
328
- ]},
353
+ ]
354
+ },
355
'fielddata_cache': {
356
'options': [None, 'Fielddata Cache', 'MB', 'fielddata cache', 'elastic.fielddata_cache', 'line'],
357
'lines': [
358
['indices_fielddata_memory_size_in_bytes', 'cache', 'absolute', 1, 1048576]
333
- ]},
359
+ ]
360
+ },
361
'fielddata_evictions_tripped': {
362
'options': [None, 'Fielddata Evictions And Circuit Breaker Tripped Count', 'number of events',
363
'fielddata cache', 'elastic.fielddata_evictions_tripped', 'line'],
364
'lines': [
365
['indices_fielddata_evictions', 'evictions', 'incremental'],
366
['indices_fielddata_tripped', 'tripped', 'incremental']
340
- ]},
367
+ ]
368
+ },
369
'cluster_health_nodes': {
370
'options': [None, 'Nodes And Tasks Statistics', 'units', 'cluster health API',
371
'elastic.cluster_health_nodes', 'stacked'],
374
['number_of_data_nodes', 'data_nodes', 'absolute'],
375
['number_of_pending_tasks', 'pending_tasks', 'absolute'],
376
['number_of_in_flight_fetch', 'in_flight_fetch', 'absolute']
349
- ]},
377
+ ]
378
+ },
379
'cluster_health_status': {
380
'options': [None, 'Cluster Status', 'status', 'cluster health API',
381
'elastic.cluster_health_status', 'area'],
386
['status_foo2', None, 'absolute'],
387
['status_foo3', None, 'absolute'],
388
['status_yellow', 'yellow', 'absolute']
360
- ]},
389
+ ]
390
+ },
391
'cluster_health_shards': {
392
'options': [None, 'Shards Statistics', 'shards', 'cluster health API',
393
'elastic.cluster_health_shards', 'stacked'],
398
['delayed_unassigned_shards', 'delayed_unassigned', 'absolute'],
399
['initializing_shards', 'initializing', 'absolute'],
400
['active_shards_percent_as_number', 'active_percent', 'absolute']
371
- ]},
401
+ ]
402
+ },
403
'cluster_stats_nodes': {
404
'options': [None, 'Nodes Statistics', 'nodes', 'cluster stats API',
405
'elastic.cluster_nodes', 'stacked'],
409
['nodes_count_total', 'total', 'absolute'],
410
['nodes_count_master_only', 'master_only', 'absolute'],
411
['nodes_count_client', 'client', 'absolute']
381
- ]},
412
+ ]
413
+ },
414
'cluster_stats_query_cache': {
415
'options': [None, 'Query Cache Statistics', 'queries', 'cluster stats API',
416
'elastic.cluster_query_cache', 'stacked'],
417
'lines': [
418
['indices_query_cache_hit_count', 'hit', 'incremental'],
419
['indices_query_cache_miss_count', 'miss', 'incremental']
388
- ]},
420
+ ]
421
+ },
422
'cluster_stats_docs': {
423
'options': [None, 'Docs Statistics', 'count', 'cluster stats API',
424
'elastic.cluster_docs', 'line'],
425
'lines': [
426
['indices_docs_count', 'docs', 'absolute']
394
- ]},
427
+ ]
428
+ },
429
'cluster_stats_store': {
430
'options': [None, 'Store Statistics', 'MB', 'cluster stats API',
431
'elastic.cluster_store', 'line'],
432
'lines': [
433
['indices_store_size_in_bytes', 'size', 'absolute', 1, 1048567]
400
- ]},
434
+ ]
435
+ },
436
'cluster_stats_indices_shards': {
437
'options': [None, 'Indices And Shards Statistics', 'count', 'cluster stats API',
438
'elastic.cluster_indices_shards', 'stacked'],
439
'lines': [
440
['indices_count', 'indices', 'absolute'],
441
['indices_shards_total', 'shards', 'absolute']
407
- ]},
442
+ ]
443
+ },
444
'host_metrics_transport': {
445
'options': [None, 'Cluster Communication Transport Metrics', 'kilobit/s', 'host metrics',
446
'elastic.host_transport', 'area'],
447
'lines': [
448
['transport_rx_size_in_bytes', 'in', 'incremental', 8, 1000],
449
['transport_tx_size_in_bytes', 'out', 'incremental', -8, 1000]
414
- ]},
450
+ ]
451
+ },
452
'host_metrics_file_descriptors': {
453
'options': [None, 'Available File Descriptors In Percent', 'percent', 'host metrics',
454
'elastic.host_descriptors', 'area'],
455
'lines': [
456
['file_descriptors_used', 'used', 'absolute', 1, 10]
420
- ]},
457
+ ]
458
+ },
459
'host_metrics_http': {
460
'options': [None, 'Opened HTTP Connections', 'connections', 'host metrics',
461
'elastic.host_http_connections', 'line'],
462
'lines': [
463
['http_current_open', 'opened', 'absolute', 1, 1]
426
- ]}
464
+ ]
465
+ }
466
}
467
468