20 #ifndef BEAST_INSIGHT_COLLECTOR_H_INCLUDED
21 #define BEAST_INSIGHT_COLLECTOR_H_INCLUDED
23 #include <ripple/beast/insight/Counter.h>
24 #include <ripple/beast/insight/Event.h>
25 #include <ripple/beast/insight/Gauge.h>
26 #include <ripple/beast/insight/Hook.h>
27 #include <ripple/beast/insight/Meter.h>
64 template <
class Handler>
A metric for measuring an integral value.
A metric for measuring an integral value.
Hook make_hook(Handler handler)
Create a hook.
Counter make_counter(std::string const &prefix, std::string const &name)
virtual Event make_event(std::string const &name)=0
Create an event with the specified name.
virtual Meter make_meter(std::string const &name)=0
Create a meter with the specified name.
Gauge make_gauge(std::string const &prefix, std::string const &name)
A metric for reporting event timing.
virtual Gauge make_gauge(std::string const &name)=0
Create a gauge with the specified name.
A metric for measuring an integral value.
virtual Counter make_counter(std::string const &name)=0
Create a counter with the specified name.
Meter make_meter(std::string const &prefix, std::string const &name)
Interface for a manager that allows collection of metrics.
Event make_event(std::string const &prefix, std::string const &name)
A reference to a handler for performing polled collection.