aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/storageserver/bouncer_metrics.cpp
blob: 1963cf30cd07de10bf75c19a47b57faed5c3f9fe (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.

#include "bouncer_metrics.h"

namespace storage {

BouncerMetrics::BouncerMetrics()
    : MetricSet("bouncer", {}, "Metrics for Bouncer component", nullptr),
      clock_skew_aborts("clock_skew_aborts", {}, "Number of client operations that were aborted due to "
                        "clock skew between sender and receiver exceeding acceptable range", this),
      unavailable_node_aborts("unavailable_node_aborts", {}, "Number of operations that were aborted due "
                              "to the node (or target bucket space) being unavailable", this)
{
}

BouncerMetrics::~BouncerMetrics() = default;

}