From 1fd161177187c3c91105ed42454799631f1e46ad Mon Sep 17 00:00:00 2001 From: Shichao Nie Date: Tue, 2 Jan 2024 20:14:12 +0800 Subject: [PATCH] feat(s3stream): change read ahead size metrics level to INFO (#871) Signed-off-by: Shichao Nie --- .../main/java/com/automq/stream/s3/cache/ReadAheadAgent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3stream/src/main/java/com/automq/stream/s3/cache/ReadAheadAgent.java b/s3stream/src/main/java/com/automq/stream/s3/cache/ReadAheadAgent.java index 9923fa3e4..d662fef47 100644 --- a/s3stream/src/main/java/com/automq/stream/s3/cache/ReadAheadAgent.java +++ b/s3stream/src/main/java/com/automq/stream/s3/cache/ReadAheadAgent.java @@ -99,7 +99,7 @@ public void updateReadAheadResult(long readAheadEndOffset, int readAheadSize) { lock.lock(); this.readAheadEndOffset = readAheadEndOffset; this.lastReadAheadSize = readAheadSize; - S3StreamMetricsManager.recordReadAheadSize(MetricsLevel.DEBUG, readAheadSize); + S3StreamMetricsManager.recordReadAheadSize(MetricsLevel.INFO, readAheadSize); if (logger.isDebugEnabled()) { logger.debug("update read ahead offset {}, size: {}, lastReadOffset: {}", readAheadEndOffset, readAheadSize, lastReadOffset); }