3#include "data/BackendInterface.hpp"
4#include "etl/Models.hpp"
5#include "util/log/Logger.hpp"
6#include "util/prometheus/Counter.hpp"
7#include "util/prometheus/Prometheus.hpp"
9#include <xrpl/basics/strHex.h>
10#include <xrpl/protocol/AccountID.h>
11#include <xrpl/protocol/STTx.h>
12#include <xrpl/protocol/TxMeta.h>
21 std::shared_ptr<BackendInterface> backend_;
24 std::reference_wrapper<util::prometheus::CounterInt> issuanceTxIndexRowsWritten_ =
26 "etl_mpt_issuance_tx_index_rows_written_total",
28 "Total number of MPT issuance transaction index rows written by ETL"
32 explicit MPTExt(std::shared_ptr<BackendInterface> backend);
static util::prometheus::CounterInt & counterInt(std::string name, util::prometheus::Labels labels, std::optional< std::string > description=std::nullopt)
Get an integer based counter metric. It will be created if it doesn't exist.
Definition Prometheus.cpp:211
A simple thread-safe logger for the channel specified in the constructor.
Definition Logger.hpp:78
This namespace implements the data access layer and related components.
Definition AmendmentCenter.cpp:56
Represents an entire ledger diff worth of transactions and objects.
Definition Models.hpp:124
Represents a single object on the ledger.
Definition Models.hpp:86