aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/cache/httpstructuredcache.h
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-09-14 13:41:06 -0400
committerGitHub <[email protected]>2023-09-14 19:41:06 +0200
commitb57cb102bdbba3ef3fbcb3d9c66b78e7ca406891 (patch)
tree812c13d3a2ff6c1c617fddb401845a744f13fcd5 /src/zenserver/cache/httpstructuredcache.h
parentenable sentry personal information (ip/username) on shared instances (#404) (diff)
downloadzen-b57cb102bdbba3ef3fbcb3d9c66b78e7ca406891.tar.xz
zen-b57cb102bdbba3ef3fbcb3d9c66b78e7ca406891.zip
More statistics for Cache, Project Store and Cid Store (#405)
Cache: requestcount, badrequestcount, writes Project Store: requestcount Cid Store: cidhits, cidmisses, cidwrites
Diffstat (limited to 'src/zenserver/cache/httpstructuredcache.h')
-rw-r--r--src/zenserver/cache/httpstructuredcache.h3
1 files changed, 3 insertions, 0 deletions
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
{