16 ADD_GAUGE_METRIC(setBlockNumber, "block_number", "Number of the most recent block")
17 ADD_GAUGE_METRIC(setBlockTransactionsCount, "block_transactions_count", "Number of transactions in block")
18 ADD_GAUGE_METRIC(setBlockTimestamp, "block_timestamp", "Number of transactions in block")
Definition: metrics_group.hpp:36
Definition: pbft_metrics.hpp:6
static const std::string group_name
Definition: pbft_metrics.hpp:8
PbftMetrics(std::shared_ptr< prometheus::Registry > registry)
Definition: pbft_metrics.hpp:9
#define ADD_GAUGE_METRIC_WITH_UPDATER(method, name, description)
combines ADD_UPDATER_METHOD and ADD_GAUGE_METRIC
Definition: metrics_group.hpp:32
#define ADD_GAUGE_METRIC(method, name, description)
add method that is setting specific gauge metric.
Definition: metrics_group.hpp:13
std::hash for asio::adress
Definition: FixedHash.h:483