xrpld
Loading...
Searching...
No Matches
Group.h
1#pragma once
2
3#include <xrpl/beast/insight/Collector.h>
4
5#include <memory>
6#include <string>
7
8namespace beast::insight {
9
11class Group : public Collector
12{
13public:
15
17 [[nodiscard]] virtual std::string const&
18 name() const = 0;
19};
20
21} // namespace beast::insight
Interface for a manager that allows collection of metrics.
Definition Collector.h:24
A collector front-end that manages a group of metrics.
Definition Group.h:12
std::shared_ptr< Group > ptr
Definition Group.h:14
virtual std::string const & name() const =0
Returns the name of this group, for diagnostics.