blob: 6ce6bd803df8c5439b38df0da4542c879fea6358 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/vespalib/util/jsonstream.h>
namespace storage {
/**
* Interface for reporters. Each implementation should add a json entry, e.g. for
* cpu it should be named "cpu".
*/
class HostReporter {
public:
virtual void report(vespalib::JsonStream& jsonreport) = 0;
virtual ~HostReporter() = default;
};
}
|