watchdog

package
v3.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 12 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()

Shutdown stops monitoring all endpoints

func UpdateEndpointStatuses added in v3.3.0

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