Documentation ¶
Index ¶
- type AccountBalanceMetric
- type ContractCallResponse
- 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) UpdateEthereumAccountBalance(accountAddress string, chainId, networkId string, val float64)
- func (c *VegaMonitoringCollector) UpdateEthereumCallResponse(id string, contractAddress string, methodName string, val float64)
- func (c *VegaMonitoringCollector) UpdateEthereumContractEvents(events []types.EthereumContractsEvents)
- func (c *VegaMonitoringCollector) UpdateEthereumNodeHeights(heights []types.EthereumNodeHeight)
- 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 AccountBalanceMetric ¶ added in v0.11.0
type ContractCallResponse ¶ added in v0.11.0
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) UpdateEthereumAccountBalance ¶ added in v0.11.0
func (c *VegaMonitoringCollector) UpdateEthereumAccountBalance(accountAddress string, chainId, networkId string, val float64)
func (*VegaMonitoringCollector) UpdateEthereumCallResponse ¶ added in v0.11.0
func (c *VegaMonitoringCollector) UpdateEthereumCallResponse( id string, contractAddress string, methodName string, val float64, )
func (*VegaMonitoringCollector) UpdateEthereumContractEvents ¶ added in v0.12.0
func (c *VegaMonitoringCollector) UpdateEthereumContractEvents(events []types.EthereumContractsEvents)
func (*VegaMonitoringCollector) UpdateEthereumNodeHeights ¶ added in v0.12.0
func (c *VegaMonitoringCollector) UpdateEthereumNodeHeights(heights []types.EthereumNodeHeight)
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.