1#include <xrpl/beast/insight/NullCollector.h>
3#include <xrpl/beast/insight/Collector.h>
4#include <xrpl/beast/insight/Counter.h>
5#include <xrpl/beast/insight/CounterImpl.h>
6#include <xrpl/beast/insight/Event.h>
7#include <xrpl/beast/insight/EventImpl.h>
8#include <xrpl/beast/insight/Gauge.h>
9#include <xrpl/beast/insight/GaugeImpl.h>
10#include <xrpl/beast/insight/Hook.h>
11#include <xrpl/beast/insight/HookImpl.h>
12#include <xrpl/beast/insight/Meter.h>
13#include <xrpl/beast/insight/MeterImpl.h>
A metric for measuring an integral value.
std::chrono::milliseconds value_type
A metric for reporting event timing.
std::int64_t difference_type
A metric for measuring an integral value.
std::function< void(void)> HandlerType
A reference to a handler for performing polled collection.
A metric for measuring an integral value.
static std::shared_ptr< Collector > make()
Counter makeCounter(std::string const &) override
Create a counter with the specified name.
Gauge makeGauge(std::string const &) override
Create a gauge with the specified name.
Hook makeHook(HookImpl::HandlerType const &) override
Meter makeMeter(std::string const &) override
Create a meter with the specified name.
Event makeEvent(std::string const &) override
Create an event with the specified name.
NullCollectorImp()=default
~NullCollectorImp() override=default
NullCounterImpl & operator=(NullCounterImpl const &)=delete
NullCounterImpl()=default
void increment(value_type) override
NullEventImpl & operator=(NullEventImpl const &)=delete
void notify(value_type const &) override
void increment(difference_type) override
NullGaugeImpl & operator=(NullGaugeImpl const &)=delete
void set(value_type) override
NullHookImpl & operator=(NullHookImpl const &)=delete
NullMeterImpl & operator=(NullMeterImpl const &)=delete
void increment(value_type) override