metrics

package
v0.0.0-...-5cda5f8 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(hostname string, port uint64)

Types

type ChallengerBase

type ChallengerBase struct {
	// contains filtered or unexported fields
}

func NewChallengerBase

func NewChallengerBase() *ChallengerBase

func (*ChallengerBase) BalanceETH

func (cb *ChallengerBase) BalanceETH() prometheus.Gauge

func (*ChallengerBase) CheckBatchIndex

func (cb *ChallengerBase) CheckBatchIndex() prometheus.Gauge

func (*ChallengerBase) DataStoreId

func (cb *ChallengerBase) DataStoreId() prometheus.Gauge

func (*ChallengerBase) NonceETH

func (cb *ChallengerBase) NonceETH() prometheus.Gauge

func (*ChallengerBase) ReRollupBatchIndex

func (cb *ChallengerBase) ReRollupBatchIndex() prometheus.Gauge

type ChallengerMetrics

type ChallengerMetrics interface {
	BalanceETH() prometheus.Gauge

	NonceETH() prometheus.Gauge

	ReRollupBatchIndex() prometheus.Gauge

	CheckBatchIndex() prometheus.Gauge

	DataStoreId() prometheus.Gauge
}

Jump to

Keyboard shortcuts

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