blob: 8a88aa6b9a948a6fb241b2b5ebc40282d7f8e363 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "persistence_operation_metric_set.h"
#include <vespa/documentapi/loadtypes/loadtypeset.h>
#include <vespa/metrics/metrics.h>
namespace storage {
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
|