metrics

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// MetricsBlockHeightGauge records the hight of bc
	MetricsBlockHeightGauge = metrics.NewGauge("box.block.height")
	// MetricsBlockTailHashGauge records the tail hash of bc
	MetricsBlockTailHashGauge = metrics.NewGauge("box.block.tailhash")
	// MetricsTailBlockTxsSizeGauge records the size of txs
	MetricsTailBlockTxsSizeGauge = metrics.NewGauge("box.block.tail.txs.size")
	// MetricsBlockOrphanPoolSizeGauge records the size of orphan pool
	MetricsBlockOrphanPoolSizeGauge = metrics.NewGauge("box.block.orphanpool.size")
	// MetricsBlockRevertMeter records the bc revert times
	MetricsBlockRevertMeter = metrics.NewMeter("box.block.revert")

	// MetricsCachedBlockMsgGauge records the size of new block cache
	MetricsCachedBlockMsgGauge = metrics.NewGauge("box.block.new.cached")
	// MetricsLruCacheBlockGauge records the size of lru cache
	MetricsLruCacheBlockGauge = metrics.NewGauge("box.block.lru.cached")

	// MetricsTxPoolSizeGauge records the size of new block cache
	MetricsTxPoolSizeGauge = metrics.NewGauge("box.txpool.size")
	// MetricsOrphanTxPoolSizeGauge records the size of new block cache
	MetricsOrphanTxPoolSizeGauge = metrics.NewGauge("box.txpool.orphan_size")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL