blob: 291ebc2de382c622c01d4167b28a8c1d8503cd9d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "persistence_operation_metric_set.h"
namespace storage::distributor {
struct VisitorMetricSet : public PersistenceOperationMetricSet {
metrics::LongAverageMetric buckets_per_visitor;
metrics::LongAverageMetric docs_per_visitor;
metrics::LongAverageMetric bytes_per_visitor;
VisitorMetricSet(MetricSet* owner = nullptr);
~VisitorMetricSet() override;
MetricSet * clone(std::vector<Metric::UP>& ownerList, CopyType copyType,
MetricSet* owner, bool includeUnused) const override;
};
} // storage::distributor
|