|
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. | |
| 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. | |
| Event | make_event (std::string const &name) override |
| Create an event with the specified name. | |
| Gauge | make_gauge (std::string const &name) override |
| Create a gauge with the specified name. | |
| Meter | make_meter (std::string const &name) override |
| Create a meter with the specified name. | |
| T | shared_from_this (T... args) |
| T | weak_from_this (T... args) |
| template<class Handler > | |
| Hook | make_hook (Handler handler) |
| Create a hook. | |
| Counter | make_counter (std::string const &prefix, std::string const &name) |
| Event | make_event (std::string const &prefix, std::string const &name) |
| Gauge | make_gauge (std::string const &prefix, std::string const &name) |
| Meter | make_meter (std::string const &prefix, std::string const &name) |
Public Attributes | |
| std::string const | m_name |
| Collector::ptr | m_collector |
Private Member Functions | |
| GroupImp & | operator= (GroupImp const &) |
Definition at line 22 of file Groups.cpp.
|
inherited |
| beast::insight::detail::GroupImp::GroupImp | ( | std::string const & | name_, |
| Collector::ptr const & | collector | ||
| ) |
Definition at line 28 of file Groups.cpp.
|
default |
|
overridevirtual |
Returns the name of this group, for diagnostics.
Implements beast::insight::Group.
Definition at line 36 of file Groups.cpp.
| std::string beast::insight::detail::GroupImp::make_name | ( | std::string const & | name | ) |
Definition at line 42 of file Groups.cpp.
|
overridevirtual |
Implements beast::insight::Collector.
Definition at line 48 of file Groups.cpp.
|
overridevirtual |
Create a counter with the specified name.
Implements beast::insight::Collector.
Definition at line 54 of file Groups.cpp.
|
overridevirtual |
Create an event with the specified name.
Implements beast::insight::Collector.
Definition at line 60 of file Groups.cpp.
|
overridevirtual |
Create a gauge with the specified name.
Implements beast::insight::Collector.
Definition at line 66 of file Groups.cpp.
|
overridevirtual |
Create a meter with the specified name.
Implements beast::insight::Collector.
Definition at line 72 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 47 of file Collector.h.
|
inherited |
Definition at line 64 of file Collector.h.
|
inherited |
Definition at line 80 of file Collector.h.
|
inherited |
Definition at line 96 of file Collector.h.
|
inherited |
Definition at line 112 of file Collector.h.
| std::string const beast::insight::detail::GroupImp::m_name |
Definition at line 25 of file Groups.cpp.
| Collector::ptr beast::insight::detail::GroupImp::m_collector |
Definition at line 26 of file Groups.cpp.