mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
22 lines
428 B
C++
22 lines
428 B
C++
#pragma once
|
|
|
|
#include <xrpl/beast/insight/Collector.h>
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
namespace beast::insight {
|
|
|
|
/** A collector front-end that manages a group of metrics. */
|
|
class Group : public Collector
|
|
{
|
|
public:
|
|
using ptr = std::shared_ptr<Group>;
|
|
|
|
/** Returns the name of this group, for diagnostics. */
|
|
[[nodiscard]] virtual std::string const&
|
|
name() const = 0;
|
|
};
|
|
|
|
} // namespace beast::insight
|