aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/vespalib/net/http/metrics_producer.h
blob: 18e61ff05e32c786dc566027cd5e24ef9d0e4089 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/vespalib/stllike/string.h>

namespace vespalib {

struct MetricsProducer {
    virtual vespalib::string getMetrics(const vespalib::string &consumer) = 0;
    virtual vespalib::string getTotalMetrics(const vespalib::string &consumer) = 0;
    virtual ~MetricsProducer() = default;
};

} // namespace vespalib