From bf20e4c8e63638792e69098d4d9810c1136ff627 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Thu, 28 Sep 2023 23:57:31 +0200 Subject: 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 --- src/zenserver/cache/httpstructuredcache.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/zenserver/cache/httpstructuredcache.h') 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 { -- cgit v1.2.3