Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProblemDetector ¶
ProblemDetector collects statuses from all problem daemons and update the node condition and send node event.
func NewProblemDetector ¶
func NewProblemDetector(monitors []types.Monitor, exporters []types.Exporter) ProblemDetector
NewProblemDetector creates the problem detector. Currently we just directly passed in the problem daemons, but in the future we may want to let the problem daemons register themselves.