collector

package
v1.1.1-0...-57b4cc6 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthBlockNumber

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

func NewEthBlockNumber

func NewEthBlockNumber(rpc *rpc.Client) *EthBlockNumber

func (*EthBlockNumber) Collect

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

func (*EthBlockNumber) Describe

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

type EthEarliestBlockTransactions

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

func NewEthEarliestBlockTransactions

func NewEthEarliestBlockTransactions(rpc *rpc.Client) *EthEarliestBlockTransactions

func (*EthEarliestBlockTransactions) Collect

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

func (*EthEarliestBlockTransactions) Describe

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

type EthGasPrice

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

func NewEthGasPrice

func NewEthGasPrice(rpc *rpc.Client) *EthGasPrice

func (*EthGasPrice) Collect

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

func (*EthGasPrice) Describe

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

type EthHashrate

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

func NewEthHashrate

func NewEthHashrate(rpc *rpc.Client) *EthHashrate

func (*EthHashrate) Collect

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

func (*EthHashrate) Describe

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

type EthHeightDiff

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

func NewEthHeightDiff

func NewEthHeightDiff(rpc *rpc.Client) *EthHeightDiff

func (*EthHeightDiff) Collect

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

func (*EthHeightDiff) Describe

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

type EthLatestBlockTransactions

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

func NewEthLatestBlockTransactions

func NewEthLatestBlockTransactions(rpc *rpc.Client) *EthLatestBlockTransactions

func (*EthLatestBlockTransactions) Collect

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

func (*EthLatestBlockTransactions) Describe

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

type EthPendingBlockTransactions

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

func NewEthPendingBlockTransactions

func NewEthPendingBlockTransactions(rpc *rpc.Client) *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(rpc *rpc.Client) *EthSyncing

func (*EthSyncing) Collect

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

func (*EthSyncing) Describe

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

type NetPeerCount

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

func NewNetPeerCount

func NewNetPeerCount(rpc *rpc.Client) *NetPeerCount

func (*NetPeerCount) Collect

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

func (*NetPeerCount) Describe

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

type ParityNetPeers

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

func NewParityNetPeers

func NewParityNetPeers(rpc *rpc.Client) *ParityNetPeers

func (*ParityNetPeers) Collect

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

func (*ParityNetPeers) Describe

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

type RPC2

type RPC2 struct {
	Jsonrpc string `json:"jsonrpc"`
	ID      int    `json:"id"`
	Result  string `json:"result"`
}

Jump to

Keyboard shortcuts

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