summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-01-06 23:38:41 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-01-06 23:38:41 +0000
commit2f61fa944cfd1e57719c93348ffc35a32a8d2bc8 (patch)
tree677ed560a12f8b3ec4a7c09480ff330ba384d358 /storage
parent92845e2859655920607519ffe6c81ade2f59566c (diff)
reduce usage of default values.
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/bucketdb/bucketmanagermetrics.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/storage/src/vespa/storage/bucketdb/bucketmanagermetrics.cpp b/storage/src/vespa/storage/bucketdb/bucketmanagermetrics.cpp
index 41a655564f5..11c428645a7 100644
--- a/storage/src/vespa/storage/bucketdb/bucketmanagermetrics.cpp
+++ b/storage/src/vespa/storage/bucketdb/bucketmanagermetrics.cpp
@@ -4,7 +4,6 @@
#include <vespa/document/bucket/fixed_bucket_spaces.h>
#include <vespa/storage/common/content_bucket_space_repo.h>
#include <vespa/vespalib/util/exceptions.h>
-#include <cassert>
namespace storage {
@@ -30,13 +29,13 @@ ContentBucketDbMetrics::ContentBucketDbMetrics(metrics::MetricSet* owner)
ContentBucketDbMetrics::~ContentBucketDbMetrics() = default;
BucketSpaceMetrics::BucketSpaceMetrics(const vespalib::string& space_name, metrics::MetricSet* owner)
- : metrics::MetricSet("bucket_space", {{"bucketSpace", space_name}}, "", owner),
- buckets_total("buckets_total", {}, "Total number buckets present in the bucket space (ready + not ready)", this),
- docs("docs", {}, "Documents stored in the bucket space", this),
- bytes("bytes", {}, "Bytes stored across all documents in the bucket space", this),
- active_buckets("active_buckets", {}, "Number of active buckets in the bucket space", this),
- ready_buckets("ready_buckets", {}, "Number of ready buckets in the bucket space", this),
- bucket_db_metrics(this)
+ : metrics::MetricSet("bucket_space", {{"bucketSpace", space_name}}, "", owner),
+ buckets_total("buckets_total", {}, "Total number buckets present in the bucket space (ready + not ready)", this),
+ docs("docs", {}, "Documents stored in the bucket space", this),
+ bytes("bytes", {}, "Bytes stored across all documents in the bucket space", this),
+ active_buckets("active_buckets", {}, "Number of active buckets in the bucket space", this),
+ ready_buckets("ready_buckets", {}, "Number of ready buckets in the bucket space", this),
+ bucket_db_metrics(this)
{}
BucketSpaceMetrics::~BucketSpaceMetrics() = default;