diff options
| author | Stefan Boberg <[email protected]> | 2021-09-30 14:45:07 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-30 14:45:07 +0200 |
| commit | 56ac15aa5d44a7564497fc4e7f252d135a1904a4 (patch) | |
| tree | b7e1e1d8afdf93c19c79cfbd0b586178f5cc0f02 /zenserver/cache/structuredcache.h | |
| parent | metrics: added OperationTiming which is a useful combination of a Meter and a... (diff) | |
| download | zen-56ac15aa5d44a7564497fc4e7f252d135a1904a4.tar.xz zen-56ac15aa5d44a7564497fc4e7f252d135a1904a4.zip | |
structured cache: Rewrote metrics tracking using OperationTiming
Diffstat (limited to 'zenserver/cache/structuredcache.h')
| -rw-r--r-- | zenserver/cache/structuredcache.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/zenserver/cache/structuredcache.h b/zenserver/cache/structuredcache.h index f68efa3fd..47fc173e9 100644 --- a/zenserver/cache/structuredcache.h +++ b/zenserver/cache/structuredcache.h @@ -88,9 +88,7 @@ private: zen::CidStore& m_CidStore; std::unique_ptr<UpstreamCache> m_UpstreamCache; uint64_t m_LastScrubTime = 0; - - metrics::Histogram m_HttpRequests; - metrics::Meter m_HttpRequestMeter; + metrics::OperationTiming m_HttpRequests; }; } // namespace zen |