diff options
| author | Dan Engelbrecht <[email protected]> | 2023-09-14 13:41:06 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-09-14 19:41:06 +0200 |
| commit | b57cb102bdbba3ef3fbcb3d9c66b78e7ca406891 (patch) | |
| tree | 812c13d3a2ff6c1c617fddb401845a744f13fcd5 /src/zenserver/cache/httpstructuredcache.h | |
| parent | enable sentry personal information (ip/username) on shared instances (#404) (diff) | |
| download | zen-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.h | 3 |
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 { |