alert

package
v0.0.0-...-1569ab3 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuroraReloadHandler

func AuroraReloadHandler(alert alertcore.Alerter)

LoadAlertIntervalAndSilenceByMysql load alert interval time and silence by mysql

func EmailHandler

func EmailHandler(message *alertcore.AlertMessage, ctx *alertcore.Context)

func LoadAlertHandler

func LoadAlertHandler(alert alertcore.Alerter)

LoadAlertHandler load user-defined alert handler

func NewAlerter

func NewAlerter(config *config.Config) alertcore.Alerter

func PrintfHandler

func PrintfHandler(message *alertcore.AlertMessage, ctx *alertcore.Context)

func RecordsHandler

func RecordsHandler(message *alertcore.AlertMessage, ctx *alertcore.Context)

func TimeStringToInt64

func TimeStringToInt64(timeStr string) int64

TimeStringToInt64

func WebHookHandler

func WebHookHandler(message *alertcore.AlertMessage, ctx *alertcore.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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