From f85a4d502cc63d83a06f161ced6ac03f269ba6e3 Mon Sep 17 00:00:00 2001 From: obdev Date: Tue, 6 Feb 2024 20:39:48 +0000 Subject: [PATCH] [log_storage_compress] stat events releated with log storage compress take a placeholder. --- deps/oblib/src/lib/statistic_event/ob_stat_event.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deps/oblib/src/lib/statistic_event/ob_stat_event.h b/deps/oblib/src/lib/statistic_event/ob_stat_event.h index 8af427fb9..eb9d1c053 100644 --- a/deps/oblib/src/lib/statistic_event/ob_stat_event.h +++ b/deps/oblib/src/lib/statistic_event/ob_stat_event.h @@ -342,6 +342,10 @@ STAT_EVENT_ADD_DEF(ARCHIVE_WRITE_LOG_SIZE, "archive write log size", ObStatClass STAT_EVENT_ADD_DEF(RESTORE_READ_LOG_SIZE, "restore read log size", ObStatClassIds::CLOG, 80013, true, true, true) STAT_EVENT_ADD_DEF(RESTORE_WRITE_LOG_SIZE, "restore write log size", ObStatClassIds::CLOG, 80014, true, true, true) STAT_EVENT_ADD_DEF(CLOG_TRANS_LOG_TOTAL_SIZE, "clog trans log total size", ObStatClassIds::CLOG, 80057, false, true, true) +STAT_EVENT_ADD_DEF(LOG_STORAGE_COMPRESS_ORIGINAL_ENTRY_CNT, "log storage compress original entry cnt", ObStatClassIds::CLOG, 80058, false, true, true) +STAT_EVENT_ADD_DEF(LOG_STORAGE_COMPRESS_COMPRESSED_ENTRY_CNT, "log storage compress compressed entry cnt", ObStatClassIds::CLOG, 80059, false, true, true) +STAT_EVENT_ADD_DEF(LOG_STORAGE_COMPRESS_ORIGINAL_SIZE, "log storage compress original size", ObStatClassIds::CLOG, 80060, false, true, true) +STAT_EVENT_ADD_DEF(LOG_STORAGE_COMPRESS_COMPRESSED_SIZE, "log storage compress compressed size", ObStatClassIds::CLOG, 80061, false, true, true) // CLOG.EXTLOG 81001 ~ 90000 STAT_EVENT_ADD_DEF(CLOG_EXTLOG_FETCH_LOG_SIZE, "external log service fetch log size", ObStatClassIds::CLOG, 81001, false, true, true)