aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/persistence/filestorage/active_operations_metrics.cpp
blob: b48ef5bf4637ee1a114c59c4fe3ce40249d527ca (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 "active_operations_metrics.h"

namespace storage {

ActiveOperationsMetrics::ActiveOperationsMetrics(metrics::MetricSet* parent)
    : MetricSet("active_operations", {}, "metrics for active operations at service layer", parent),
      size("size", {}, "Number of concurrent active operations", this),
      latency("latency", {}, "Latency (in ms) for active operations", this)
{
}

ActiveOperationsMetrics::~ActiveOperationsMetrics() = default;

}