diff --git a/packages/spring_boot/_dev/build/docs/README.md b/packages/spring_boot/_dev/build/docs/README.md index e46ff3e1722..226e839b3bb 100644 --- a/packages/spring_boot/_dev/build/docs/README.md +++ b/packages/spring_boot/_dev/build/docs/README.md @@ -4,7 +4,7 @@ The Spring Boot integration is used to fetch observability data from [Spring Boo ## Compatibility -This integration has been tested against Spring Boot v2.3.12. +This integration has been tested against Spring Boot v2.7.17 with LTS JDK versions 8, 11, 17, and 21. ## Requirements diff --git a/packages/spring_boot/changelog.yml b/packages/spring_boot/changelog.yml index 0ffdec7a023..8bcf1d366d0 100644 --- a/packages/spring_boot/changelog.yml +++ b/packages/spring_boot/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.2.0" + changes: + - description: Add support for GC datastream on Spring Boot 2.x with LTS JDK versions 11, 17, and 21. + type: enhancement + link: https://github.com/elastic/integrations/pull/8405 - version: "1.1.0" changes: - description: Limit request tracer log count to five. diff --git a/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-g1-concurrency-generation-metrics.json b/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-g1-concurrency-generation-metrics.json new file mode 100644 index 00000000000..531287d7235 --- /dev/null +++ b/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-g1-concurrency-generation-metrics.json @@ -0,0 +1,95 @@ +{ + "events": [ + { + "jolokia": { + "metrics": { + "mbean": "java.lang:name=G1 Concurrent GC,type=GarbageCollector", + "name": "G1 Concurrent GC", + "last_info": { + "memoryUsageBeforeGc": { + "CodeCache": { + "init": 2555904, + "committed": 15597568, + "max": 50331648, + "used": 7985664 + }, + "G1 Old Gen": { + "init": 171966464, + "committed": 25165824, + "max": 3103784960, + "used": 17718928 + }, + "G1 Survivor Space": { + "init": 0, + "committed": 2097152, + "max": -1, + "used": 1055280 + }, + "Compressed Class Space": { + "init": 0, + "committed": 5308416, + "max": 1073741824, + "used": 4993888 + }, + "Metaspace": { + "init": 0, + "committed": 36962304, + "max": -1, + "used": 36143624 + }, + "G1 Eden Space": { + "init": 23068672, + "committed": 39845888, + "max": -1, + "used": 0 + } + }, + "duration": 0, + "GcThreadCount": 5, + "startTime": 13422137, + "endTime": 13422137, + "id": 18, + "memoryUsageAfterGc": { + "G1 Old Gen": { + "init": 171966464, + "committed": 25165824, + "max": 3103784960, + "used": 17718928 + }, + "CodeCache": { + "init": 2555904, + "committed": 15597568, + "max": 50331648, + "used": 7985664 + }, + "G1 Survivor Space": { + "init": 0, + "committed": 2097152, + "max": -1, + "used": 1055280 + }, + "Compressed Class Space": { + "init": 0, + "committed": 5308416, + "max": 1073741824, + "used": 4993888 + }, + "Metaspace": { + "init": 0, + "committed": 36962304, + "max": -1, + "used": 36143624 + }, + "G1 Eden Space": { + "init": 23068672, + "committed": 39845888, + "max": -1, + "used": 0 + } + } + } + } + } + } + ] +} \ No newline at end of file diff --git a/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-g1-concurrency-generation-metrics.json-expected.json b/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-g1-concurrency-generation-metrics.json-expected.json new file mode 100644 index 00000000000..4a6ce439f23 --- /dev/null +++ b/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-g1-concurrency-generation-metrics.json-expected.json @@ -0,0 +1,112 @@ +{ + "expected": [ + { + "ecs": { + "version": "8.5.1" + }, + "event": { + "category": [ + "web" + ], + "dataset": "spring_boot.gc", + "kind": "metric", + "module": "spring_boot", + "type": [ + "info" + ] + }, + "spring_boot": { + "gc": { + "last_info": { + "id": 18, + "memory_usage": { + "after": { + "code_cache": { + "committed": 15597568, + "init": 2555904, + "max": 50331648, + "used": 7985664 + }, + "compressed_class_space": { + "committed": 5308416, + "init": 0, + "max": 1073741824, + "used": 4993888 + }, + "g1_eden_space": { + "committed": 39845888, + "init": 23068672, + "max": -1, + "used": 0 + }, + "g1_old_gen": { + "committed": 25165824, + "init": 171966464, + "max": 3103784960, + "used": 17718928 + }, + "g1_survivor_space": { + "committed": 2097152, + "init": 0, + "max": -1, + "used": 1055280 + }, + "metaspace": { + "committed": 36962304, + "init": 0, + "max": -1, + "used": 36143624 + } + }, + "before": { + "code_cache": { + "committed": 15597568, + "init": 2555904, + "max": 50331648, + "used": 7985664 + }, + "compressed_class_space": { + "committed": 5308416, + "init": 0, + "max": 1073741824, + "used": 4993888 + }, + "g1_eden_space": { + "committed": 39845888, + "init": 23068672, + "max": -1, + "used": 0 + }, + "g1_old_gen": { + "committed": 25165824, + "init": 171966464, + "max": 3103784960, + "used": 17718928 + }, + "g1_survivor_space": { + "committed": 2097152, + "init": 0, + "max": -1, + "used": 1055280 + }, + "metaspace": { + "committed": 36962304, + "init": 0, + "max": -1, + "used": 36143624 + } + } + }, + "thread_count": 5, + "time": { + "duration": 0, + "end": 13422137, + "start": 13422137 + } + }, + "name": "G1 Concurrent GC" + } + } + } + ] +} \ No newline at end of file diff --git a/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-g1-young-generation-metrics.json b/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-g1-young-generation-metrics.json new file mode 100644 index 00000000000..20d11fc8d56 --- /dev/null +++ b/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-g1-young-generation-metrics.json @@ -0,0 +1,95 @@ +{ + "events": [ + { + "jolokia": { + "metrics": { + "mbean": "java.lang:name=G1 Young Generation,type=GarbageCollector", + "name": "G1 Young Generation", + "last_info": { + "duration": 2, + "memoryUsageBeforeGc": { + "CodeCache": { + "init": 2555904, + "committed": 15597568, + "max": 50331648, + "used": 7985664 + }, + "G1 Old Gen": { + "init": 171966464, + "committed": 25165824, + "max": 3103784960, + "used": 17685216 + }, + "G1 Survivor Space": { + "init": 0, + "committed": 2097152, + "max": -1, + "used": 1186384 + }, + "Compressed Class Space": { + "init": 0, + "committed": 5308416, + "max": 1073741824, + "used": 4994400 + }, + "Metaspace": { + "init": 0, + "committed": 36962304, + "max": -1, + "used": 36145456 + }, + "G1 Eden Space": { + "init": 23068672, + "committed": 39845888, + "max": -1, + "used": 37748736 + } + }, + "GcThreadCount": 5, + "startTime": 13422112, + "endTime": 13422114, + "id": 43, + "memoryUsageAfterGc": { + "CodeCache": { + "init": 2555904, + "committed": 15597568, + "max": 50331648, + "used": 7985664 + }, + "G1 Old Gen": { + "init": 171966464, + "committed": 25165824, + "max": 3103784960, + "used": 17718928 + }, + "G1 Survivor Space": { + "init": 0, + "committed": 2097152, + "max": -1, + "used": 1055280 + }, + "Compressed Class Space": { + "init": 0, + "committed": 5308416, + "max": 1073741824, + "used": 4994400 + }, + "Metaspace": { + "init": 0, + "committed": 36962304, + "max": -1, + "used": 36145456 + }, + "G1 Eden Space": { + "init": 23068672, + "committed": 39845888, + "max": -1, + "used": 0 + } + } + } + } + } + } + ] +} \ No newline at end of file diff --git a/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-g1-young-generation-metrics.json-expected.json b/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-g1-young-generation-metrics.json-expected.json new file mode 100644 index 00000000000..b1e54205114 --- /dev/null +++ b/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-g1-young-generation-metrics.json-expected.json @@ -0,0 +1,112 @@ +{ + "expected": [ + { + "ecs": { + "version": "8.5.1" + }, + "event": { + "category": [ + "web" + ], + "dataset": "spring_boot.gc", + "kind": "metric", + "module": "spring_boot", + "type": [ + "info" + ] + }, + "spring_boot": { + "gc": { + "last_info": { + "id": 43, + "memory_usage": { + "after": { + "code_cache": { + "committed": 15597568, + "init": 2555904, + "max": 50331648, + "used": 7985664 + }, + "compressed_class_space": { + "committed": 5308416, + "init": 0, + "max": 1073741824, + "used": 4994400 + }, + "g1_eden_space": { + "committed": 39845888, + "init": 23068672, + "max": -1, + "used": 0 + }, + "g1_old_gen": { + "committed": 25165824, + "init": 171966464, + "max": 3103784960, + "used": 17718928 + }, + "g1_survivor_space": { + "committed": 2097152, + "init": 0, + "max": -1, + "used": 1055280 + }, + "metaspace": { + "committed": 36962304, + "init": 0, + "max": -1, + "used": 36145456 + } + }, + "before": { + "code_cache": { + "committed": 15597568, + "init": 2555904, + "max": 50331648, + "used": 7985664 + }, + "compressed_class_space": { + "committed": 5308416, + "init": 0, + "max": 1073741824, + "used": 4994400 + }, + "g1_eden_space": { + "committed": 39845888, + "init": 23068672, + "max": -1, + "used": 37748736 + }, + "g1_old_gen": { + "committed": 25165824, + "init": 171966464, + "max": 3103784960, + "used": 17685216 + }, + "g1_survivor_space": { + "committed": 2097152, + "init": 0, + "max": -1, + "used": 1186384 + }, + "metaspace": { + "committed": 36962304, + "init": 0, + "max": -1, + "used": 36145456 + } + } + }, + "thread_count": 5, + "time": { + "duration": 2, + "end": 13422114, + "start": 13422112 + } + }, + "name": "G1 Young Generation" + } + } + } + ] +} \ No newline at end of file diff --git a/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-ps-marksweep-metrics.json b/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-ps-marksweep-metrics.json new file mode 100644 index 00000000000..14e6e1a9074 --- /dev/null +++ b/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-ps-marksweep-metrics.json @@ -0,0 +1,94 @@ +{ + "events": [ + { + "jolokia": { + "metrics": { + "last_info": { + "duration": 73, + "memoryUsageBeforeGc": { + "PS Eden Space": { + "max": 1.3631488e+09, + "used": 0, + "init": 6.5536e+07, + "committed": 2.58998272e+08 + }, + "Code Cache": { + "init": 2.555904e+06, + "committed": 1.3893632e+07, + "max": 2.5165824e+08, + "used": 1.2812032e+07 + }, + "Compressed Class Space": { + "init": 0, + "committed": 4.890624e+06, + "max": 1.073741824e+09, + "used": 4.451536e+06 + }, + "PS Survivor Space": { + "committed": 1.1010048e+07, + "max": 1.1010048e+07, + "used": 1.0977344e+07, + "init": 1.048576e+07 + }, + "PS Old Gen": { + "max": 2.774007808e+09, + "used": 6.651256e+06, + "init": 1.73539328e+08, + "committed": 8.8604672e+07 + }, + "Metaspace": { + "committed": 3.6347904e+07, + "max": -1, + "used": 3.382816e+07, + "init": 0 + } + }, + "GcThreadCount": 10, + "startTime": 3435, + "endTime": 3508, + "id": 2, + "memoryUsageAfterGc": { + "PS Eden Space": { + "init": 6.5536e+07, + "committed": 2.58998272e+08, + "max": 1.3631488e+09, + "used": 0 + }, + "Code Cache": { + "committed": 1.3893632e+07, + "max": 2.5165824e+08, + "used": 1.2812032e+07, + "init": 2.555904e+06 + }, + "Compressed Class Space": { + "init": 0, + "committed": 4.890624e+06, + "max": 1.073741824e+09, + "used": 4.451536e+06 + }, + "PS Survivor Space": { + "used": 0, + "init": 1.048576e+07, + "committed": 1.1010048e+07, + "max": 1.1010048e+07 + }, + "PS Old Gen": { + "init": 1.73539328e+08, + "committed": 1.34742016e+08, + "max": 2.774007808e+09, + "used": 1.6529992e+07 + }, + "Metaspace": { + "init": 0, + "committed": 3.6347904e+07, + "max": -1, + "used": 3.382816e+07 + } + } + }, + "name": "PS MarkSweep" + } + } + } + ] +} \ No newline at end of file diff --git a/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-ps-marksweep-metrics.json-expected.json b/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-ps-marksweep-metrics.json-expected.json new file mode 100644 index 00000000000..bfe0a687170 --- /dev/null +++ b/packages/spring_boot/data_stream/gc/_dev/test/pipeline/test-gc-ps-marksweep-metrics.json-expected.json @@ -0,0 +1,112 @@ +{ + "expected": [ + { + "ecs": { + "version": "8.5.1" + }, + "event": { + "category": [ + "web" + ], + "dataset": "spring_boot.gc", + "kind": "metric", + "module": "spring_boot", + "type": [ + "info" + ] + }, + "spring_boot": { + "gc": { + "last_info": { + "id": 2, + "memory_usage": { + "after": { + "code_cache": { + "committed": 1.3893632E7, + "init": 2555904.0, + "max": 2.5165824E8, + "used": 1.2812032E7 + }, + "compressed_class_space": { + "committed": 4890624.0, + "init": 0, + "max": 1.073741824E9, + "used": 4451536.0 + }, + "metaspace": { + "committed": 3.6347904E7, + "init": 0, + "max": -1, + "used": 3.382816E7 + }, + "ps_eden_space": { + "committed": 2.58998272E8, + "init": 6.5536E7, + "max": 1.3631488E9, + "used": 0 + }, + "ps_old_gen": { + "committed": 1.34742016E8, + "init": 1.73539328E8, + "max": 2.774007808E9, + "used": 1.6529992E7 + }, + "ps_survivor_space": { + "committed": 1.1010048E7, + "init": 1.048576E7, + "max": 1.1010048E7, + "used": 0 + } + }, + "before": { + "code_cache": { + "committed": 1.3893632E7, + "init": 2555904.0, + "max": 2.5165824E8, + "used": 1.2812032E7 + }, + "compressed_class_space": { + "committed": 4890624.0, + "init": 0, + "max": 1.073741824E9, + "used": 4451536.0 + }, + "metaspace": { + "committed": 3.6347904E7, + "init": 0, + "max": -1, + "used": 3.382816E7 + }, + "ps_eden_space": { + "committed": 2.58998272E8, + "init": 6.5536E7, + "max": 1.3631488E9, + "used": 0 + }, + "ps_old_gen": { + "committed": 8.8604672E7, + "init": 1.73539328E8, + "max": 2.774007808E9, + "used": 6651256.0 + }, + "ps_survivor_space": { + "committed": 1.1010048E7, + "init": 1.048576E7, + "max": 1.1010048E7, + "used": 1.0977344E7 + } + } + }, + "thread_count": 10, + "time": { + "duration": 73, + "end": 3508, + "start": 3435 + } + }, + "name": "PS MarkSweep" + } + } + } + ] +} \ No newline at end of file diff --git a/packages/spring_boot/data_stream/gc/agent/stream/stream.yml.hbs b/packages/spring_boot/data_stream/gc/agent/stream/stream.yml.hbs index ff515f6dc2b..35c94e3f11c 100644 --- a/packages/spring_boot/data_stream/gc/agent/stream/stream.yml.hbs +++ b/packages/spring_boot/data_stream/gc/agent/stream/stream.yml.hbs @@ -14,7 +14,7 @@ tags: ssl: {{ssl}} {{/if}} jmx.mappings: - - mbean: 'java.lang:name=PS MarkSweep,type=GarbageCollector' + - mbean: 'java.lang:name=*,type=GarbageCollector' attributes: - attr: LastGcInfo field: last_info diff --git a/packages/spring_boot/data_stream/gc/elasticsearch/ingest_pipeline/default.yml b/packages/spring_boot/data_stream/gc/elasticsearch/ingest_pipeline/default.yml index 79717bd92a6..3100ff8637f 100644 --- a/packages/spring_boot/data_stream/gc/elasticsearch/ingest_pipeline/default.yml +++ b/packages/spring_boot/data_stream/gc/elasticsearch/ingest_pipeline/default.yml @@ -29,6 +29,11 @@ processors: target_field: spring_boot.gc.last_info.memory_usage.before.code_cache ignore_missing: true ignore_failure: true + - rename: + field: jolokia.metrics.last_info.memoryUsageBeforeGc.CodeCache + target_field: spring_boot.gc.last_info.memory_usage.before.code_cache + ignore_missing: true + ignore_failure: true - rename: field: jolokia.metrics.last_info.memoryUsageBeforeGc.Compressed Class Space target_field: spring_boot.gc.last_info.memory_usage.before.compressed_class_space @@ -49,6 +54,21 @@ processors: target_field: spring_boot.gc.last_info.memory_usage.before.metaspace ignore_missing: true ignore_failure: true + - rename: + field: jolokia.metrics.last_info.memoryUsageBeforeGc.G1 Old Gen + target_field: spring_boot.gc.last_info.memory_usage.before.g1_old_gen + ignore_missing: true + ignore_failure: true + - rename: + field: jolokia.metrics.last_info.memoryUsageBeforeGc.G1 Survivor Space + target_field: spring_boot.gc.last_info.memory_usage.before.g1_survivor_space + ignore_missing: true + ignore_failure: true + - rename: + field: jolokia.metrics.last_info.memoryUsageBeforeGc.G1 Eden Space + target_field: spring_boot.gc.last_info.memory_usage.before.g1_eden_space + ignore_missing: true + ignore_failure: true - rename: field: jolokia.metrics.last_info.memoryUsageAfterGc.PS Eden Space target_field: spring_boot.gc.last_info.memory_usage.after.ps_eden_space @@ -74,6 +94,26 @@ processors: target_field: spring_boot.gc.last_info.memory_usage.after.ps_old_gen ignore_missing: true ignore_failure: true + - rename: + field: jolokia.metrics.last_info.memoryUsageAfterGc.G1 Eden Space + target_field: spring_boot.gc.last_info.memory_usage.after.g1_eden_space + ignore_missing: true + ignore_failure: true + - rename: + field: jolokia.metrics.last_info.memoryUsageAfterGc.CodeCache + target_field: spring_boot.gc.last_info.memory_usage.after.code_cache + ignore_missing: true + ignore_failure: true + - rename: + field: jolokia.metrics.last_info.memoryUsageAfterGc.G1 Old Gen + target_field: spring_boot.gc.last_info.memory_usage.after.g1_old_gen + ignore_missing: true + ignore_failure: true + - rename: + field: jolokia.metrics.last_info.memoryUsageAfterGc.G1 Survivor Space + target_field: spring_boot.gc.last_info.memory_usage.after.g1_survivor_space + ignore_missing: true + ignore_failure: true - rename: field: jolokia.metrics.last_info.memoryUsageAfterGc.Metaspace target_field: spring_boot.gc.last_info.memory_usage.after.metaspace @@ -108,7 +148,7 @@ processors: field: jolokia.metrics.name target_field: spring_boot.gc.name ignore_missing: true - ignore_failure: true + ignore_failure: true - remove: field: jolokia ignore_failure: true diff --git a/packages/spring_boot/data_stream/gc/fields/fields.yml b/packages/spring_boot/data_stream/gc/fields/fields.yml index 58055f750fb..9c11815432d 100644 --- a/packages/spring_boot/data_stream/gc/fields/fields.yml +++ b/packages/spring_boot/data_stream/gc/fields/fields.yml @@ -22,90 +22,171 @@ - name: committed type: long description: Committed memory of the code cache memory pool after GC started. + unit: byte - name: init type: long description: Init memory of the code cache memory pool after GC started. + unit: byte - name: max type: long description: Max memory of the code cache memory pool after GC started. + unit: byte - name: used type: long description: Used memory of the code cache memory pool after GC started. + unit: byte - name: compressed_class_space type: group fields: - name: committed type: long description: Committed memory of the compressed class space memory pool after GC started. + unit: byte - name: init type: long description: Init memory of the compressed class space memory pool after GC started. + unit: byte - name: max type: long description: Max memory of the compressed class space memory pool after GC started. + unit: byte - name: used type: long description: Used memory of the compressed class space memory pool after GC started. + unit: byte - name: metaspace type: group fields: - name: committed type: long description: Committed memory of the metaspace memory pool after GC started. + unit: byte - name: init type: long description: Init memory of the metaspace memory pool after GC started. + unit: byte - name: max type: long description: Max memory of the metaspace memory pool after GC started. + unit: byte - name: used type: long description: Used memory of the metaspace memory pool after GC started. + unit: byte - name: ps_eden_space type: group fields: - name: committed type: long description: Committed memory of the PS Eden Space memory pool after GC started. + unit: byte - name: init type: long description: Init memory of the PS Eden Space memory pool after GC started. + unit: byte - name: max type: long description: Max memory of the PS Eden Space memory pool after GC started. + unit: byte - name: used type: long description: Used memory of the PS Eden Space memory pool after GC started. + unit: byte - name: ps_old_gen type: group fields: - name: committed type: long description: Committed memory of the PS Old Gen memory pool after GC started. + unit: byte - name: init type: long description: Init memory of the PS Old Gen memory pool after GC started. + unit: byte - name: max type: long description: Max memory of the PS Old Gen memory pool after GC started. + unit: byte - name: used type: long description: Used memory of the PS Old Gen memory pool after GC started. + unit: byte - name: ps_survivor_space type: group fields: - name: committed type: long description: Committed memory of the PS Survivor Space memory pool after GC started. + unit: byte - name: init type: long description: Init memory of the PS Survivor Space memory pool after GC started. + unit: byte - name: max type: long description: Max memory of the PS Survivor Space memory pool after GC started. + unit: byte - name: used type: long description: Used memory of the PS Survivor Space memory pool after GC started. + unit: byte + - name: g1_eden_space + type: group + fields: + - name: committed + type: long + description: Committed memory of the G1 Eden Space memory pool after GC started. + unit: byte + - name: init + type: long + description: Init memory of the G1 Eden Space memory pool after GC started. + unit: byte + - name: max + type: long + description: Max memory of the G1 Eden Space memory pool after GC started. + unit: byte + - name: used + type: long + description: Used memory of the G1 Eden Space memory pool after GC started. + unit: byte + - name: g1_old_gen + type: group + fields: + - name: committed + type: long + description: Committed memory of the G1 Old Gen memory pool after GC started. + unit: byte + - name: init + type: long + description: Init memory of the G1 Old Gen memory pool after GC started. + unit: byte + - name: max + type: long + description: Max memory of the G1 Old Gen memory pool after GC started. + unit: byte + - name: used + type: long + description: Used memory of the G1 Old Gen memory pool after GC started. + unit: byte + - name: g1_survivor_space + type: group + fields: + - name: committed + type: long + description: Committed memory of the G1 Survivor Space memory pool after GC started. + unit: byte + - name: init + type: long + description: Init memory of the G1 Survivor Space memory pool after GC started. + unit: byte + - name: max + type: long + description: Max memory of the G1 Survivor Space memory pool after GC started. + unit: byte + - name: used + type: long + description: Used memory of the G1 Survivor Space memory pool after GC started. + unit: byte - name: before type: group fields: @@ -115,90 +196,171 @@ - name: committed type: long description: Committed memory of the code cache memory pool before GC starts. + unit: byte - name: init type: long description: Init memory of the code cache memory pool before GC starts. + unit: byte - name: max type: long description: Max memory of the code cache memory pool before GC starts. + unit: byte - name: used type: long description: Used memory of the code cache memory pool before GC starts. + unit: byte - name: compressed_class_space type: group fields: - name: committed type: long description: Committed memory of the compressed class space memory pool before GC starts. + unit: byte - name: init type: long description: Init memory of the compressed class space memory pool before GC starts. + unit: byte - name: max type: long description: Max memory of the compressed class space memory pool before GC starts. + unit: byte - name: used type: long description: Used memory of the compressed class space memory pool before GC starts. + unit: byte - name: metaspace type: group fields: - name: committed type: long description: Committed memory of the metaspace memory pool before GC starts. + unit: byte - name: init type: long description: Init memory of the metaspace memory pool before GC starts. + unit: byte - name: max type: long description: Max memory of the metaspace memory pool before GC starts. + unit: byte - name: used type: long description: Used memory of the metaspace memory pool before GC starts. + unit: byte - name: ps_eden_space type: group fields: - name: committed type: long description: Committed memory of the PS Eden Space memory pool before GC starts. + unit: byte - name: init type: long description: Init memory of the PS Eden Space memory pool before GC starts. + unit: byte - name: max type: long description: Max memory of the PS Eden Space memory pool before GC starts. + unit: byte - name: used type: long description: Used memory of the PS Eden Space memory pool before GC starts. + unit: byte - name: ps_old_gen type: group fields: - name: committed type: long description: Committed memory of the PS Old Gen memory pool before GC starts. + unit: byte - name: init type: long description: Init memory of the PS Old Gen memory pool before GC starts. + unit: byte - name: max type: long description: Max memory of the PS Old Gen memory pool before GC starts. + unit: byte - name: used type: long description: Used memory of the PS Old Gen memory pool before GC starts. + unit: byte - name: ps_survivor_space type: group fields: - name: committed type: long description: Committed memory of the PS Survivor Space memory pool before GC starts. + unit: byte - name: init type: long description: Init memory of the PS Survivor Space memory pool before GC starts. + unit: byte - name: max type: long description: Max memory of the PS Survivor Space memory pool before GC starts. + unit: byte - name: used type: long description: Used memory of the PS Survivor Space memory pool before GC starts. + unit: byte + - name: g1_eden_space + type: group + fields: + - name: committed + type: long + description: Committed memory of the G1 Eden Space memory pool before GC starts. + unit: byte + - name: init + type: long + description: Init memory of the G1 Eden Space memory pool before GC starts. + unit: byte + - name: max + type: long + description: Max memory of the G1 Eden Space memory pool before GC starts. + unit: byte + - name: used + type: long + description: Used memory of the G1 Eden Space memory pool before GC starts. + unit: byte + - name: g1_old_gen + type: group + fields: + - name: committed + type: long + description: Committed memory of the G1 Old Gen memory pool before GC starts. + unit: byte + - name: init + type: long + description: Init memory of the G1 Old Gen memory pool before GC starts. + unit: byte + - name: max + type: long + description: Max memory of the G1 Old Gen memory pool before GC starts. + unit: byte + - name: used + type: long + description: Used memory of the G1 Old Gen memory pool before GC starts. + unit: byte + - name: g1_survivor_space + type: group + fields: + - name: committed + type: long + description: Committed memory of the G1 Survivor Space memory pool before GC starts. + unit: byte + - name: init + type: long + description: Init memory of the G1 Survivor Space memory pool before GC starts. + unit: byte + - name: max + type: long + description: Max memory of the G1 Survivor Space memory pool before GC starts. + unit: byte + - name: used + type: long + description: Used memory of the G1 Survivor Space memory pool before GC starts. + unit: byte - name: thread_count type: long description: Thread count of the GC. @@ -208,12 +370,15 @@ - name: duration type: long description: Elapsed time of the GC in milliseconds. + unit: ms - name: end type: long description: End time of the GC. + unit: ms - name: start type: long description: Start time of the GC. + unit: ms - name: name type: keyword description: Name of the GC. diff --git a/packages/spring_boot/docs/README.md b/packages/spring_boot/docs/README.md index 514ee4c233b..384934c4d00 100644 --- a/packages/spring_boot/docs/README.md +++ b/packages/spring_boot/docs/README.md @@ -4,7 +4,7 @@ The Spring Boot integration is used to fetch observability data from [Spring Boo ## Compatibility -This integration has been tested against Spring Boot v2.3.12. +This integration has been tested against Spring Boot v2.7.17 with LTS JDK versions 8, 11, 17, and 21. ## Requirements @@ -672,77 +672,101 @@ An example event for `gc` looks as following: **Exported fields** -| Field | Description | Type | -|---|---|---| -| @timestamp | Event timestamp. | date | -| data_stream.dataset | Data stream dataset. | constant_keyword | -| data_stream.namespace | Data stream namespace. | constant_keyword | -| data_stream.type | Data stream type. | constant_keyword | -| ecs.version | ECS version this event conforms to. `ecs.version` is a required field and must exist in all events. When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events. | keyword | -| error.message | Error message. | match_only_text | -| event.category | This is one of four ECS Categorization Fields, and indicates the second level in the ECS category hierarchy. `event.category` represents the "big buckets" of ECS categories. For example, filtering on `event.category:process` yields all events relating to process activity. This field is closely related to `event.type`, which is used as a subcategory. This field is an array. This will allow proper categorization of some events that fall in multiple categories. | keyword | -| event.dataset | Name of the dataset. If an event source publishes more than one type of log or events (e.g. access log, error log), the dataset is used to specify which one the event comes from. It's recommended but not required to start the dataset name with the module name, followed by a dot, then the dataset name. | keyword | -| event.duration | Duration of the event in nanoseconds. If event.start and event.end are known this value should be the difference between the end and start time. | long | -| event.ingested | Timestamp when an event arrived in the central data store. This is different from `@timestamp`, which is when the event originally occurred. It's also different from `event.created`, which is meant to capture the first time an agent saw the event. In normal conditions, assuming no tampering, the timestamps should chronologically look like this: `@timestamp` \< `event.created` \< `event.ingested`. | date | -| event.kind | This is one of four ECS Categorization Fields, and indicates the highest level in the ECS category hierarchy. `event.kind` gives high-level information about what type of information the event contains, without being specific to the contents of the event. For example, values of this field distinguish alert events from metric events. The value of this field can be used to inform how these kinds of events should be handled. They may warrant different retention, different access control, it may also help understand whether the data coming in at a regular interval or not. | keyword | -| event.module | Name of the module this data is coming from. If your monitoring agent supports the concept of modules or plugins to process events of a given source (e.g. Apache logs), `event.module` should contain the name of this module. | keyword | -| event.type | This is one of four ECS Categorization Fields, and indicates the third level in the ECS category hierarchy. `event.type` represents a categorization "sub-bucket" that, when used along with the `event.category` field values, enables filtering events down to a level appropriate for single visualization. This field is an array. This will allow proper categorization of some events that fall in multiple event types. | keyword | -| host.ip | Host ip addresses. | ip | -| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword | -| service.type | The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`. | keyword | -| spring_boot.gc.last_info.id | ID of the GC. | long | -| spring_boot.gc.last_info.memory_usage.after.code_cache.committed | Committed memory of the code cache memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.code_cache.init | Init memory of the code cache memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.code_cache.max | Max memory of the code cache memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.code_cache.used | Used memory of the code cache memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.compressed_class_space.committed | Committed memory of the compressed class space memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.compressed_class_space.init | Init memory of the compressed class space memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.compressed_class_space.max | Max memory of the compressed class space memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.compressed_class_space.used | Used memory of the compressed class space memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.metaspace.committed | Committed memory of the metaspace memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.metaspace.init | Init memory of the metaspace memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.metaspace.max | Max memory of the metaspace memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.metaspace.used | Used memory of the metaspace memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.ps_eden_space.committed | Committed memory of the PS Eden Space memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.ps_eden_space.init | Init memory of the PS Eden Space memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.ps_eden_space.max | Max memory of the PS Eden Space memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.ps_eden_space.used | Used memory of the PS Eden Space memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.ps_old_gen.committed | Committed memory of the PS Old Gen memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.ps_old_gen.init | Init memory of the PS Old Gen memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.ps_old_gen.max | Max memory of the PS Old Gen memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.ps_old_gen.used | Used memory of the PS Old Gen memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.ps_survivor_space.committed | Committed memory of the PS Survivor Space memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.ps_survivor_space.init | Init memory of the PS Survivor Space memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.ps_survivor_space.max | Max memory of the PS Survivor Space memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.after.ps_survivor_space.used | Used memory of the PS Survivor Space memory pool after GC started. | long | -| spring_boot.gc.last_info.memory_usage.before.code_cache.committed | Committed memory of the code cache memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.code_cache.init | Init memory of the code cache memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.code_cache.max | Max memory of the code cache memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.code_cache.used | Used memory of the code cache memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.compressed_class_space.committed | Committed memory of the compressed class space memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.compressed_class_space.init | Init memory of the compressed class space memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.compressed_class_space.max | Max memory of the compressed class space memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.compressed_class_space.used | Used memory of the compressed class space memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.metaspace.committed | Committed memory of the metaspace memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.metaspace.init | Init memory of the metaspace memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.metaspace.max | Max memory of the metaspace memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.metaspace.used | Used memory of the metaspace memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.ps_eden_space.committed | Committed memory of the PS Eden Space memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.ps_eden_space.init | Init memory of the PS Eden Space memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.ps_eden_space.max | Max memory of the PS Eden Space memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.ps_eden_space.used | Used memory of the PS Eden Space memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.ps_old_gen.committed | Committed memory of the PS Old Gen memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.ps_old_gen.init | Init memory of the PS Old Gen memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.ps_old_gen.max | Max memory of the PS Old Gen memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.ps_old_gen.used | Used memory of the PS Old Gen memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.ps_survivor_space.committed | Committed memory of the PS Survivor Space memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.ps_survivor_space.init | Init memory of the PS Survivor Space memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.ps_survivor_space.max | Max memory of the PS Survivor Space memory pool before GC starts. | long | -| spring_boot.gc.last_info.memory_usage.before.ps_survivor_space.used | Used memory of the PS Survivor Space memory pool before GC starts. | long | -| spring_boot.gc.last_info.thread_count | Thread count of the GC. | long | -| spring_boot.gc.last_info.time.duration | Elapsed time of the GC in milliseconds. | long | -| spring_boot.gc.last_info.time.end | End time of the GC. | long | -| spring_boot.gc.last_info.time.start | Start time of the GC. | long | -| spring_boot.gc.name | Name of the GC. | keyword | -| tags | List of keywords used to tag each event. | keyword | +| Field | Description | Type | Unit | +|---|---|---|---| +| @timestamp | Event timestamp. | date | | +| data_stream.dataset | Data stream dataset. | constant_keyword | | +| data_stream.namespace | Data stream namespace. | constant_keyword | | +| data_stream.type | Data stream type. | constant_keyword | | +| ecs.version | ECS version this event conforms to. `ecs.version` is a required field and must exist in all events. When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events. | keyword | | +| error.message | Error message. | match_only_text | | +| event.category | This is one of four ECS Categorization Fields, and indicates the second level in the ECS category hierarchy. `event.category` represents the "big buckets" of ECS categories. For example, filtering on `event.category:process` yields all events relating to process activity. This field is closely related to `event.type`, which is used as a subcategory. This field is an array. This will allow proper categorization of some events that fall in multiple categories. | keyword | | +| event.dataset | Name of the dataset. If an event source publishes more than one type of log or events (e.g. access log, error log), the dataset is used to specify which one the event comes from. It's recommended but not required to start the dataset name with the module name, followed by a dot, then the dataset name. | keyword | | +| event.duration | Duration of the event in nanoseconds. If event.start and event.end are known this value should be the difference between the end and start time. | long | | +| event.ingested | Timestamp when an event arrived in the central data store. This is different from `@timestamp`, which is when the event originally occurred. It's also different from `event.created`, which is meant to capture the first time an agent saw the event. In normal conditions, assuming no tampering, the timestamps should chronologically look like this: `@timestamp` \< `event.created` \< `event.ingested`. | date | | +| event.kind | This is one of four ECS Categorization Fields, and indicates the highest level in the ECS category hierarchy. `event.kind` gives high-level information about what type of information the event contains, without being specific to the contents of the event. For example, values of this field distinguish alert events from metric events. The value of this field can be used to inform how these kinds of events should be handled. They may warrant different retention, different access control, it may also help understand whether the data coming in at a regular interval or not. | keyword | | +| event.module | Name of the module this data is coming from. If your monitoring agent supports the concept of modules or plugins to process events of a given source (e.g. Apache logs), `event.module` should contain the name of this module. | keyword | | +| event.type | This is one of four ECS Categorization Fields, and indicates the third level in the ECS category hierarchy. `event.type` represents a categorization "sub-bucket" that, when used along with the `event.category` field values, enables filtering events down to a level appropriate for single visualization. This field is an array. This will allow proper categorization of some events that fall in multiple event types. | keyword | | +| host.ip | Host ip addresses. | ip | | +| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword | | +| service.type | The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`. | keyword | | +| spring_boot.gc.last_info.id | ID of the GC. | long | | +| spring_boot.gc.last_info.memory_usage.after.code_cache.committed | Committed memory of the code cache memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.code_cache.init | Init memory of the code cache memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.code_cache.max | Max memory of the code cache memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.code_cache.used | Used memory of the code cache memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.compressed_class_space.committed | Committed memory of the compressed class space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.compressed_class_space.init | Init memory of the compressed class space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.compressed_class_space.max | Max memory of the compressed class space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.compressed_class_space.used | Used memory of the compressed class space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.g1_eden_space.committed | Committed memory of the G1 Eden Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.g1_eden_space.init | Init memory of the G1 Eden Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.g1_eden_space.max | Max memory of the G1 Eden Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.g1_eden_space.used | Used memory of the G1 Eden Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.g1_old_gen.committed | Committed memory of the G1 Old Gen memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.g1_old_gen.init | Init memory of the G1 Old Gen memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.g1_old_gen.max | Max memory of the G1 Old Gen memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.g1_old_gen.used | Used memory of the G1 Old Gen memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.g1_survivor_space.committed | Committed memory of the G1 Survivor Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.g1_survivor_space.init | Init memory of the G1 Survivor Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.g1_survivor_space.max | Max memory of the G1 Survivor Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.g1_survivor_space.used | Used memory of the G1 Survivor Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.metaspace.committed | Committed memory of the metaspace memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.metaspace.init | Init memory of the metaspace memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.metaspace.max | Max memory of the metaspace memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.metaspace.used | Used memory of the metaspace memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.ps_eden_space.committed | Committed memory of the PS Eden Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.ps_eden_space.init | Init memory of the PS Eden Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.ps_eden_space.max | Max memory of the PS Eden Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.ps_eden_space.used | Used memory of the PS Eden Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.ps_old_gen.committed | Committed memory of the PS Old Gen memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.ps_old_gen.init | Init memory of the PS Old Gen memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.ps_old_gen.max | Max memory of the PS Old Gen memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.ps_old_gen.used | Used memory of the PS Old Gen memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.ps_survivor_space.committed | Committed memory of the PS Survivor Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.ps_survivor_space.init | Init memory of the PS Survivor Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.ps_survivor_space.max | Max memory of the PS Survivor Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.after.ps_survivor_space.used | Used memory of the PS Survivor Space memory pool after GC started. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.code_cache.committed | Committed memory of the code cache memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.code_cache.init | Init memory of the code cache memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.code_cache.max | Max memory of the code cache memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.code_cache.used | Used memory of the code cache memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.compressed_class_space.committed | Committed memory of the compressed class space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.compressed_class_space.init | Init memory of the compressed class space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.compressed_class_space.max | Max memory of the compressed class space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.compressed_class_space.used | Used memory of the compressed class space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.g1_eden_space.committed | Committed memory of the G1 Eden Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.g1_eden_space.init | Init memory of the G1 Eden Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.g1_eden_space.max | Max memory of the G1 Eden Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.g1_eden_space.used | Used memory of the G1 Eden Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.g1_old_gen.committed | Committed memory of the G1 Old Gen memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.g1_old_gen.init | Init memory of the G1 Old Gen memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.g1_old_gen.max | Max memory of the G1 Old Gen memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.g1_old_gen.used | Used memory of the G1 Old Gen memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.g1_survivor_space.committed | Committed memory of the G1 Survivor Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.g1_survivor_space.init | Init memory of the G1 Survivor Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.g1_survivor_space.max | Max memory of the G1 Survivor Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.g1_survivor_space.used | Used memory of the G1 Survivor Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.metaspace.committed | Committed memory of the metaspace memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.metaspace.init | Init memory of the metaspace memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.metaspace.max | Max memory of the metaspace memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.metaspace.used | Used memory of the metaspace memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.ps_eden_space.committed | Committed memory of the PS Eden Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.ps_eden_space.init | Init memory of the PS Eden Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.ps_eden_space.max | Max memory of the PS Eden Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.ps_eden_space.used | Used memory of the PS Eden Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.ps_old_gen.committed | Committed memory of the PS Old Gen memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.ps_old_gen.init | Init memory of the PS Old Gen memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.ps_old_gen.max | Max memory of the PS Old Gen memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.ps_old_gen.used | Used memory of the PS Old Gen memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.ps_survivor_space.committed | Committed memory of the PS Survivor Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.ps_survivor_space.init | Init memory of the PS Survivor Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.ps_survivor_space.max | Max memory of the PS Survivor Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.memory_usage.before.ps_survivor_space.used | Used memory of the PS Survivor Space memory pool before GC starts. | long | byte | +| spring_boot.gc.last_info.thread_count | Thread count of the GC. | long | | +| spring_boot.gc.last_info.time.duration | Elapsed time of the GC in milliseconds. | long | ms | +| spring_boot.gc.last_info.time.end | End time of the GC. | long | ms | +| spring_boot.gc.last_info.time.start | Start time of the GC. | long | ms | +| spring_boot.gc.name | Name of the GC. | keyword | | +| tags | List of keywords used to tag each event. | keyword | | diff --git a/packages/spring_boot/img/spring_boot-memory-threading-dashboard.png b/packages/spring_boot/img/spring_boot-memory-threading-dashboard.png index fb002c4883e..f8005becb9c 100644 Binary files a/packages/spring_boot/img/spring_boot-memory-threading-dashboard.png and b/packages/spring_boot/img/spring_boot-memory-threading-dashboard.png differ diff --git a/packages/spring_boot/kibana/dashboard/spring_boot-c89e1510-ca15-11ec-b4b1-b57f75afa7dd.json b/packages/spring_boot/kibana/dashboard/spring_boot-c89e1510-ca15-11ec-b4b1-b57f75afa7dd.json index bebba710654..8cb7881e227 100644 --- a/packages/spring_boot/kibana/dashboard/spring_boot-c89e1510-ca15-11ec-b4b1-b57f75afa7dd.json +++ b/packages/spring_boot/kibana/dashboard/spring_boot-c89e1510-ca15-11ec-b4b1-b57f75afa7dd.json @@ -108,10 +108,11 @@ "title": "[Spring Boot] Memory and Threads", "version": 1 }, - "coreMigrationVersion": "8.2.0", + "coreMigrationVersion": "8.7.1", + "created_at": "2023-11-02T08:23:19.946Z", "id": "spring_boot-c89e1510-ca15-11ec-b4b1-b57f75afa7dd", "migrationVersion": { - "dashboard": "8.2.0" + "dashboard": "8.7.0" }, "references": [ { diff --git a/packages/spring_boot/kibana/lens/spring_boot-0f481600-ca11-11ec-b4b1-b57f75afa7dd.json b/packages/spring_boot/kibana/lens/spring_boot-0f481600-ca11-11ec-b4b1-b57f75afa7dd.json index 1f6cda0fff3..55096d79b96 100644 --- a/packages/spring_boot/kibana/lens/spring_boot-0f481600-ca11-11ec-b4b1-b57f75afa7dd.json +++ b/packages/spring_boot/kibana/lens/spring_boot-0f481600-ca11-11ec-b4b1-b57f75afa7dd.json @@ -1,8 +1,9 @@ { "attributes": { "state": { + "adHocDataViews": {}, "datasourceStates": { - "indexpattern": { + "formBased": { "layers": { "760bf001-a3ae-46e6-a366-ab2c9c777cfc": { "columnOrder": [ @@ -35,8 +36,9 @@ "label": "@timestamp", "operationType": "date_histogram", "params": { - "includeEmptyRows": true, - "interval": "1m" + "dropPartials": true, + "includeEmptyRows": false, + "interval": "auto" }, "scale": "interval", "sourceField": "@timestamp" @@ -55,7 +57,7 @@ "meta": { "alias": null, "disabled": false, - "index": "c622bce0-9bed-4aa3-9293-c8954efa593a", + "index": "6502fda4-d554-4b5d-8e8b-e6d3c873901b", "key": "event.dataset", "negate": false, "params": { @@ -70,6 +72,7 @@ } } ], + "internalReferences": [], "query": { "language": "kuery", "query": "" @@ -90,6 +93,7 @@ ], "legend": { "isVisible": true, + "legendSize": "auto", "position": "right", "showSingleSeries": true }, @@ -109,17 +113,13 @@ "title": "Current threads [Metrics Spring Boot]", "visualizationType": "lnsXY" }, - "coreMigrationVersion": "8.2.0", + "coreMigrationVersion": "8.7.1", + "created_at": "2023-11-02T08:40:25.266Z", "id": "spring_boot-0f481600-ca11-11ec-b4b1-b57f75afa7dd", "migrationVersion": { - "lens": "8.2.0" + "lens": "8.6.0" }, "references": [ - { - "id": "metrics-*", - "name": "indexpattern-datasource-current-indexpattern", - "type": "index-pattern" - }, { "id": "metrics-*", "name": "indexpattern-datasource-layer-760bf001-a3ae-46e6-a366-ab2c9c777cfc", @@ -127,7 +127,7 @@ }, { "id": "metrics-*", - "name": "c622bce0-9bed-4aa3-9293-c8954efa593a", + "name": "6502fda4-d554-4b5d-8e8b-e6d3c873901b", "type": "index-pattern" } ], diff --git a/packages/spring_boot/kibana/lens/spring_boot-12228630-ca11-11ec-b4b1-b57f75afa7dd.json b/packages/spring_boot/kibana/lens/spring_boot-12228630-ca11-11ec-b4b1-b57f75afa7dd.json index ab8a84d5154..15bd8116ca2 100644 --- a/packages/spring_boot/kibana/lens/spring_boot-12228630-ca11-11ec-b4b1-b57f75afa7dd.json +++ b/packages/spring_boot/kibana/lens/spring_boot-12228630-ca11-11ec-b4b1-b57f75afa7dd.json @@ -1,8 +1,9 @@ { "attributes": { "state": { + "adHocDataViews": {}, "datasourceStates": { - "indexpattern": { + "formBased": { "layers": { "760bf001-a3ae-46e6-a366-ab2c9c777cfc": { "columnOrder": [ @@ -35,8 +36,9 @@ "label": "@timestamp", "operationType": "date_histogram", "params": { - "includeEmptyRows": true, - "interval": "1m" + "dropPartials": true, + "includeEmptyRows": false, + "interval": "auto" }, "scale": "interval", "sourceField": "@timestamp" @@ -55,7 +57,7 @@ "meta": { "alias": null, "disabled": false, - "index": "18027e61-5282-41c0-9c98-7eea77b65940", + "index": "702499ca-434e-41d4-b9a1-1d0bb27b244a", "key": "event.dataset", "negate": false, "params": { @@ -70,6 +72,7 @@ } } ], + "internalReferences": [], "query": { "language": "kuery", "query": "" @@ -90,6 +93,7 @@ ], "legend": { "isVisible": true, + "legendSize": "auto", "position": "right", "showSingleSeries": true }, @@ -109,17 +113,13 @@ "title": "Daemon threads [Metrics Spring Boot]", "visualizationType": "lnsXY" }, - "coreMigrationVersion": "8.2.0", + "coreMigrationVersion": "8.7.1", + "created_at": "2023-11-02T08:40:41.413Z", "id": "spring_boot-12228630-ca11-11ec-b4b1-b57f75afa7dd", "migrationVersion": { - "lens": "8.2.0" + "lens": "8.6.0" }, "references": [ - { - "id": "metrics-*", - "name": "indexpattern-datasource-current-indexpattern", - "type": "index-pattern" - }, { "id": "metrics-*", "name": "indexpattern-datasource-layer-760bf001-a3ae-46e6-a366-ab2c9c777cfc", @@ -127,7 +127,7 @@ }, { "id": "metrics-*", - "name": "18027e61-5282-41c0-9c98-7eea77b65940", + "name": "702499ca-434e-41d4-b9a1-1d0bb27b244a", "type": "index-pattern" } ], diff --git a/packages/spring_boot/kibana/lens/spring_boot-4a05b120-c9ea-11ec-b4b1-b57f75afa7dd.json b/packages/spring_boot/kibana/lens/spring_boot-4a05b120-c9ea-11ec-b4b1-b57f75afa7dd.json index 6af9cd32e6f..bf7569e3746 100644 --- a/packages/spring_boot/kibana/lens/spring_boot-4a05b120-c9ea-11ec-b4b1-b57f75afa7dd.json +++ b/packages/spring_boot/kibana/lens/spring_boot-4a05b120-c9ea-11ec-b4b1-b57f75afa7dd.json @@ -1,8 +1,9 @@ { "attributes": { "state": { + "adHocDataViews": {}, "datasourceStates": { - "indexpattern": { + "formBased": { "layers": { "760bf001-a3ae-46e6-a366-ab2c9c777cfc": { "columnOrder": [ @@ -35,8 +36,9 @@ "label": "@timestamp", "operationType": "date_histogram", "params": { - "includeEmptyRows": true, - "interval": "1m" + "dropPartials": true, + "includeEmptyRows": false, + "interval": "auto" }, "scale": "interval", "sourceField": "@timestamp" @@ -55,7 +57,7 @@ "meta": { "alias": null, "disabled": false, - "index": "6ef76ae4-f4a4-4ae7-9490-0c3a998ce7f2", + "index": "61418bc6-4106-4f91-81ea-1e1071b7c9bb", "key": "event.dataset", "negate": false, "params": { @@ -70,6 +72,7 @@ } } ], + "internalReferences": [], "query": { "language": "kuery", "query": "" @@ -91,6 +94,7 @@ "legend": { "isInside": false, "isVisible": true, + "legendSize": "auto", "maxLines": 1, "position": "right", "showSingleSeries": true @@ -116,17 +120,13 @@ "title": "Threads [Metrics Spring Boot]", "visualizationType": "lnsXY" }, - "coreMigrationVersion": "8.2.0", + "coreMigrationVersion": "8.7.1", + "created_at": "2023-11-02T08:40:08.989Z", "id": "spring_boot-4a05b120-c9ea-11ec-b4b1-b57f75afa7dd", "migrationVersion": { - "lens": "8.2.0" + "lens": "8.6.0" }, "references": [ - { - "id": "metrics-*", - "name": "indexpattern-datasource-current-indexpattern", - "type": "index-pattern" - }, { "id": "metrics-*", "name": "indexpattern-datasource-layer-760bf001-a3ae-46e6-a366-ab2c9c777cfc", @@ -134,7 +134,7 @@ }, { "id": "metrics-*", - "name": "6ef76ae4-f4a4-4ae7-9490-0c3a998ce7f2", + "name": "61418bc6-4106-4f91-81ea-1e1071b7c9bb", "type": "index-pattern" } ], diff --git a/packages/spring_boot/kibana/lens/spring_boot-e9033ff0-c9e9-11ec-b4b1-b57f75afa7dd.json b/packages/spring_boot/kibana/lens/spring_boot-e9033ff0-c9e9-11ec-b4b1-b57f75afa7dd.json index 5231f308d5b..a8aad2d1ac8 100644 --- a/packages/spring_boot/kibana/lens/spring_boot-e9033ff0-c9e9-11ec-b4b1-b57f75afa7dd.json +++ b/packages/spring_boot/kibana/lens/spring_boot-e9033ff0-c9e9-11ec-b4b1-b57f75afa7dd.json @@ -1,8 +1,9 @@ { "attributes": { "state": { + "adHocDataViews": {}, "datasourceStates": { - "indexpattern": { + "formBased": { "layers": { "31ad067d-6820-43dc-a6fd-7a32a6a121f5": { "columnOrder": [ @@ -55,8 +56,9 @@ "label": "@timestamp", "operationType": "date_histogram", "params": { - "includeEmptyRows": true, - "interval": "1m" + "dropPartials": true, + "includeEmptyRows": false, + "interval": "auto" }, "scale": "interval", "sourceField": "@timestamp" @@ -75,7 +77,7 @@ "meta": { "alias": null, "disabled": false, - "index": "ac6e5581-725b-41da-be93-e644c8828ea6", + "index": "8a86b358-6960-40ef-91ed-05c2c2e7c40f", "key": "event.dataset", "negate": false, "params": { @@ -90,6 +92,7 @@ } } ], + "internalReferences": [], "query": { "language": "kuery", "query": "" @@ -111,6 +114,7 @@ ], "legend": { "isVisible": true, + "legendSize": "auto", "position": "right", "showSingleSeries": true }, @@ -130,17 +134,13 @@ "title": "Heap and non-heap memory [Metrics Spring Boot]", "visualizationType": "lnsXY" }, - "coreMigrationVersion": "8.2.0", + "coreMigrationVersion": "8.7.1", + "created_at": "2023-11-02T08:39:23.315Z", "id": "spring_boot-e9033ff0-c9e9-11ec-b4b1-b57f75afa7dd", "migrationVersion": { - "lens": "8.2.0" + "lens": "8.6.0" }, "references": [ - { - "id": "metrics-*", - "name": "indexpattern-datasource-current-indexpattern", - "type": "index-pattern" - }, { "id": "metrics-*", "name": "indexpattern-datasource-layer-31ad067d-6820-43dc-a6fd-7a32a6a121f5", @@ -148,7 +148,7 @@ }, { "id": "metrics-*", - "name": "ac6e5581-725b-41da-be93-e644c8828ea6", + "name": "8a86b358-6960-40ef-91ed-05c2c2e7c40f", "type": "index-pattern" } ], diff --git a/packages/spring_boot/kibana/lens/spring_boot-fae00cb0-ca04-11ec-b4b1-b57f75afa7dd.json b/packages/spring_boot/kibana/lens/spring_boot-fae00cb0-ca04-11ec-b4b1-b57f75afa7dd.json index 1a4c605eb86..b2ddccc84d8 100644 --- a/packages/spring_boot/kibana/lens/spring_boot-fae00cb0-ca04-11ec-b4b1-b57f75afa7dd.json +++ b/packages/spring_boot/kibana/lens/spring_boot-fae00cb0-ca04-11ec-b4b1-b57f75afa7dd.json @@ -1,20 +1,15 @@ { "attributes": { "state": { + "adHocDataViews": {}, "datasourceStates": { - "indexpattern": { + "formBased": { "layers": { "e937f0c4-f880-4837-9315-69d043a3f6b1": { "columnOrder": [ + "94f7e582-69e9-4fe4-9111-75aaa6a3d470", "01e713a3-bda9-4e10-b460-988900367abf", "df8aa04a-8859-48a8-8624-e204eb09ad23", - "df8aa04a-8859-48a8-8624-e204eb09ad23X0", - "df8aa04a-8859-48a8-8624-e204eb09ad23X1", - "df8aa04a-8859-48a8-8624-e204eb09ad23X2", - "df8aa04a-8859-48a8-8624-e204eb09ad23X3", - "df8aa04a-8859-48a8-8624-e204eb09ad23X4", - "df8aa04a-8859-48a8-8624-e204eb09ad23X5", - "df8aa04a-8859-48a8-8624-e204eb09ad23X6", "79ffbc3e-e907-45d9-b727-6710ca8b19c7", "79ffbc3e-e907-45d9-b727-6710ca8b19c7X0", "79ffbc3e-e907-45d9-b727-6710ca8b19c7X1", @@ -22,7 +17,20 @@ "79ffbc3e-e907-45d9-b727-6710ca8b19c7X3", "79ffbc3e-e907-45d9-b727-6710ca8b19c7X4", "79ffbc3e-e907-45d9-b727-6710ca8b19c7X5", - "79ffbc3e-e907-45d9-b727-6710ca8b19c7X6" + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X6", + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X7", + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X8", + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X9", + "df8aa04a-8859-48a8-8624-e204eb09ad23X0", + "df8aa04a-8859-48a8-8624-e204eb09ad23X1", + "df8aa04a-8859-48a8-8624-e204eb09ad23X2", + "df8aa04a-8859-48a8-8624-e204eb09ad23X3", + "df8aa04a-8859-48a8-8624-e204eb09ad23X4", + "df8aa04a-8859-48a8-8624-e204eb09ad23X5", + "df8aa04a-8859-48a8-8624-e204eb09ad23X6", + "df8aa04a-8859-48a8-8624-e204eb09ad23X7", + "df8aa04a-8859-48a8-8624-e204eb09ad23X8", + "df8aa04a-8859-48a8-8624-e204eb09ad23X9" ], "columns": { "01e713a3-bda9-4e10-b460-988900367abf": { @@ -31,8 +39,9 @@ "label": "@timestamp", "operationType": "date_histogram", "params": { - "includeEmptyRows": true, - "interval": "1m" + "dropPartials": true, + "includeEmptyRows": false, + "interval": "auto" }, "scale": "interval", "sourceField": "@timestamp" @@ -50,11 +59,11 @@ "decimals": 0 } }, - "formula": "sum(spring_boot.gc.last_info.memory_usage.before.code_cache.used)+sum(spring_boot.gc.last_info.memory_usage.before.compressed_class_space.used)+sum(spring_boot.gc.last_info.memory_usage.before.metaspace.used)+sum(spring_boot.gc.last_info.memory_usage.before.ps_eden_space.used)+sum(spring_boot.gc.last_info.memory_usage.before.ps_old_gen.used)+sum(spring_boot.gc.last_info.memory_usage.before.ps_survivor_space.used)", + "formula": "sum(spring_boot.gc.last_info.memory_usage.before.code_cache.used)+sum(spring_boot.gc.last_info.memory_usage.before.compressed_class_space.used)+sum(spring_boot.gc.last_info.memory_usage.before.metaspace.used)+sum(spring_boot.gc.last_info.memory_usage.before.ps_eden_space.used)+sum(spring_boot.gc.last_info.memory_usage.before.ps_old_gen.used)+sum(spring_boot.gc.last_info.memory_usage.before.ps_survivor_space.used)+sum(spring_boot.gc.last_info.memory_usage.before.g1_eden_space.used)+sum(spring_boot.gc.last_info.memory_usage.before.g1_old_gen.used)+sum(spring_boot.gc.last_info.memory_usage.before.g1_survivor_space.used)", "isFormulaBroken": false }, "references": [ - "79ffbc3e-e907-45d9-b727-6710ca8b19c7X6" + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X9" ], "scale": "ratio" }, @@ -64,6 +73,9 @@ "isBucketed": false, "label": "Part of Before", "operationType": "sum", + "params": { + "emptyAsNull": false + }, "scale": "ratio", "sourceField": "spring_boot.gc.last_info.memory_usage.before.code_cache.used" }, @@ -73,6 +85,9 @@ "isBucketed": false, "label": "Part of Before", "operationType": "sum", + "params": { + "emptyAsNull": false + }, "scale": "ratio", "sourceField": "spring_boot.gc.last_info.memory_usage.before.compressed_class_space.used" }, @@ -82,6 +97,9 @@ "isBucketed": false, "label": "Part of Before", "operationType": "sum", + "params": { + "emptyAsNull": false + }, "scale": "ratio", "sourceField": "spring_boot.gc.last_info.memory_usage.before.metaspace.used" }, @@ -91,6 +109,9 @@ "isBucketed": false, "label": "Part of Before", "operationType": "sum", + "params": { + "emptyAsNull": false + }, "scale": "ratio", "sourceField": "spring_boot.gc.last_info.memory_usage.before.ps_eden_space.used" }, @@ -100,6 +121,9 @@ "isBucketed": false, "label": "Part of Before", "operationType": "sum", + "params": { + "emptyAsNull": false + }, "scale": "ratio", "sourceField": "spring_boot.gc.last_info.memory_usage.before.ps_old_gen.used" }, @@ -109,10 +133,49 @@ "isBucketed": false, "label": "Part of Before", "operationType": "sum", + "params": { + "emptyAsNull": false + }, "scale": "ratio", "sourceField": "spring_boot.gc.last_info.memory_usage.before.ps_survivor_space.used" }, "79ffbc3e-e907-45d9-b727-6710ca8b19c7X6": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Before", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "spring_boot.gc.last_info.memory_usage.before.g1_eden_space.used" + }, + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X7": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Before", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "spring_boot.gc.last_info.memory_usage.before.g1_old_gen.used" + }, + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X8": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Before", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "spring_boot.gc.last_info.memory_usage.before.g1_survivor_space.used" + }, + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X9": { "customLabel": true, "dataType": "number", "isBucketed": false, @@ -129,35 +192,56 @@ "args": [ { "args": [ - "79ffbc3e-e907-45d9-b727-6710ca8b19c7X0", - "79ffbc3e-e907-45d9-b727-6710ca8b19c7X1" + { + "args": [ + { + "args": [ + { + "args": [ + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X0", + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X1" + ], + "name": "add", + "type": "function" + }, + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X2" + ], + "name": "add", + "type": "function" + }, + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X3" + ], + "name": "add", + "type": "function" + }, + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X4" ], "name": "add", "type": "function" }, - "79ffbc3e-e907-45d9-b727-6710ca8b19c7X2" + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X5" ], "name": "add", "type": "function" }, - "79ffbc3e-e907-45d9-b727-6710ca8b19c7X3" + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X6" ], "name": "add", "type": "function" }, - "79ffbc3e-e907-45d9-b727-6710ca8b19c7X4" + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X7" ], "name": "add", "type": "function" }, - "79ffbc3e-e907-45d9-b727-6710ca8b19c7X5" + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X8" ], "location": { - "max": 416, + "max": 624, "min": 0 }, "name": "add", - "text": "sum(spring_boot.gc.last_info.memory_usage.before.code_cache.used)+sum(spring_boot.gc.last_info.memory_usage.before.compressed_class_space.used)+sum(spring_boot.gc.last_info.memory_usage.before.metaspace.used)+sum(spring_boot.gc.last_info.memory_usage.before.ps_eden_space.used)+sum(spring_boot.gc.last_info.memory_usage.before.ps_old_gen.used)+sum(spring_boot.gc.last_info.memory_usage.before.ps_survivor_space.used)", + "text": "sum(spring_boot.gc.last_info.memory_usage.before.code_cache.used)+sum(spring_boot.gc.last_info.memory_usage.before.compressed_class_space.used)+sum(spring_boot.gc.last_info.memory_usage.before.metaspace.used)+sum(spring_boot.gc.last_info.memory_usage.before.ps_eden_space.used)+sum(spring_boot.gc.last_info.memory_usage.before.ps_old_gen.used)+sum(spring_boot.gc.last_info.memory_usage.before.ps_survivor_space.used)+sum(spring_boot.gc.last_info.memory_usage.before.g1_eden_space.used)+sum(spring_boot.gc.last_info.memory_usage.before.g1_old_gen.used)+sum(spring_boot.gc.last_info.memory_usage.before.g1_survivor_space.used)", "type": "function" } }, @@ -167,10 +251,38 @@ "79ffbc3e-e907-45d9-b727-6710ca8b19c7X2", "79ffbc3e-e907-45d9-b727-6710ca8b19c7X3", "79ffbc3e-e907-45d9-b727-6710ca8b19c7X4", - "79ffbc3e-e907-45d9-b727-6710ca8b19c7X5" + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X5", + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X6", + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X7", + "79ffbc3e-e907-45d9-b727-6710ca8b19c7X8" ], "scale": "ratio" }, + "94f7e582-69e9-4fe4-9111-75aaa6a3d470": { + "dataType": "string", + "isBucketed": true, + "label": "Top 5 values of spring_boot.gc.name", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderBy": { + "fallback": true, + "type": "alphabetical" + }, + "orderDirection": "asc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 5 + }, + "scale": "ordinal", + "sourceField": "spring_boot.gc.name" + }, "df8aa04a-8859-48a8-8624-e204eb09ad23": { "customLabel": true, "dataType": "number", @@ -184,11 +296,11 @@ "decimals": 0 } }, - "formula": "sum(spring_boot.gc.last_info.memory_usage.after.code_cache.used)+sum(spring_boot.gc.last_info.memory_usage.after.compressed_class_space.used)+sum(spring_boot.gc.last_info.memory_usage.after.metaspace.used)+sum(spring_boot.gc.last_info.memory_usage.after.ps_eden_space.used)+sum(spring_boot.gc.last_info.memory_usage.after.ps_old_gen.used)+sum(spring_boot.gc.last_info.memory_usage.after.ps_survivor_space.used)", + "formula": "sum(spring_boot.gc.last_info.memory_usage.after.code_cache.used)+sum(spring_boot.gc.last_info.memory_usage.after.compressed_class_space.used)+sum(spring_boot.gc.last_info.memory_usage.after.metaspace.used)+sum(spring_boot.gc.last_info.memory_usage.after.ps_eden_space.used)+sum(spring_boot.gc.last_info.memory_usage.after.ps_old_gen.used)+sum(spring_boot.gc.last_info.memory_usage.after.ps_survivor_space.used)+sum(spring_boot.gc.last_info.memory_usage.after.g1_eden_space.used)+sum(spring_boot.gc.last_info.memory_usage.after.g1_old_gen.used)+sum(spring_boot.gc.last_info.memory_usage.after.g1_survivor_space.used)", "isFormulaBroken": false }, "references": [ - "df8aa04a-8859-48a8-8624-e204eb09ad23X6" + "df8aa04a-8859-48a8-8624-e204eb09ad23X9" ], "scale": "ratio" }, @@ -198,6 +310,9 @@ "isBucketed": false, "label": "Part of After", "operationType": "sum", + "params": { + "emptyAsNull": false + }, "scale": "ratio", "sourceField": "spring_boot.gc.last_info.memory_usage.after.code_cache.used" }, @@ -207,6 +322,9 @@ "isBucketed": false, "label": "Part of After", "operationType": "sum", + "params": { + "emptyAsNull": false + }, "scale": "ratio", "sourceField": "spring_boot.gc.last_info.memory_usage.after.compressed_class_space.used" }, @@ -216,6 +334,9 @@ "isBucketed": false, "label": "Part of After", "operationType": "sum", + "params": { + "emptyAsNull": false + }, "scale": "ratio", "sourceField": "spring_boot.gc.last_info.memory_usage.after.metaspace.used" }, @@ -225,6 +346,9 @@ "isBucketed": false, "label": "Part of After", "operationType": "sum", + "params": { + "emptyAsNull": false + }, "scale": "ratio", "sourceField": "spring_boot.gc.last_info.memory_usage.after.ps_eden_space.used" }, @@ -234,6 +358,9 @@ "isBucketed": false, "label": "Part of After", "operationType": "sum", + "params": { + "emptyAsNull": false + }, "scale": "ratio", "sourceField": "spring_boot.gc.last_info.memory_usage.after.ps_old_gen.used" }, @@ -243,10 +370,49 @@ "isBucketed": false, "label": "Part of After", "operationType": "sum", + "params": { + "emptyAsNull": false + }, "scale": "ratio", "sourceField": "spring_boot.gc.last_info.memory_usage.after.ps_survivor_space.used" }, "df8aa04a-8859-48a8-8624-e204eb09ad23X6": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of After", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "spring_boot.gc.last_info.memory_usage.after.g1_eden_space.used" + }, + "df8aa04a-8859-48a8-8624-e204eb09ad23X7": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of After", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "spring_boot.gc.last_info.memory_usage.after.g1_old_gen.used" + }, + "df8aa04a-8859-48a8-8624-e204eb09ad23X8": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of After", + "operationType": "sum", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "spring_boot.gc.last_info.memory_usage.after.g1_survivor_space.used" + }, + "df8aa04a-8859-48a8-8624-e204eb09ad23X9": { "customLabel": true, "dataType": "number", "isBucketed": false, @@ -263,35 +429,56 @@ "args": [ { "args": [ - "df8aa04a-8859-48a8-8624-e204eb09ad23X0", - "df8aa04a-8859-48a8-8624-e204eb09ad23X1" + { + "args": [ + { + "args": [ + { + "args": [ + "df8aa04a-8859-48a8-8624-e204eb09ad23X0", + "df8aa04a-8859-48a8-8624-e204eb09ad23X1" + ], + "name": "add", + "type": "function" + }, + "df8aa04a-8859-48a8-8624-e204eb09ad23X2" + ], + "name": "add", + "type": "function" + }, + "df8aa04a-8859-48a8-8624-e204eb09ad23X3" + ], + "name": "add", + "type": "function" + }, + "df8aa04a-8859-48a8-8624-e204eb09ad23X4" ], "name": "add", "type": "function" }, - "df8aa04a-8859-48a8-8624-e204eb09ad23X2" + "df8aa04a-8859-48a8-8624-e204eb09ad23X5" ], "name": "add", "type": "function" }, - "df8aa04a-8859-48a8-8624-e204eb09ad23X3" + "df8aa04a-8859-48a8-8624-e204eb09ad23X6" ], "name": "add", "type": "function" }, - "df8aa04a-8859-48a8-8624-e204eb09ad23X4" + "df8aa04a-8859-48a8-8624-e204eb09ad23X7" ], "name": "add", "type": "function" }, - "df8aa04a-8859-48a8-8624-e204eb09ad23X5" + "df8aa04a-8859-48a8-8624-e204eb09ad23X8" ], "location": { - "max": 410, + "max": 615, "min": 0 }, "name": "add", - "text": "sum(spring_boot.gc.last_info.memory_usage.after.code_cache.used)+sum(spring_boot.gc.last_info.memory_usage.after.compressed_class_space.used)+sum(spring_boot.gc.last_info.memory_usage.after.metaspace.used)+sum(spring_boot.gc.last_info.memory_usage.after.ps_eden_space.used)+sum(spring_boot.gc.last_info.memory_usage.after.ps_old_gen.used)+sum(spring_boot.gc.last_info.memory_usage.after.ps_survivor_space.used)", + "text": "sum(spring_boot.gc.last_info.memory_usage.after.code_cache.used)+sum(spring_boot.gc.last_info.memory_usage.after.compressed_class_space.used)+sum(spring_boot.gc.last_info.memory_usage.after.metaspace.used)+sum(spring_boot.gc.last_info.memory_usage.after.ps_eden_space.used)+sum(spring_boot.gc.last_info.memory_usage.after.ps_old_gen.used)+sum(spring_boot.gc.last_info.memory_usage.after.ps_survivor_space.used)+sum(spring_boot.gc.last_info.memory_usage.after.g1_eden_space.used)+sum(spring_boot.gc.last_info.memory_usage.after.g1_old_gen.used)+sum(spring_boot.gc.last_info.memory_usage.after.g1_survivor_space.used)", "type": "function" } }, @@ -301,7 +488,10 @@ "df8aa04a-8859-48a8-8624-e204eb09ad23X2", "df8aa04a-8859-48a8-8624-e204eb09ad23X3", "df8aa04a-8859-48a8-8624-e204eb09ad23X4", - "df8aa04a-8859-48a8-8624-e204eb09ad23X5" + "df8aa04a-8859-48a8-8624-e204eb09ad23X5", + "df8aa04a-8859-48a8-8624-e204eb09ad23X6", + "df8aa04a-8859-48a8-8624-e204eb09ad23X7", + "df8aa04a-8859-48a8-8624-e204eb09ad23X8" ], "scale": "ratio" } @@ -319,7 +509,7 @@ "meta": { "alias": null, "disabled": false, - "index": "6a433f61-bcf9-4caf-8839-de0125e53505", + "index": "8aabc9bc-b40b-4f3c-b077-c4d19cd6b477", "key": "event.dataset", "negate": false, "params": { @@ -334,6 +524,7 @@ } } ], + "internalReferences": [], "query": { "language": "kuery", "query": "" @@ -366,11 +557,13 @@ "position": "top", "seriesType": "line", "showGridlines": false, + "splitAccessor": "94f7e582-69e9-4fe4-9111-75aaa6a3d470", "xAccessor": "01e713a3-bda9-4e10-b460-988900367abf" } ], "legend": { "isVisible": true, + "legendSize": "xlarge", "position": "right", "showSingleSeries": true }, @@ -394,17 +587,13 @@ "title": "Memory usage after and before GC [Metrics Spring Boot]", "visualizationType": "lnsXY" }, - "coreMigrationVersion": "8.2.0", + "coreMigrationVersion": "8.7.1", + "created_at": "2023-11-02T08:40:52.790Z", "id": "spring_boot-fae00cb0-ca04-11ec-b4b1-b57f75afa7dd", "migrationVersion": { - "lens": "8.2.0" + "lens": "8.6.0" }, "references": [ - { - "id": "metrics-*", - "name": "indexpattern-datasource-current-indexpattern", - "type": "index-pattern" - }, { "id": "metrics-*", "name": "indexpattern-datasource-layer-e937f0c4-f880-4837-9315-69d043a3f6b1", @@ -412,7 +601,7 @@ }, { "id": "metrics-*", - "name": "6a433f61-bcf9-4caf-8839-de0125e53505", + "name": "8aabc9bc-b40b-4f3c-b077-c4d19cd6b477", "type": "index-pattern" } ], diff --git a/packages/spring_boot/manifest.yml b/packages/spring_boot/manifest.yml index 1a8dbf9760c..bbd0d0c10d7 100644 --- a/packages/spring_boot/manifest.yml +++ b/packages/spring_boot/manifest.yml @@ -1,7 +1,7 @@ format_version: "3.0.0" name: spring_boot title: Spring Boot -version: "1.1.0" +version: "1.2.0" description: This Elastic integration collects logs and metrics from Spring Boot integration. type: integration categories: