metrics

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorStateMetrics

func ErrorStateMetrics(state health.State) string

ErrorStateMetrics is a Prometheus metric meant to show Kuberhealthy has error

func GenerateMetrics

func GenerateMetrics(state health.State) string

GenerateMetrics takes the state and returns it in the Prometheus format

func WriteMetricError

func WriteMetricError(w http.ResponseWriter, state health.State) error

WriteMetricError handles errors in delivering metrics

Types

This section is empty.

Jump to

Keyboard shortcuts

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