handlers

package
v0.0.0-...-44ba42e Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitMetrics

func InitMetrics(client kubernetes.Interface, scrapeInterval time.Duration) http.Handler

InitMetrics takes an Kubernetes <client> for a Garden cluster and initiate the collection of Gardener and Shoot related metrics. It returns a <http.Handler> to register on a webserver, which provides the collected metrics in the Prometheus format.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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