mode

package
v0.0.0-...-6b57581 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2017 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//DefaultLabel is used if the given label is wrong
	DefaultLabel = "instance"
)

Variables

This section is empty.

Functions

func Ping

func Ping(address string) (err error)

Ping will fetch build information from the prometheus server

func Query

func Query(address, query, warning, critical, alias, search, replace string) (err error)

Query allows the user to test data in the prometheus server

func TargetsHealth

func TargetsHealth(address, label, warning, critical string) (err error)

TargetsHealth tests the health of the targets

Types

This section is empty.

Jump to

Keyboard shortcuts

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