summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/common/metricstest.cpp
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@vespa.ai>2023-11-15 15:52:35 +0100
committerGitHub <noreply@github.com>2023-11-15 15:52:35 +0100
commit99461ad8ccac795f9c7c0a83aca52d8f921cc61c (patch)
treeda862d62d3b6e5aab75ec3c1c0c458f9eb1877f2 /storage/src/tests/common/metricstest.cpp
parent989a264bee42420d70b6b62730aa23763b830b07 (diff)
parent52c9ec39a57f93a085685bf1645ecbade44dc36f (diff)
Merge pull request #29342 from vespa-engine/vekterli/gc-unused-persistence-metrics
GC old and unused persistence-level metrics
Diffstat (limited to 'storage/src/tests/common/metricstest.cpp')
-rw-r--r--storage/src/tests/common/metricstest.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/storage/src/tests/common/metricstest.cpp b/storage/src/tests/common/metricstest.cpp
index 61332bb9ad6..899c1979e86 100644
--- a/storage/src/tests/common/metricstest.cpp
+++ b/storage/src/tests/common/metricstest.cpp
@@ -122,9 +122,6 @@ void MetricsTest::createFakeLoad()
metrics.docs.inc(10 * n);
metrics.bytes.inc(10240 * n);
}
- _filestorMetrics->directoryEvents.inc(5);
- _filestorMetrics->partitionEvents.inc(4);
- _filestorMetrics->diskEvents.inc(3);
{
FileStorMetrics& disk(*_filestorMetrics);
disk.queueSize.addValue(4 * n);
@@ -147,18 +144,10 @@ void MetricsTest::createFakeLoad()
thread.update.notFound.inc(1 * n);
thread.update.latencyRead.addValue(2 * n);
thread.update.latency.addValue(7 * n);
- thread.revert.count.inc(2 * n);
- thread.revert.notFound.inc(n / 2);
- thread.revert.latency.addValue(2 * n);
thread.visit.count.inc(6 * n);
thread.deleteBuckets.count.inc(1 * n);
- thread.repairs.count.inc(3 * n);
- thread.repairFixed.inc(1 * n);
thread.splitBuckets.count.inc(20 * n);
- thread.movedBuckets.count.inc(1 * n);
- thread.readBucketInfo.count.inc(2 * n);
- thread.internalJoin.count.inc(3 * n);
thread.mergeBuckets.count.inc(2 * n);
thread.getBucketDiff.count.inc(4 * n);