From 1e7be917ea670274f1a2964c38e3e90152cc1d01 Mon Sep 17 00:00:00 2001 From: YangKian <1207783292@qq.com> Date: Tue, 2 Jul 2024 14:13:15 +0800 Subject: [PATCH] add cache store stats --- hstream.proto | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hstream.proto b/hstream.proto index e6c5aa9..986c82d 100644 --- a/hstream.proto +++ b/hstream.proto @@ -765,6 +765,16 @@ enum QueryStats { enum ViewStats { TotalExecuteQueries = 0; } +enum CacheStoreStats { + CSAppendInBytes = 0; + CSAppendInRecords = 1; + CSAppendTotal = 2; + CSAppendFailed = 3; + CSReadInBytes = 4; + CSReadInRecords = 5; + CSDeliveredInRecords = 6; +} + message StatType { oneof stat { StreamStats streamStat = 1; @@ -772,6 +782,7 @@ message StatType { ConnectorStats connStat = 3; QueryStats queryStat = 4; ViewStats viewStat = 5; + CacheStoreStats cacheStoreStat = 6; } }