monitor

package
v0.0.0-...-9d58fce Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service is the service that provides the monitor functionality.

func NewService

func NewService(db *db.Client, logstorageService *logstorage.Service, eventhook *eventhook.Service, dispatchService *dispatch.Service) *Service

func (*Service) RecycleHeartbeatTimeoutJobs

func (s *Service) RecycleHeartbeatTimeoutJobs(ctx context.Context, timeout time.Duration) error

RecycleHeartbeatTimeoutJobs recycle heartbeat timeout jobs. If the job execution is not updated for a long time, it will be recycled (update status to failed).

Jump to

Keyboard shortcuts

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