Documentation ¶
Index ¶
- Constants
- type HealthCheckService
- type MonitoringStatusPublisher
- type MonitoringStatusUpdateService
- func (msus *MonitoringStatusUpdateService) AssetPricesStatusPublisher() MonitoringStatusPublisher
- func (msus *MonitoringStatusUpdateService) BlockSignersStatusPublisher() MonitoringStatusPublisher
- func (msus *MonitoringStatusUpdateService) CometTxsStatusPublisher() MonitoringStatusPublisher
- func (msus *MonitoringStatusUpdateService) NetworkBalancesStatusPublisher() MonitoringStatusPublisher
- func (msus *MonitoringStatusUpdateService) PrometheusEthereumCalls() MonitoringStatusPublisher
- func (msus *MonitoringStatusUpdateService) Run(ctx context.Context, tickInterval time.Duration)
- func (msus *MonitoringStatusUpdateService) SegmentsStatusPublisher() MonitoringStatusPublisher
- type MonitoringStore
- type VegaClient
Constants ¶
View Source
const ( BlockDiffHealthyThreshold = 900 TimeDiffHealthyThreshold = 10 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheckService ¶ added in v0.10.0
type HealthCheckService struct {
// contains filtered or unexported fields
}
func NewHealthCheckService ¶ added in v0.10.0
func NewHealthCheckService(cfg config.HealthCheckConfig, readService readService, logger *logging.Logger) (*HealthCheckService, error)
type MonitoringStatusUpdateService ¶
type MonitoringStatusUpdateService struct {
// contains filtered or unexported fields
}
func NewMonitoringStatusUpdateService ¶
func NewMonitoringStatusUpdateService(store MonitoringStore, vegaClient VegaClient, logger *logging.Logger) (*MonitoringStatusUpdateService, error)
func (*MonitoringStatusUpdateService) AssetPricesStatusPublisher ¶
func (msus *MonitoringStatusUpdateService) AssetPricesStatusPublisher() MonitoringStatusPublisher
func (*MonitoringStatusUpdateService) BlockSignersStatusPublisher ¶
func (msus *MonitoringStatusUpdateService) BlockSignersStatusPublisher() MonitoringStatusPublisher
func (*MonitoringStatusUpdateService) CometTxsStatusPublisher ¶
func (msus *MonitoringStatusUpdateService) CometTxsStatusPublisher() MonitoringStatusPublisher
func (*MonitoringStatusUpdateService) NetworkBalancesStatusPublisher ¶
func (msus *MonitoringStatusUpdateService) NetworkBalancesStatusPublisher() MonitoringStatusPublisher
func (*MonitoringStatusUpdateService) PrometheusEthereumCalls ¶ added in v0.11.0
func (msus *MonitoringStatusUpdateService) PrometheusEthereumCalls() MonitoringStatusPublisher
func (*MonitoringStatusUpdateService) Run ¶
func (msus *MonitoringStatusUpdateService) Run(ctx context.Context, tickInterval time.Duration)
func (*MonitoringStatusUpdateService) SegmentsStatusPublisher ¶
func (msus *MonitoringStatusUpdateService) SegmentsStatusPublisher() MonitoringStatusPublisher
type MonitoringStore ¶
type MonitoringStore interface { NewMonitoringStatus() *sqlstore.MonitoringStatus NewBlocks() *sqlstore.Blocks }
type VegaClient ¶
type VegaClient interface {
GetStatistics() (*vegaclient.Statistics, error)
}
Click to show internal directories.
Click to hide internal directories.