aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/cache
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-11-06 14:50:33 +0100
committerGitHub <[email protected]>2023-11-06 14:50:33 +0100
commit0b184fd2a65852028672a7a0013ec794c7e0b071 (patch)
tree8f2d6f8296016943c1544716a6110be58729b4c6 /src/zenserver/cache
parentfixed issue where file log sink would get the wrong pattern assigned (#513) (diff)
downloadzen-0b184fd2a65852028672a7a0013ec794c7e0b071.tar.xz
zen-0b184fd2a65852028672a7a0013ec794c7e0b071.zip
statsd for cas (#511)
* separate statsd interfaces so they can be accessible to zenstore * statsd for cas
Diffstat (limited to 'src/zenserver/cache')
-rw-r--r--src/zenserver/cache/structuredcachestore.cpp2
-rw-r--r--src/zenserver/cache/structuredcachestore.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/zenserver/cache/structuredcachestore.cpp b/src/zenserver/cache/structuredcachestore.cpp
index 55ab6bf31..09c9f1468 100644
--- a/src/zenserver/cache/structuredcachestore.cpp
+++ b/src/zenserver/cache/structuredcachestore.cpp
@@ -693,7 +693,7 @@ ZenCacheStore::Stats(bool IncludeNamespaceStats)
}
void
-ZenCacheStore::ReportMetrics(StatsDaemonClient& Statsd)
+ZenCacheStore::ReportMetrics(StatsMetrics& Statsd)
{
const bool IncludeNamespaceStats = false;
const CacheStoreStats Now = Stats(IncludeNamespaceStats);
diff --git a/src/zenserver/cache/structuredcachestore.h b/src/zenserver/cache/structuredcachestore.h
index a3cac0d44..4ab8f90f0 100644
--- a/src/zenserver/cache/structuredcachestore.h
+++ b/src/zenserver/cache/structuredcachestore.h
@@ -220,7 +220,7 @@ public:
std::function<void(const IoHash& Key, const CacheValueDetails::ValueDetails& Details)>&& Fn);
// StatsProvider
- virtual void ReportMetrics(StatsDaemonClient& Statsd) override;
+ virtual void ReportMetrics(StatsMetrics& Statsd) override;
private:
const ZenCacheNamespace* FindNamespace(std::string_view Namespace) const;