Documentation ¶
Index ¶
- type VegaMonitoringCollector
- func (c *VegaMonitoringCollector) Collect(ch chan<- prometheus.Metric)
- func (c *VegaMonitoringCollector) Describe(ch chan<- *prometheus.Desc)
- func (c *VegaMonitoringCollector) UpdateBlockExplorerStatus(node string, newStatus *types.BlockExplorerStatus)
- func (c *VegaMonitoringCollector) UpdateCoreStatus(node string, newStatus *types.CoreStatus)
- func (c *VegaMonitoringCollector) UpdateDataNodeStatus(node string, newStatus *types.DataNodeStatus)
- func (c *VegaMonitoringCollector) UpdateEthereumNodeStatuses(nodeHealthy map[string]bool, updateTime time.Time)
- func (c *VegaMonitoringCollector) UpdateMonitoringDBStatuses(newStatuses read.MetaMonitoringStatuses)
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)
Click to show internal directories.
Click to hide internal directories.