blob: d995664993980f22f242a2783da3ce9ae01c4fae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// 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 {
class UpdateMetricSet : public PersistenceOperationMetricSet {
public:
metrics::LongCountMetric diverging_timestamp_updates;
metrics::LongCountMetric fast_path_restarts;
explicit UpdateMetricSet(MetricSet* owner = nullptr);
~UpdateMetricSet() override;
MetricSet* clone(std::vector<Metric::UP>& ownerList, CopyType copyType,
MetricSet* owner, bool includeUnused) const override;
};
} // storage
|