alerting

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertingService

type AlertingService struct {
	AlertingFile model.AlertingFile
	AlertFiles   []model.AlertFile
}

func New

func New(file string, ruleFiles []model.RuleFile, datasourceService *datasource.DatasourceService) (alertingService *AlertingService)

func (*AlertingService) GetAlertmanagerURL

func (s *AlertingService) GetAlertmanagerURL() string

func (*AlertingService) SendTestAlert added in v0.2.4

func (s *AlertingService) SendTestAlert() error

Jump to

Keyboard shortcuts

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