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

}