monitor

package
v0.0.0-...-9164808 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: BlueOak-1.0.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

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

Monitor Base

func New

func New(ctx context.Context, addresses []string, aliases map[string]string, whitelist map[string][]string) *Monitor

New monitor

func (*Monitor) CheckBaking

func (m *Monitor) CheckBaking(delegate string)

CheckBaking performance for this delegate

func (*Monitor) CheckBlocks

func (m *Monitor) CheckBlocks()

CheckBlocks and alerts if any error conditions are met

func (*Monitor) CheckEndorsing

func (m *Monitor) CheckEndorsing(delegate string)

CheckEndorsing performance for this delegate

func (*Monitor) CheckNode

func (m *Monitor) CheckNode()

CheckNode health and alert if anything is wrong

Jump to

Keyboard shortcuts

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