summaryrefslogtreecommitdiffstats
path: root/staging_vespalib/src/vespa/vespalib/metrics/metric_name.h
blob: baf35b05e4547c2b4dbacf63f8ff16174b66c36c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include "handle.h"

namespace vespalib {
namespace metrics {

/**
 * Opaque handle representing an uniquely named metric.
 **/
class MetricName : public Handle<MetricName> {
public:
    explicit MetricName(size_t id) : Handle<MetricName>(id) {}
};

} // namespace vespalib::metrics
} // namespace vespalib