aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcache.h
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-30 14:45:07 +0200
committerStefan Boberg <[email protected]>2021-09-30 14:45:07 +0200
commit56ac15aa5d44a7564497fc4e7f252d135a1904a4 (patch)
treeb7e1e1d8afdf93c19c79cfbd0b586178f5cc0f02 /zenserver/cache/structuredcache.h
parentmetrics: added OperationTiming which is a useful combination of a Meter and a... (diff)
downloadzen-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.h4
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