collectors

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const SiriusGenesisAccount = "0x61f3b85929c20980176d4a09771284625685c40e"
View Source
const SiriusTestAccount = "0xd119b8b038d3a67d34ca1d46e1898881626a082b"

Variables

View Source
var (
	GenesisEthAccounts = []string{SiriusGenesisAccount, SiriusTestAccount}
)

Functions

This section is empty.

Types

type Collectors

type Collectors struct {
	EthPendingBlockTransactions *EthPendingBlockTransactions
	EthSyncing                  *EthSyncing
	EthGenesisBalance           *EthGenesisBalance
}

func NewCollectors

func NewCollectors(registry *prometheus.Registry, ethDialUrl string) Collectors

type EthGenesisBalance

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

func NewEthGenesisBalance

func NewEthGenesisBalance(ethDialUrl string, namespace string) *EthGenesisBalance

func (*EthGenesisBalance) Collect

func (collector *EthGenesisBalance) Collect(ch chan<- prometheus.Metric)

func (*EthGenesisBalance) Describe

func (collector *EthGenesisBalance) Describe(ch chan<- *prometheus.Desc)

type EthPendingBlockTransactions

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

func NewEthPendingBlockTransactions

func NewEthPendingBlockTransactions(ethDialUrl string, namespace string) *EthPendingBlockTransactions

func (*EthPendingBlockTransactions) Collect

func (collector *EthPendingBlockTransactions) Collect(ch chan<- prometheus.Metric)

func (*EthPendingBlockTransactions) Describe

func (collector *EthPendingBlockTransactions) Describe(ch chan<- *prometheus.Desc)

type EthSyncing

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

func NewEthSyncing

func NewEthSyncing(ethDialUrl string, namespace string) *EthSyncing

func (*EthSyncing) Collect

func (collector *EthSyncing) Collect(ch chan<- prometheus.Metric)

func (*EthSyncing) Describe

func (collector *EthSyncing) Describe(ch chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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