1#include <xrpl/beast/insight/Collector.h>
2#include <xrpl/beast/insight/Counter.h>
3#include <xrpl/beast/insight/CounterImpl.h>
4#include <xrpl/beast/insight/Event.h>
5#include <xrpl/beast/insight/EventImpl.h>
6#include <xrpl/beast/insight/Gauge.h>
7#include <xrpl/beast/insight/GaugeImpl.h>
8#include <xrpl/beast/insight/Hook.h>
9#include <xrpl/beast/insight/HookImpl.h>
10#include <xrpl/beast/insight/Meter.h>
11#include <xrpl/beast/insight/MeterImpl.h>
12#include <xrpl/beast/insight/NullCollector.h>
A metric for measuring an integral value.
A metric for reporting event timing.
A metric for measuring an integral value.
A reference to a handler for performing polled collection.
A metric for measuring an integral value.
A Collector which does not collect metrics.
static std::shared_ptr< Collector > New()
Event make_event(std::string const &) override
Create an event with the specified name.
Meter make_meter(std::string const &) override
Create a meter with the specified name.
Hook make_hook(HookImpl::HandlerType const &) override
Gauge make_gauge(std::string const &) override
Create a gauge with the specified name.
NullCollectorImp()=default
~NullCollectorImp()=default
Counter make_counter(std::string const &) override
Create a counter with the specified name.
NullCounterImpl()=default
NullCounterImpl & operator=(NullCounterImpl const &)
void increment(value_type) override
void notify(value_type const &) override
NullEventImpl & operator=(NullEventImpl const &)
void increment(difference_type) override
void set(value_type) override
NullGaugeImpl & operator=(NullGaugeImpl const &)
NullHookImpl & operator=(NullHookImpl const &)
void increment(value_type) override
NullMeterImpl & operator=(NullMeterImpl const &)