aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/metrics/document_db_commit_metrics.cpp
blob: f95a30f3a9a3ef54a469ddfc18939e9f6562206a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "document_db_commit_metrics.h"

namespace proton {

DocumentDBCommitMetrics::DocumentDBCommitMetrics(metrics::MetricSet* parent)
    : MetricSet("commit", {}, "commit metrics for feeding in a document database", parent),
      operations("operations", {}, "Number of operations included in a commit", this),
      latency("latency", {}, "Latency for commit", this)
{
}

DocumentDBCommitMetrics::~DocumentDBCommitMetrics() = default;

}