Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Metricset = dmetrics.NewSet()
View Source
var NodeosConnectedPeers = NodeosMetricset.NewGauge("nodeos_connected_peers_total", "Number of connected peers")
View Source
var NodeosCurrentStatus = NodeosMetricset.NewGauge("nodeos_current_status", "Current status for nodeos")
View Source
var NodeosDBSizeInfo = NodeosMetricset.NewGaugeVec("nodeos_db_size_info_bytes", []string{"metric"}, "DB size from Nodeos")
View Source
var NodeosIsBlockProducer = NodeosMetricset.NewGauge("nodeos_is_block_producer_total", "Is block producer (bp_mode and is not paused)")
View Source
var NodeosMetricset = dmetrics.NewSet()
View Source
var NodeosSuccessfulSnapshots = NodeosMetricset.NewCounter("nodeos_successful_snapshots", "This counter increments every time that a state snapshot is completed successfully")
View Source
var SuccessfulBackups = Metricset.NewCounter("successful_backups", "This counter increments every time that a backup is completed successfully")
FIXME this may be covered by another metric's registration in dmetrics. Minor Race condition alert
Functions ¶
func NewHeadBlockNumber ¶
func NewHeadBlockNumber(serviceName string) *dmetrics.HeadBlockNum
func NewHeadBlockTimeDrift ¶
func NewHeadBlockTimeDrift(serviceName string) *dmetrics.HeadTimeDrift
func SetNodeosIsBlockProducer ¶
func SetNodeosIsBlockProducer(isProducer bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.