Documentation ¶
Index ¶
- type NoopTxMetrics
- func (*NoopTxMetrics) RPCError()
- func (*NoopTxMetrics) RecordGasBumpCount(int)
- func (*NoopTxMetrics) RecordNonce(uint64)
- func (*NoopTxMetrics) RecordPendingTx(int64)
- func (*NoopTxMetrics) RecordTxConfirmationLatency(int64)
- func (*NoopTxMetrics) TxConfirmed(*types.Receipt)
- func (*NoopTxMetrics) TxPublished(string)
- type TxMetricer
- type TxMetrics
- func (t *TxMetrics) RPCError()
- func (t *TxMetrics) RecordGasBumpCount(times int)
- func (t *TxMetrics) RecordNonce(nonce uint64)
- func (t *TxMetrics) RecordPendingTx(pending int64)
- func (t *TxMetrics) RecordTxConfirmationLatency(latency int64)
- func (t *TxMetrics) TxConfirmed(receipt *types.Receipt)
- func (t *TxMetrics) TxPublished(errString string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoopTxMetrics ¶
type NoopTxMetrics struct{}
func (*NoopTxMetrics) RPCError ¶
func (*NoopTxMetrics) RPCError()
func (*NoopTxMetrics) RecordGasBumpCount ¶
func (*NoopTxMetrics) RecordGasBumpCount(int)
func (*NoopTxMetrics) RecordNonce ¶
func (*NoopTxMetrics) RecordNonce(uint64)
func (*NoopTxMetrics) RecordPendingTx ¶
func (*NoopTxMetrics) RecordPendingTx(int64)
func (*NoopTxMetrics) RecordTxConfirmationLatency ¶
func (*NoopTxMetrics) RecordTxConfirmationLatency(int64)
func (*NoopTxMetrics) TxConfirmed ¶
func (*NoopTxMetrics) TxConfirmed(*types.Receipt)
func (*NoopTxMetrics) TxPublished ¶
func (*NoopTxMetrics) TxPublished(string)
type TxMetricer ¶
type TxMetrics ¶
type TxMetrics struct { TxL1GasFee prometheus.Gauge TxGasBump prometheus.Gauge LatencyConfirmedTx prometheus.Gauge // contains filtered or unexported fields }
func (*TxMetrics) RecordGasBumpCount ¶
func (*TxMetrics) RecordNonce ¶
func (*TxMetrics) RecordPendingTx ¶
func (*TxMetrics) RecordTxConfirmationLatency ¶
func (*TxMetrics) TxConfirmed ¶
TxConfirmed records lots of information about the confirmed transaction
func (*TxMetrics) TxPublished ¶
Click to show internal directories.
Click to hide internal directories.