aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/storageserver/bouncer_metrics.h
blob: 92aeb4f59370761e63f87ae623a517567ad9e179 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/metrics/metricset.h>
#include <vespa/metrics/countmetric.h>

namespace storage {

struct BouncerMetrics : metrics::MetricSet {
    metrics::LongCountMetric clock_skew_aborts;
    metrics::LongCountMetric unavailable_node_aborts;

    BouncerMetrics();
    ~BouncerMetrics() override;
};

}