monitoring

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config conf.MonitoringEnvSpec, checkName string) (*statsd.Client, func(), error)

Types

type Monitoring

type Monitoring struct {
	DatadogClient *statsd.Client
	CheckName     string
}

func (*Monitoring) PostCheckFailure

func (m *Monitoring) PostCheckFailure(config conf.MonitoringEnvSpec, test string, reasonErr error)

func (*Monitoring) PostCheckSuccess

func (m *Monitoring) PostCheckSuccess(config conf.MonitoringEnvSpec, test string)

Jump to

Keyboard shortcuts

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