aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/metrics/document_db_commit_metrics.cpp
blob: c5b7d71a98288212590a15c6ce63e99c8a16106c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Yahoo. 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;

}