@proto-kit/sequencer • Docs
Documentation / @proto-kit/sequencer / MempoolInstrumentation
Class: MempoolInstrumentation
Implements
Constructors
new MempoolInstrumentation()
new MempoolInstrumentation(
mempool):MempoolInstrumentation
Parameters
• mempool: PrivateMempool
Returns
Defined in
packages/sequencer/src/metrics/MempoolInstrumentation.ts:14
Properties
description
description:
string="The size of the mempool"
Implementation of
PollInstrumentation.description
Defined in
packages/sequencer/src/metrics/MempoolInstrumentation.ts:12
name
name:
string="mempool_size"
Implementation of
Defined in
packages/sequencer/src/metrics/MempoolInstrumentation.ts:10
Methods
poll()
poll():
Promise<number>
Returns
Promise<number>