checker

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CARBONSERVER  = 1
	GRAPHITEWEB09 = 2
	GRAPHITEWEB10 = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	config.CheckerConfig
	// contains filtered or unexported fields
}

func NewChecker

func NewChecker(cfg config.CheckerConfig, name string, exit <-chan struct{}, logger zap.Logger) *Checker

func (*Checker) Run

func (checker *Checker) Run()

type Metrics

type Metrics struct {
	MetricDelayNS *expvar.Int
	CheckRequests *expvar.Int
	CheckTimeouts *expvar.Int
	SendTimeouts  *expvar.Int
	SendErrors    *expvar.Int
}

Jump to

Keyboard shortcuts

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