| 
    rippled
    
   | 
 
A collector front-end that manages a group of metrics. More...
#include <Group.h>


Public Types | |
| using | ptr = std::shared_ptr< Group > | 
Public Member Functions | |
| virtual std::string const & | name () const =0 | 
| Returns the name of this group, for diagnostics.   | |
| template<class Handler > | |
| Hook | make_hook (Handler handler) | 
| Create a hook.   | |
| virtual Hook | make_hook (HookImpl::HandlerType const &handler)=0 | 
| virtual Counter | make_counter (std::string const &name)=0 | 
| Create a counter with the specified name.   | |
| 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.   | |
| Event | make_event (std::string const &prefix, std::string const &name) | 
| virtual Gauge | make_gauge (std::string const &name)=0 | 
| Create a gauge with the specified name.   | |
| Gauge | make_gauge (std::string const &prefix, std::string const &name) | 
| virtual Meter | make_meter (std::string const &name)=0 | 
| Create a meter with the specified name.   | |
| Meter | make_meter (std::string const &prefix, std::string const &name) | 
      
  | 
  pure virtual | 
Returns the name of this group, for diagnostics.
Implemented in beast::insight::detail::GroupImp.
      
  | 
  inherited | 
Create a hook.
A hook is called at each collection interval, on an implementation defined thread. This is a convenience facility for gathering metrics in the polling style. The typical usage is to update all the metrics of interest in the handler.
Handler will be called with this signature: void handler (void)
Definition at line 47 of file Collector.h.
      
  | 
  pure virtualinherited | 
      
  | 
  pure virtualinherited | 
Create a counter with the specified name.
Implemented in beast::insight::detail::NullCollectorImp, beast::insight::detail::GroupImp, and beast::insight::detail::StatsDCollectorImp.
      
  | 
  inherited | 
Definition at line 64 of file Collector.h.
      
  | 
  pure virtualinherited | 
Create an event with the specified name.
Implemented in beast::insight::detail::NullCollectorImp, beast::insight::detail::GroupImp, and beast::insight::detail::StatsDCollectorImp.
      
  | 
  inherited | 
Definition at line 80 of file Collector.h.
      
  | 
  pure virtualinherited | 
Create a gauge with the specified name.
Implemented in beast::insight::detail::NullCollectorImp, beast::insight::detail::GroupImp, and beast::insight::detail::StatsDCollectorImp.
      
  | 
  inherited | 
Definition at line 96 of file Collector.h.
      
  | 
  pure virtualinherited | 
Create a meter with the specified name.
Implemented in beast::insight::detail::NullCollectorImp, beast::insight::detail::GroupImp, and beast::insight::detail::StatsDCollectorImp.
      
  | 
  inherited | 
Definition at line 112 of file Collector.h.