Documentation ¶
Index ¶
- Constants
- func NewMetricsServerClient() (watcher.MetricsProviderClient, error)
- func NewPromClient(opts watcher.MetricsProviderOpts) (watcher.MetricsProviderClient, error)
- func NewSignalFxClient(opts watcher.MetricsProviderOpts) (watcher.MetricsProviderClient, error)
- func Ping(client http.Client, url string) (int, error)
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 NewPromClient ¶
func NewPromClient(opts watcher.MetricsProviderOpts) (watcher.MetricsProviderClient, error)
func NewSignalFxClient ¶
func NewSignalFxClient(opts watcher.MetricsProviderOpts) (watcher.MetricsProviderClient, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.