aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/cache/httpstructuredcache.h
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-09-28 23:57:31 +0200
committerGitHub <[email protected]>2023-09-28 23:57:31 +0200
commitbf20e4c8e63638792e69098d4d9810c1136ff627 (patch)
treefee82fc0d15910902a4a3c24a5564867748b6419 /src/zenserver/cache/httpstructuredcache.h
parentadded more context to http response error message (#430) (diff)
downloadzen-bf20e4c8e63638792e69098d4d9810c1136ff627.tar.xz
zen-bf20e4c8e63638792e69098d4d9810c1136ff627.zip
adding more stats (#429)
- Feature: Add detailed stats on requests and data sizes on a per-bucket level, use parameter `cachestorestats=true` on the `/stats/z$` endpoint to enable - Feature: Add detailed stats on requests and data sizes on cidstore, use parameter `cidstorestats=true` on the `/stats/z$` endpoint to enable - Feature: Dashboard now accepts parameters in the URL which is passed on to the `/stats/z$` endpoint
Diffstat (limited to 'src/zenserver/cache/httpstructuredcache.h')
-rw-r--r--src/zenserver/cache/httpstructuredcache.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/zenserver/cache/httpstructuredcache.h b/src/zenserver/cache/httpstructuredcache.h
index c64855e70..75ae1711f 100644
--- a/src/zenserver/cache/httpstructuredcache.h
+++ b/src/zenserver/cache/httpstructuredcache.h
@@ -99,8 +99,14 @@ private:
std::atomic_uint64_t UpstreamHitCount{};
std::atomic_uint64_t MissCount{};
std::atomic_uint64_t WriteCount{};
- std::atomic_uint64_t RequestCount{};
std::atomic_uint64_t BadRequestCount{};
+ std::atomic_uint64_t RpcRequests{};
+ std::atomic_uint64_t RpcRecordRequests{};
+ std::atomic_uint64_t RpcRecordBatchRequests{};
+ std::atomic_uint64_t RpcValueRequests{};
+ std::atomic_uint64_t RpcValueBatchRequests{};
+ std::atomic_uint64_t RpcChunkRequests{};
+ std::atomic_uint64_t RpcChunkBatchRequests{};
};
enum class PutResult
{