|
xrpld
|


Public Types | |
| using | ptr = std::shared_ptr<Group> |
Public Member Functions | |
| GroupImp (std::string name, Collector::ptr collector) | |
| ~GroupImp () override=default | |
| std::string const & | name () const override |
| Returns the name of this group, for diagnostics. | |
| std::string | makeName (std::string const &name) |
| Hook | makeHook (HookImpl::HandlerType const &handler) override |
| Counter | makeCounter (std::string const &name) override |
| Create a counter with the specified name. | |
| Event | makeEvent (std::string const &name) override |
| Create an event with the specified name. | |
| Gauge | makeGauge (std::string const &name) override |
| Create a gauge with the specified name. | |
| Meter | makeMeter (std::string const &name) override |
| Create a meter with the specified name. | |
| GroupImp & | operator= (GroupImp const &)=delete |
| T | shared_from_this (T... args) |
| T | weak_from_this (T... args) |
| template<class Handler> | |
| Hook | makeHook (Handler handler) |
| Create a hook. | |
| Counter | makeCounter (std::string const &prefix, std::string const &name) |
| Event | makeEvent (std::string const &prefix, std::string const &name) |
| Gauge | makeGauge (std::string const &prefix, std::string const &name) |
| Meter | makeMeter (std::string const &prefix, std::string const &name) |
Private Attributes | |
| std::string const | name_ |
| Collector::ptr | collector_ |
Definition at line 22 of file Groups.cpp.
|
inherited |
| beast::insight::detail::GroupImp::GroupImp | ( | std::string | name, |
| Collector::ptr | collector ) |
Definition at line 28 of file Groups.cpp.
|
overridedefault |
|
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::makeName | ( | 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 45 of file Collector.h.
|
inherited |
Definition at line 62 of file Collector.h.
|
inherited |
Definition at line 78 of file Collector.h.
|
inherited |
Definition at line 94 of file Collector.h.
|
inherited |
Definition at line 110 of file Collector.h.
|
private |
Definition at line 24 of file Groups.cpp.
|
private |
Definition at line 25 of file Groups.cpp.