metricsprovider

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnableOpenShiftAuth = "ENABLE_OPENSHIFT_AUTH"
	K8sPodCAFilePath    = "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
	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