From e29b69a3a4beb47279e2e28bca9d58b173fe2c66 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Fri, 11 Jun 2021 10:59:22 +1000 Subject: [PATCH] Change ring buffer default length to 3 3 is the Micrometer default, 1024 is way to big and results in excessive memory usage. --- .../io/quarkus/micrometer/runtime/config/JsonConfigGroup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/micrometer/runtime/src/main/java/io/quarkus/micrometer/runtime/config/JsonConfigGroup.java b/extensions/micrometer/runtime/src/main/java/io/quarkus/micrometer/runtime/config/JsonConfigGroup.java index 446ff3da2e25e..3d2f3caeb78f2 100644 --- a/extensions/micrometer/runtime/src/main/java/io/quarkus/micrometer/runtime/config/JsonConfigGroup.java +++ b/extensions/micrometer/runtime/src/main/java/io/quarkus/micrometer/runtime/config/JsonConfigGroup.java @@ -26,7 +26,7 @@ public class JsonConfigGroup implements MicrometerConfig.CapabilityEnabled { * samples. Samples are accumulated to such statistics in ring buffers which rotate after * the expiry, with this buffer length. */ - @ConfigItem(defaultValue = "1024") + @ConfigItem(defaultValue = "3") public Integer bufferLength; /**