rippled
|
Public Types | |
using | ptr = std::shared_ptr< Group > |
Public Member Functions | |
GroupImp (std::string const &name_, Collector::ptr const &collector) | |
~GroupImp ()=default | |
std::string const & | name () const override |
Returns the name of this group, for diagnostics. More... | |
std::string | make_name (std::string const &name) |
Hook | make_hook (HookImpl::HandlerType const &handler) override |
Counter | make_counter (std::string const &name) override |
Create a counter with the specified name. More... | |
Event | make_event (std::string const &name) override |
Create an event with the specified name. More... | |
Gauge | make_gauge (std::string const &name) override |
Create a gauge with the specified name. More... | |
Meter | make_meter (std::string const &name) override |
Create a meter with the specified name. More... | |
T | shared_from_this (T... args) |
T | weak_from_this (T... args) |
Public Attributes | |
const std::string | m_name |
Collector::ptr | m_collector |
Private Member Functions | |
GroupImp & | operator= (GroupImp const &) |
Definition at line 31 of file Groups.cpp.
|
inherited |
beast::insight::detail::GroupImp::GroupImp | ( | std::string const & | name_, |
Collector::ptr const & | collector | ||
) |
Definition at line 37 of file Groups.cpp.
|
default |
|
overridevirtual |
Returns the name of this group, for diagnostics.
Implements beast::insight::Group.
Definition at line 45 of file Groups.cpp.
std::string beast::insight::detail::GroupImp::make_name | ( | std::string const & | name | ) |
Definition at line 51 of file Groups.cpp.
|
overridevirtual |
Implements beast::insight::Collector.
Definition at line 57 of file Groups.cpp.
|
overridevirtual |
Create a counter with the specified name.
Implements beast::insight::Collector.
Definition at line 63 of file Groups.cpp.
|
overridevirtual |
Create an event with the specified name.
Implements beast::insight::Collector.
Definition at line 69 of file Groups.cpp.
|
overridevirtual |
Create a gauge with the specified name.
Implements beast::insight::Collector.
Definition at line 75 of file Groups.cpp.
|
overridevirtual |
Create a meter with the specified name.
Implements beast::insight::Collector.
Definition at line 81 of file Groups.cpp.
|
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 66 of file Collector.h.
|
inherited |
Definition at line 83 of file Collector.h.
|
inherited |
Definition at line 99 of file Collector.h.
|
inherited |
Definition at line 115 of file Collector.h.
|
inherited |
Definition at line 131 of file Collector.h.
const std::string beast::insight::detail::GroupImp::m_name |
Definition at line 34 of file Groups.cpp.
Collector::ptr beast::insight::detail::GroupImp::m_collector |
Definition at line 35 of file Groups.cpp.