summaryrefslogtreecommitdiffstats
path: root/metrics
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-04-10 17:50:35 +0200
committerHenning Baldersheim <balder@oath.com>2018-04-10 17:50:35 +0200
commit6eb097a87f9e5e5d54d5dc6b44682657195b6497 (patch)
tree995b9372459cfd09646eff8347ea0e9f330fc092 /metrics
parent71b85166e9421cdd6f0d85d55d5f43bad70c0931 (diff)
Add back the original avgerage queue wait time metric
Diffstat (limited to 'metrics')
-rw-r--r--metrics/src/vespa/metrics/loadmetric.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/metrics/src/vespa/metrics/loadmetric.h b/metrics/src/vespa/metrics/loadmetric.h
index 8a637325a69..3b0c70440c9 100644
--- a/metrics/src/vespa/metrics/loadmetric.h
+++ b/metrics/src/vespa/metrics/loadmetric.h
@@ -57,6 +57,7 @@ public:
const MetricType& operator[](const LoadType& type) const
{ return const_cast<LoadMetric<MetricType>*>(this)->getMetric(type); }
MetricType& getMetric(const LoadType& type);
+ const MetricMap & getMetricMap() const { return _metrics; }
void addMemoryUsage(MemoryConsumption& mc) const override;
};