metricsprovider

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnableOpenShiftAuth = "ENABLE_OPENSHIFT_AUTH"
	DefaultPromAddress  = "http://prometheus-k8s:9090"
)
View Source
const (
	// SignalFX Request Params
	DefaultSignalFxAddress = "https://api.signalfx.com"

	AND = "AND"
)

Variables

This section is empty.

Functions

func NewMetricsServerClient

func NewMetricsServerClient() (watcher.MetricsProviderClient, error)

func Ping added in v0.2.1

func Ping(client http.Client, url string) (int, error)

Simple ping utility to a given URL Returns -1 if unhealthy, 0 if healthy along with error if any

Types

This section is empty.

Jump to

Keyboard shortcuts

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