watchdog

package
v5.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleAlerting

func HandleAlerting(endpoint *core.Endpoint, result *core.Result, alertingConfig *alerting.Config, debug bool)

HandleAlerting takes care of alerts to resolve and alerts to trigger based on result success or failure

func Monitor

func Monitor(cfg *config.Config)

Monitor loops over each endpoint and starts a goroutine to monitor each endpoint separately

func Shutdown

func Shutdown(cfg *config.Config)

Shutdown stops monitoring all endpoints

func UpdateEndpointStatuses

func UpdateEndpointStatuses(endpoint *core.Endpoint, result *core.Result)

UpdateEndpointStatuses updates the slice of endpoint statuses

Types

This section is empty.

Jump to

Keyboard shortcuts

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