diff options
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/server/documentdb_metrics_updater.h')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/documentdb_metrics_updater.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/documentdb_metrics_updater.h b/searchcore/src/vespa/searchcore/proton/server/documentdb_metrics_updater.h index e0042207060..7c27b273c59 100644 --- a/searchcore/src/vespa/searchcore/proton/server/documentdb_metrics_updater.h +++ b/searchcore/src/vespa/searchcore/proton/server/documentdb_metrics_updater.h @@ -11,11 +11,9 @@ namespace matching { class SessionManager; } class AttributeUsageFilter; class DDBState; class DocumentDBJobTrackers; -class DocumentDBMetricsCollection; class DocumentSubDBCollection; class ExecutorThreadingService; class ExecutorThreadingServiceStats; -class LegacyDocumentDBMetrics; /** * Class used to update metrics for a document db. @@ -24,11 +22,10 @@ class DocumentDBMetricsUpdater { public: struct DocumentStoreCacheStats { - search::CacheStats total; search::CacheStats readySubDb; search::CacheStats notReadySubDb; search::CacheStats removedSubDb; - DocumentStoreCacheStats() : total(), readySubDb(), notReadySubDb(), removedSubDb() {} + DocumentStoreCacheStats() : readySubDb(), notReadySubDb(), removedSubDb() {} }; private: @@ -41,7 +38,6 @@ private: // Last updated document store cache statistics. Necessary due to metrics implementation is upside down. DocumentStoreCacheStats _lastDocStoreCacheStats; - void updateLegacyMetrics(LegacyDocumentDBMetrics &metrics, const ExecutorThreadingServiceStats &threadingServiceStats); void updateMiscMetrics(DocumentDBTaggedMetrics &metrics, const ExecutorThreadingServiceStats &threadingServiceStats); void updateAttributeResourceUsageMetrics(DocumentDBTaggedMetrics::AttributeMetrics &metrics); @@ -54,7 +50,7 @@ public: const DDBState &state); ~DocumentDBMetricsUpdater(); - void updateMetrics(DocumentDBMetricsCollection &metrics); + void updateMetrics(DocumentDBTaggedMetrics &metrics); }; |