diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df70370..8eb38cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.21" - name: install protobuf run: | 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; } }