From b57cb102bdbba3ef3fbcb3d9c66b78e7ca406891 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Thu, 14 Sep 2023 13:41:06 -0400 Subject: More statistics for Cache, Project Store and Cid Store (#405) Cache: requestcount, badrequestcount, writes Project Store: requestcount Cid Store: cidhits, cidmisses, cidwrites --- src/zenserver/cache/httpstructuredcache.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/zenserver/cache/httpstructuredcache.h') diff --git a/src/zenserver/cache/httpstructuredcache.h b/src/zenserver/cache/httpstructuredcache.h index 7ad3f5ac8..c64855e70 100644 --- a/src/zenserver/cache/httpstructuredcache.h +++ b/src/zenserver/cache/httpstructuredcache.h @@ -98,6 +98,9 @@ private: std::atomic_uint64_t HitCount{}; 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{}; }; enum class PutResult { -- cgit v1.2.3