|
21 | 21 | # INDICES METRICS # |
22 | 22 |
|
23 | 23 | ## CACHE |
24 | | -keyToPath['es_cache_field_eviction'] = "nodes.%s.indices.cache.field_evictions" |
25 | | -keyToPath['es_cache_field_size'] = "nodes.%s.indices.cache.field_size_in_bytes" |
26 | | -keyToPath['es_cache_filter_count'] = "nodes.%s.indices.cache.filter_count" |
27 | | -keyToPath[ |
28 | | - 'es_cache_filter_evictions'] = "nodes.%s.indices.cache.filter_evictions" |
29 | | -keyToPath[ |
30 | | - 'es_cache_filter_size'] = "nodes.%s.indices.cache.filter_size_in_bytes" |
| 24 | +keyToPath['es_cache_field_eviction'] = "nodes.%s.indices.fielddata.evictions" |
| 25 | +keyToPath['es_cache_field_size'] = "nodes.%s.indices.fielddata.memory_size_in_bytes" |
| 26 | +keyToPath['es_cache_filter_evictions'] = "nodes.%s.indices.filter_cache.evictions" |
| 27 | +keyToPath['es_cache_filter_size'] = "nodes.%s.indices.cache.filter_size_in_bytes" |
31 | 28 |
|
32 | 29 | ## DOCS |
33 | 30 | keyToPath['es_docs_count'] = "nodes.%s.indices.docs.count" |
|
91 | 88 | keyToPath['es_threads_peak'] = "nodes.%s.jvm.threads.peak_count" |
92 | 89 |
|
93 | 90 | ## GC |
94 | | -keyToPath['es_gc_time'] = "nodes.%s.jvm.gc.collection_time_in_millis" |
95 | | -keyToPath['es_gc_count'] = "nodes.%s.jvm.gc.collection_count" |
| 91 | +keyToPath['es_gc_time_old'] = "nodes.%s.jvm.gc.collectors.old.collection_time_in_millis" |
| 92 | +keyToPath['es_gc_count_old'] = "nodes.%s.jvm.gc.collectors.old.collection_count" |
| 93 | +keyToPath['es_gc_time_young'] = "nodes.%s.jvm.gc.collectors.young.collection_time_in_millis" |
| 94 | +keyToPath['es_gc_count_young'] = "nodes.%s.jvm.gc.collectors.young.collection_count" |
96 | 95 |
|
97 | 96 | # TRANSPORT METRICS # |
98 | 97 | keyToPath['es_transport_open'] = "nodes.%s.transport.server_open" |
@@ -288,7 +287,17 @@ def metric_init(params): |
288 | 287 |
|
289 | 288 | descriptors.append( |
290 | 289 | _create_desc({ |
291 | | - 'name': 'es_gc_time', |
| 290 | + 'name': 'es_gc_time_old', |
| 291 | + 'units': 'ms', |
| 292 | + 'format': '%d', |
| 293 | + 'slope': 'positive', |
| 294 | + 'description': 'Java GC Time (ms)' |
| 295 | + }) |
| 296 | + ) |
| 297 | + |
| 298 | + descriptors.append( |
| 299 | + _create_desc({ |
| 300 | + 'name': 'es_gc_time_young', |
292 | 301 | 'units': 'ms', |
293 | 302 | 'format': '%d', |
294 | 303 | 'slope': 'positive', |
@@ -376,7 +385,16 @@ def metric_init(params): |
376 | 385 |
|
377 | 386 | descriptors.append( |
378 | 387 | _create_desc({ |
379 | | - 'name': 'es_gc_count', |
| 388 | + 'name': 'es_gc_count_old', |
| 389 | + 'format': '%d', |
| 390 | + 'slope': 'positive', |
| 391 | + 'description': 'Java GC Count', |
| 392 | + }) |
| 393 | + ) |
| 394 | + |
| 395 | + descriptors.append( |
| 396 | + _create_desc({ |
| 397 | + 'name': 'es_gc_count_young', |
380 | 398 | 'format': '%d', |
381 | 399 | 'slope': 'positive', |
382 | 400 | 'description': 'Java GC Count', |
@@ -516,14 +534,6 @@ def metric_init(params): |
516 | 534 | }) |
517 | 535 | ) |
518 | 536 |
|
519 | | - descriptors.append( |
520 | | - _create_desc({ |
521 | | - 'name': 'es_cache_filter_count', |
522 | | - 'format': '%d', |
523 | | - 'description': 'Filter Cache Count', |
524 | | - }) |
525 | | - ) |
526 | | - |
527 | 537 | descriptors.append( |
528 | 538 | _create_desc({ |
529 | 539 | 'name': 'es_cache_filter_evictions', |
|
0 commit comments