alertmanager

package
v0.0.0-...-dfaef6c Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert struct {
	Name        string
	Labels      map[string]string
	Annotations map[string]string
}

type Alertmanager

type Alertmanager struct {
	Endpoints []string
	Expiry    time.Duration
}

func (Alertmanager) Alert

func (a Alertmanager) Alert(alert Alert) error

func (Alertmanager) Resolve

func (a Alertmanager) Resolve(alert Alert) error

Jump to

Keyboard shortcuts

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