alertmanager

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertManager

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

AlertManager represents AlertManager

func New

func New(cfg alertmanager.Alertmanager, logger *zap.Logger) (*AlertManager, error)

New creates new AlertManager

func (*AlertManager) Ignore added in v0.8.2

func (a *AlertManager) Ignore() bool

func (*AlertManager) Name

func (a *AlertManager) Name() string

Name returns name of the AlertManager

func (*AlertManager) Send

func (a *AlertManager) Send(mes *message.Message) error

Send a message to AlertManager

Jump to

Keyboard shortcuts

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