Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BlockBeginProcess = MetricSet.NewCounter("substreams_block_process_start_counter", "Counter for total block processes started, used for rate")
View Source
var BlockEndProcess = MetricSet.NewCounter("substreams_block_process_end_counter", "Counter for total block processes ended, used for rate")
View Source
var MetricSet = dmetrics.NewSet()
View Source
var SquashersEnded = MetricSet.NewCounter("substreams_total_squash_processes_closed", "Counter for Total squash processes closed, used for active processes")
View Source
var SquashersStarted = MetricSet.NewCounter("substreams_total_squash_processes_launched", "Counter for Total squash processes launched, used for rate")
View Source
var SquashesLaunched = MetricSet.NewCounter("substreams_total_squashes_launched", "Counter for Total squashes launched, used for rate")
Functions ¶
This section is empty.
Types ¶
type Stats ¶
type Stats interface { StartParallelProcessing() EndParallelProcessing() RecordBlock(ref bstream.BlockRef) RecordFlush(elapsed time.Duration) RecordStoreSquasherProgress(module string, blockNum uint64) RecordOutputCacheHit() RecordOutputCacheMiss() RecordBytesWritten(n uint64) RecordBytesRead(n uint64) Start(each time.Duration) Shutdown() }
func NewNoopStats ¶
func NewNoopStats() Stats
func NewReqStats ¶
Click to show internal directories.
Click to hide internal directories.