Skip to content

Commit

Permalink
add cache store stats (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
YangKian authored Jul 2, 2024
1 parent d28d55a commit 33620f8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- uses: actions/setup-go@v3
with:
go-version: "1.17"
go-version: "1.21"

- name: install protobuf
run: |
Expand Down
11 changes: 11 additions & 0 deletions hstream.proto
Original file line number Diff line number Diff line change
Expand Up @@ -765,13 +765,24 @@ 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;
SubscriptionStats subStat = 2;
ConnectorStats connStat = 3;
QueryStats queryStat = 4;
ViewStats viewStat = 5;
CacheStoreStats cacheStoreStat = 6;
}
}

Expand Down

0 comments on commit 33620f8

Please sign in to comment.