collectors

package
v0.9.0-preview.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VegaMonitoringCollector

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

func NewVegaMonitoringCollector

func NewVegaMonitoringCollector() *VegaMonitoringCollector

func (*VegaMonitoringCollector) Collect

func (c *VegaMonitoringCollector) Collect(ch chan<- prometheus.Metric)

Collect returns the current state of all metrics of the collector.

func (*VegaMonitoringCollector) Describe

func (c *VegaMonitoringCollector) Describe(ch chan<- *prometheus.Desc)

Describe returns all descriptions of the collector.

func (*VegaMonitoringCollector) UpdateBlockExplorerStatus

func (c *VegaMonitoringCollector) UpdateBlockExplorerStatus(node string, newStatus *types.BlockExplorerStatus)

func (*VegaMonitoringCollector) UpdateCoreStatus

func (c *VegaMonitoringCollector) UpdateCoreStatus(node string, newStatus *types.CoreStatus)

func (*VegaMonitoringCollector) UpdateDataNodeStatus

func (c *VegaMonitoringCollector) UpdateDataNodeStatus(node string, newStatus *types.DataNodeStatus)

func (*VegaMonitoringCollector) UpdateEthereumNodeStatuses added in v0.7.0

func (c *VegaMonitoringCollector) UpdateEthereumNodeStatuses(nodeHealthy map[string]bool, updateTime time.Time)

func (*VegaMonitoringCollector) UpdateMonitoringDBStatuses added in v0.6.0

func (c *VegaMonitoringCollector) UpdateMonitoringDBStatuses(newStatuses read.MetaMonitoringStatuses)

Jump to

Keyboard shortcuts

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