monitor

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DateFormat    = "20060102"
	NodeTaskTopic = "task_%v"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(config *config.Config, nodeId string) *Service

func (*Service) CheckClusterHealth

func (s *Service) CheckClusterHealth()

func (*Service) CheckContract

func (s *Service) CheckContract()

func (*Service) CheckErrTx

func (s *Service) CheckErrTx()

func (*Service) CheckNodeTask

func (s *Service) CheckNodeTask()

func (*Service) Start

func (s *Service) Start(ctx context.Context)

Start 监控服务

func (*Service) StartKafka added in v0.5.1

func (s *Service) StartKafka()

func (*Service) Stop

func (s *Service) Stop()

func (*Service) UpdateNodeId added in v0.5.1

func (s *Service) UpdateNodeId()

Jump to

Keyboard shortcuts

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