rippled
Loading...
Searching...
No Matches
CollectorManager.h
1#ifndef XRPL_APP_MAIN_COLLECTORMANAGER_H_INCLUDED
2#define XRPL_APP_MAIN_COLLECTORMANAGER_H_INCLUDED
3
4#include <xrpl/basics/BasicConfig.h>
5#include <xrpl/beast/insight/Insight.h>
6
7namespace ripple {
8
11{
12public:
13 virtual ~CollectorManager() = default;
14
16 collector() = 0;
17
18 virtual beast::insight::Group::ptr const&
19 group(std::string const& name) = 0;
20};
21
23make_CollectorManager(Section const& params, beast::Journal journal);
24
25} // namespace ripple
26
27#endif
A generic endpoint for log messages.
Definition Journal.h:41
Provides the beast::insight::Collector service.
virtual ~CollectorManager()=default
virtual beast::insight::Group::ptr const & group(std::string const &name)=0
virtual beast::insight::Collector::ptr const & collector()=0
Holds a collection of configuration values.
Definition BasicConfig.h:26
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
std::unique_ptr< CollectorManager > make_CollectorManager(Section const &params, beast::Journal journal)