metrics

package
v0.0.0-...-7de8d3f Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NonContiguousInsert        = "non contiguous insert"
	NonContiguousReceiptInsert = "non contiguous receipt insert"
	BadBlock                   = "bad block"
	InsertNewBlock             = "insert new block"
	InsertForkedBlock          = "insert forked block"
	SidechainDetected          = "sidechain detected"
	SidechainInject            = "sidechain inject"
	MissingParent              = "missing parent"
	ChainSplitDetected         = "chain split detected"
	ChainSplitDepth            = "chain split depth"
	GasLimit                   = "gas limit"
	TxsPerBlock                = "txs per block"
	SyncDiff                   = "sync dif"
)
View Source
const (
	PendingTxs = "Pending txs"
	QueuedTxs  = "Queued txs"
	TxsArrival = "Txs arrival"
)
View Source
const (
	TxPoolErrors           = "Tx pool errors"
	TransactionUnderpriced = "transaction underpriced"
	InsufficientFunds      = "insufficient funds for gas * price + value"
	NonceTooLow            = "nonce too low"
	ExceedsGasLimit        = "exceeds block gas limit"
	KnownTransaction       = "known transaction"
)
View Source
const (
	DEVp2pPeers             = "DEVp2p peers"
	DEVp2pDisconnectedPeers = "Disconnected peers"
	DialTask                = "Dial task"
	DiscoveryTask           = "Discovery task"
)
View Source
const (
	EthPeers   = "Eth peers"
	MinedBlock = "Mined block"
)

Variables

View Source
var (
	DiscoveryTable = "DiscoveryTable"
	OnlineNodes    = "Online nodes"
)
View Source
var (
	PING      = "PING"
	PONG      = "PONG"
	FINDNODE  = "FINDNODE"
	NEIGHBORS = "NEIGHBORS"

	DEVP2P_HANDSHAKE = "DEVP2P_HANDSHAKE"
	DEVP2P_PING      = "DEVP2P_PING"
	DEVP2P_PONG      = "DEVP2P_PONG"

	STATUS_MSG            = "StatusMsg"
	NEW_BLOCK_HASHES_MSG  = "NewBlockHashesMsg"
	TX_MSG                = "TxMsg"
	GET_BLOCK_HEADERS_MSG = "GetBlockHeadersMsg"
	BLOCK_HEADERS_MSG     = "BlockHeadersMsg"
	NEW_BLOCK_MSG         = "NewBlockMsg"
)
View Source
var AllTxPoolMetrics = append(TxPoolMetrics[:], TxPoolErrorMetrics[:]...)
View Source
var DiscoveryMetrics = [...]string{
	PING,
	PONG,
	FINDNODE,
	NEIGHBORS,
	DiscoveryTable,
	OnlineNodes,
}
View Source
var TxPoolMetrics = [...]string{
	PendingTxs,
	QueuedTxs,
	TxsArrival,
}

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