20#include <xrpld/app/main/CollectorManager.h> 
   38        if (server == 
"statsd")
 
 
 
A version-independent IP address and port combination.
 
static Endpoint from_string(std::string const &s)
 
A generic endpoint for log messages.
 
virtual Group::ptr const & get(std::string const &name)=0
Find or create a new collector with a given name.
 
static std::shared_ptr< Collector > New()
 
static std::shared_ptr< StatsDCollector > New(IP::Endpoint const &address, std::string const &prefix, Journal journal)
Create a StatsD collector.
 
beast::insight::Collector::ptr const & collector() override
 
std::unique_ptr< beast::insight::Groups > m_groups
 
beast::insight::Collector::ptr m_collector
 
beast::insight::Group::ptr const & group(std::string const &name) override
 
CollectorManagerImp(Section const ¶ms, beast::Journal journal)
 
~CollectorManagerImp()=default
 
Provides the beast::insight::Collector service.
 
Holds a collection of configuration values.
 
std::unique_ptr< Groups > make_Groups(Collector::ptr const &collector)
Create a group container that uses the specified collector.
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
std::unique_ptr< CollectorManager > make_CollectorManager(Section const ¶ms, beast::Journal journal)
 
T get(Section const §ion, std::string const &name, T const &defaultValue=T{})
Retrieve a key/value pair from a section.